/*
Theme Name: Olive Garden Near Me
Theme URI: https://olivegardennearme.us
Author: Sarah Mitchell
Description: A complete Olive Garden guide theme with menu reviews, prices, locations, and more. Custom-built with Italian restaurant styling.
Version: 2.0
License: GNU General Public License v2
Text Domain: olivegarden-nearme
*/

:root {
    --og-green: #5a6f28;
    --og-green-dark: #3d4a1c;
    --og-orange: #d4772c;
    --og-orange-light: #e8943f;
    --og-cream: #faf8f5;
    --og-brown: #4a3728;
    --og-text: #2d2d2d;
    --og-muted: #6b6b6b;
    --og-border: #e5e0d8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--og-text);
    background: var(--og-cream);
    line-height: 1.7;
}

a { color: var(--og-orange); text-decoration: none; font-weight: bold; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
    color: var(--og-brown);
}

img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--og-green-dark);
    border-bottom: 4px solid var(--og-orange);
    padding: 0;
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}
.site-title {
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
}
.site-title a { color: white; }
.site-title a:hover { text-decoration: none; }

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}
.main-nav a {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}
.main-nav a:hover { color: var(--og-orange); text-decoration: none; }

/* Hero */
.hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.6);
}
.hero-content {
    position: relative; z-index: 2;
    padding: 40px 20px;
    max-width: 800px;
}
.hero h1 { color: white; font-size: 2.5rem; margin-bottom: 15px; }
.hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 25px; }
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.3s;
    font-family: Arial, sans-serif;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn-orange { background: var(--og-orange); color: white; }
.btn-green { background: var(--og-green); color: white; }

/* Quick Facts */
.quick-facts {
    background: var(--og-green-dark);
    color: white;
    padding: 20px 0;
}
.quick-facts .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fact-item { display: flex; align-items: center; gap: 10px; }
.fact-item strong { font-size: 0.9rem; display: block; }
.fact-item small { color: rgba(255,255,255,0.7); font-size: 0.75rem; }

/* Section */
.section { padding: 60px 0; }
.section-alt { background: rgba(90,111,40,0.05); }
.section-dark { background: var(--og-green-dark); color: white; }
.section-dark h2 { color: white; }
.section h2 { font-size: 1.8rem; margin-bottom: 10px; }
.section .subtitle { color: var(--og-muted); margin-bottom: 30px; }

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.card {
    background: white;
    border: 1px solid var(--og-border);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.card a { color: inherit; font-weight: normal; }
.card a:hover { text-decoration: none; }
.card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-price {
    position: absolute; top: 12px; right: 12px;
    background: var(--og-orange);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    font-family: Arial, sans-serif;
}
.card-body { padding: 20px; }
.card-category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--og-orange);
    font-weight: bold;
    font-family: Arial, sans-serif;
}
.card-body h3 { font-size: 1.1rem; margin: 8px 0; }
.card-body p { color: var(--og-muted); font-size: 0.9rem; line-height: 1.6; }
.card-link {
    display: block;
    margin-top: 12px;
    color: var(--og-orange);
    font-weight: bold;
    font-size: 0.85rem;
}

/* Guide Cards */
.guide-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 260px;
}
.guide-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.guide-card:hover img { transform: scale(1.05); }
.guide-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}
.guide-card-text {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px;
    color: white;
}
.guide-card-text h3 { color: white; font-size: 1.2rem; margin-bottom: 4px; }
.guide-card-text p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* CTA */
.cta-section { text-align: center; padding: 60px 20px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto 25px; }

/* Prose content */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { margin-top: 35px; margin-bottom: 15px; font-size: 1.5rem; }
.prose h3 { margin-top: 25px; margin-bottom: 10px; font-size: 1.2rem; }
.prose p { margin-bottom: 15px; color: var(--og-text); }
.prose ul, .prose ol { margin: 15px 0; padding-left: 25px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--og-orange); }
.prose img { border-radius: 10px; margin: 20px 0; }

/* Single post */
.post-header { margin-bottom: 30px; }
.post-header h1 { font-size: 2rem; margin-bottom: 10px; }
.post-meta { color: var(--og-muted); font-size: 0.85rem; margin-bottom: 5px; font-family: Arial, sans-serif; }
.post-featured-img { width: 100%; height: 350px; object-fit: cover; border-radius: 10px; margin-bottom: 30px; }

/* Reviews */
.reviews-bar {
    background: white;
    border: 1px solid var(--og-border);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}
.review-widget { display: flex; align-items: center; gap: 10px; }
.review-stars { color: #f5a623; font-size: 1.2rem; }
.review-text { font-size: 0.85rem; color: var(--og-muted); }
.review-text strong { color: var(--og-text); }

/* States Grid */
.states-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.state-link {
    display: flex; align-items: center; gap: 8px;
    padding: 12px; background: white;
    border: 1px solid var(--og-border);
    border-radius: 8px;
    font-size: 0.85rem; font-weight: bold;
    transition: border-color 0.3s;
}
.state-link:hover { border-color: var(--og-orange); text-decoration: none; }

/* Footer */
.site-footer {
    background: var(--og-green-dark);
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
    font-size: 0.85rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-weight: normal; }
.footer-col a:hover { color: var(--og-orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 20px; text-align: center; }
.footer-disclaimer { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin-top: 10px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Blog list */
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter-btn {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    font-family: Arial, sans-serif;
    background: #f0ebe4;
    color: var(--og-brown);
}
.filter-btn.active, .filter-btn:hover { background: var(--og-orange); color: white; }

/* Responsive */
@media (max-width: 768px) {
    .cards-grid { grid-template-columns: 1fr; }
    .guides-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-facts .container { grid-template-columns: repeat(2, 1fr); }
    .states-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 1.8rem; }
    .main-nav ul { gap: 12px; }
    .main-nav a { font-size: 0.75rem; }
    .reviews-bar { flex-direction: column; gap: 20px; }
}
@media (max-width: 480px) {
    .guides-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; }
}
