/* ===================================
   CSS VARIABLES & DESIGN SYSTEM
   =================================== */
:root {
    /* Colors */
    --color-terracotta: #9C4221;
    --color-adobe-orange: #BD5A3F;
    --color-sage-green: #8A9B69;
    --color-olive-green: #6B7D47;
    --color-sunset-yellow: #F2C94C;
    --color-sky-blue: #56CCF2;
    --color-cream: #FDF6E3;
    --color-earth-brown: #5D4037;
    --color-warm-white: #FFFEF9;
    --color-deep-brown: #3E2723;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 72px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-earth-brown);
    background-color: var(--color-warm-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-deep-brown);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

/* ===================================
   LAYOUT UTILITIES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-terracotta);
}

.section-title-center {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-terracotta);
    text-align: center;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-terracotta);
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-adobe-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
}

.btn-secondary:hover {
    background-color: var(--color-terracotta);
    color: white;
}

.btn-accent {
    background-color: var(--color-sunset-yellow);
    color: var(--color-deep-brown);
}

.btn-accent:hover {
    background-color: #e0b83c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--color-warm-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgba(255, 254, 249, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.logo h2 {
    color: var(--color-terracotta);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-menu a {
    color: var(--color-earth-brown);
    font-weight: 600;
    padding: 8px 0;
    position: relative;
}

.nav-menu a:not(.btn-primary-nav):hover {
    color: var(--color-terracotta);
}

.nav-menu a:not(.btn-primary-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-terracotta);
    transition: var(--transition-normal);
}

.nav-menu a:not(.btn-primary-nav):hover::after {
    width: 100%;
}

.btn-primary-nav {
    background-color: var(--color-terracotta);
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
}

.btn-primary-nav:hover {
    background-color: var(--color-adobe-orange);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-terracotta);
    margin: 3px 0;
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-warm-white);
        flex-direction: column;
        padding: var(--spacing-lg) 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-sm);
    }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('https://images.unsplash.com/photo-1565299585323-38d6b0865b47?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(60, 35, 35, 0.7), rgba(156, 66, 33, 0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-cream);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ===================================
   WELCOME BANNER
   =================================== */
.welcome-banner {
    background-color: var(--color-sage-green);
    padding: var(--spacing-xl) 0;
    color: white;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: var(--transition-normal);
}

.service-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    color: white;
    margin-bottom: var(--spacing-xs);
}

.service-card p {
    color: var(--color-cream);
}

/* ===================================
   FEATURED MENU
   =================================== */
.featured-menu {
    padding: var(--spacing-xl) 0;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.menu-card {
    background-color: var(--color-cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.menu-card-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.menu-card-content {
    padding: var(--spacing-md);
}

.menu-card h3 {
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-sm);
}

.menu-card p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-earth-brown);
}

.menu-card .price {
    display: block;
    font-weight: 600;
    color: var(--color-olive-green);
    font-size: 1.1rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-content h2 {
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-md);
}

.about-content p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        height: 300px;
    }
}

/* ===================================
   LOCATIONS SECTION
   =================================== */
.locations-section {
    padding: var(--spacing-xl) 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.location-card {
    background-color: var(--color-cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.location-card h3 {
    background-color: var(--color-terracotta);
    color: white;
    padding: var(--spacing-md);
    text-align: center;
}

.location-map iframe {
    width: 100%;
    display: block;
}

.location-info {
    padding: var(--spacing-md);
}

.location-info p {
    margin-bottom: var(--spacing-sm);
}

.location-info a[href^="tel"] {
    color: var(--color-sky-blue);
    font-weight: 600;
}

.location-info a[href^="tel"]:hover {
    text-decoration: underline;
}

.location-info .btn {
    margin-top: var(--spacing-sm);
    width: 100%;
}

/* ===================================
   CATERING BANNER
   =================================== */
.catering-banner {
    position: relative;
    padding: var(--spacing-xl) 0;
    background-image: url('https://images.unsplash.com/photo-1555244162-803834f70033?w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.catering-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(156, 66, 33, 0.8), rgba(107, 125, 71, 0.8));
}

.catering-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.catering-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.catering-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.catering-capacity {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-cream);
}

@media (max-width: 768px) {
    .catering-banner {
        background-attachment: scroll;
    }
    
    .catering-content h2 {
        font-size: 2rem;
    }
}

/* ===================================
   GALLERY SECTION
   =================================== */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   ORDER ONLINE SECTION
   =================================== */
.order-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-cream);
}

.order-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.platform-card {
    background-color: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.platform-card:hover {
    border-color: var(--color-terracotta);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.platform-card h3 {
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-sm);
}

.platform-card p {
    color: var(--color-earth-brown);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xl);
}

.contact-info h3 {
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-md);
}

.contact-info p {
    margin-bottom: var(--spacing-md);
}

.contact-info a {
    color: var(--color-sky-blue);
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-links a {
    padding: 10px 20px;
    background-color: var(--color-sage-green);
    color: white;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--color-olive-green);
}

.contact-form {
    background-color: var(--color-cream);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--color-earth-brown);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
}

.form-group textarea {
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background-color: var(--color-deep-brown);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-col h3,
.footer-col h4 {
    color: var(--color-sunset-yellow);
    margin-bottom: var(--spacing-sm);
}

.footer-col p {
    color: var(--color-cream);
}

.footer-col ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: var(--color-cream);
}

.footer-col a:hover {
    color: var(--color-sunset-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-cream);
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    section {
        padding: var(--spacing-lg) 0 !important;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}