/* 
=========================================
AUREA RESTAURANT - Premium Dark Theme
========================================= 
*/

:root {
    /* Colors */
    --clr-bg-darkest: #0a0a0a;
    --clr-bg-darker: #111111;
    --clr-bg-card: #1a1a1a;
    
    --clr-accent: #d4af37; /* Gold */
    --clr-accent-hover: #f3c746;
    --clr-accent-dark: #aa8c2c;
    
    --clr-text-light: #f5f5f5;
    --clr-text-muted: #a0a0a0;
    
    /* Typography */
    --ff-heading: 'Playfair Display', serif;
    --ff-body: 'Raleway', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Utility */
    --transition: all 0.3s ease-in-out;
    --border-radius: 4px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(26, 26, 26, 0.7);
}

/* =========================================
   RESET & GLOBAL
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--clr-text-light);
    background-color: var(--clr-bg-darkest);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-heading);
    color: var(--clr-text-light);
    font-weight: 400;
    line-height: 1.2;
}

p {
    margin-bottom: var(--space-md);
    color: var(--clr-text-muted);
}

a {
    text-decoration: none;
    color: var(--clr-text-light);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-padding {
    padding: var(--space-xxl) 0;
}

.bg-darker {
    background-color: var(--clr-bg-darker);
}

.bg-darkest {
    background-color: var(--clr-bg-darkest);
}

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

.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: 3rem; }

/* =========================================
   TYPOGRAPHY
========================================= */
.section-subtitle {
    color: var(--clr-accent);
    font-family: var(--ff-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-md);
}

/* Add a gold separator line under section titles */
.section-header .section-title::after,
.about-text .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: var(--clr-accent);
}

.about-text .section-title::after {
    left: 0;
    transform: none;
}

/* =========================================
   BUTTONS
========================================= */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--ff-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-bg-darkest);
}

.btn-primary:hover {
    background-color: var(--clr-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-accent);
    border-color: var(--clr-accent);
}

.btn-outline:hover {
    background-color: var(--clr-accent);
    color: var(--clr-bg-darkest);
}

.btn-full {
    width: 100%;
}

/* =========================================
   ANIMATIONS (Scroll Reveal)
========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* =========================================
   1. NAVIGATION
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--ff-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--clr-accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--clr-accent);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--clr-text-light);
    transition: var(--transition);
}

.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }


/* =========================================
   2. HERO SECTION
========================================= */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-light);
    margin-bottom: var(--space-xl);
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* =========================================
   3. ABOUT SECTION
========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.chef-name {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.chef-title {
    color: var(--clr-accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.image-wrapper::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;
    border: 1px solid var(--clr-accent);
    z-index: -1;
    border-radius: var(--border-radius);
}

.image-wrapper img {
    border-radius: var(--border-radius);
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--clr-bg-darkest);
    border: 1px solid var(--clr-accent);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--border-radius);
}

.experience-badge .years {
    display: block;
    font-family: var(--ff-heading);
    font-size: 2.5rem;
    color: var(--clr-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.experience-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   4. MENU SECTION
========================================= */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: var(--space-xl);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-light);
    font-family: var(--ff-heading);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--clr-accent);
    transition: width 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: var(--clr-accent);
}

.tab-btn.active::after {
    width: 100%;
}

.menu-category {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.menu-category.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

/* Card Styling - Glassmorphism touch */
.menu-item-card {
    background-color: var(--clr-bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: rgba(212, 175, 55, 0.3);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.menu-item-card:hover .card-img {
    transform: scale(1.05); /* Slight zoom on hover inside container */
}

.card-content {
    padding: 1.5rem;
    position: relative;
    background-color: var(--clr-bg-card); /* Cover overflowing scaled image */
    z-index: 1;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 0.5rem;
}

.card-header h3 {
    font-size: 1.3rem;
}

.price {
    color: var(--clr-accent);
    font-family: var(--ff-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.card-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* =========================================
   5. GALLERY SECTION
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--clr-text-light);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Masonry Layout Adjustments */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--clr-accent);
}

/* =========================================
   6. RESERVATION SECTION
========================================= */
.reservation-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item i {
    color: var(--clr-accent);
    font-size: 1.5rem;
    margin-top: 5px;
}

.detail-item h5 {
    font-family: var(--ff-body);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

/* Form Styles */
.booking-form {
    background-color: var(--clr-bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text-light);
    font-family: var(--ff-body);
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--clr-accent);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Remove default date/time icons in some browsers for custom styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select option {
    background-color: var(--clr-bg-card);
    color: var(--clr-text-light);
}

.form-message {
    margin-top: 1rem;
    padding: 10px;
    border-radius: var(--border-radius);
    text-align: center;
}

.form-message.success {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.hidden {
    display: none;
}

/* =========================================
   7. TESTIMONIALS
========================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--clr-bg-card);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    position: relative;
}

.testimonial-card::before {
    content: '\201C'; /* Quote mark */
    font-family: var(--ff-heading);
    font-size: 6rem;
    color: rgba(212, 175, 55, 0.1);
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}

.stars {
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.reviewer h4 {
    font-size: 1.1rem;
}

.reviewer span {
    font-size: 0.85rem;
    color: var(--clr-accent);
}

/* =========================================
   8. FOOTER
========================================= */
.footer {
    position: relative;
}

.map-container {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
}

.footer-col h3 {
    font-family: var(--ff-body);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-col .logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-right: 10px;
}

.social-links a:hover {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
    color: var(--clr-bg-darkest);
    transform: translateY(-3px);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
}

.footer-contact i {
    color: var(--clr-accent);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 0.3rem;
    color: var(--clr-text-muted);
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
}

.newsletter-form button {
    background-color: var(--clr-accent);
    color: var(--clr-bg-darkest);
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--clr-accent-hover);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* =========================================
   RESPONSIVE QUERIES
========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .image-wrapper {
        margin: 0 auto;
        max-width: 600px;
    }
    
    .reservation-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .nav-btn {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.tall { grid-row: span 1; }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .booking-form {
        padding: 2rem 1.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.wide { grid-column: span 1; }
    .gallery-item:nth-child(1) { grid-column: span 1; }
}
