/* ==========================================================================
   Ashana Thai Restaurant - Unified Stylesheet
   ========================================================================== */

:root {
    --primary-gold: #C5A468;
    --light-gold: #D4B675;
    --dark-gold: #B8956A;
    --bg-dark: #1a1a1a;
    --bg-light: #2a2a2a;
    --text-light: #f5f5f5;
    --text-gold: #C5A468;
    --accent-red: #8B0000;
    --dark-green: #2d4a2d;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
}

.elegant-font {
    font-family: 'Playfair Display', serif;
}

/* Links */
a {
    color: var(--text-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--light-gold);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-gold);
}

.nav-logo img {
    height: 50px;
}

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

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-gold);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.mobile-menu-header img {
    height: 40px;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-gold);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--light-gold);
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-links li {
    margin-bottom: 2rem;
    width: 100%;
    display: block;
}

.mobile-menu-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 1rem;
    width: 100%;
    text-align: center;
}

.mobile-menu-links a:hover {
    color: var(--text-gold);
}

.mobile-menu-cta {
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
    color: var(--bg-dark) !important;
    border-radius: 30px;
    margin-top: 1rem;
}

.mobile-menu-cta:hover {
    color: var(--bg-dark) !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
    color: var(--bg-dark);
    border: none;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(197, 164, 104, 0.3);
}

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

.btn-secondary:hover {
    background: linear-gradient(45deg, var(--primary-gold), var(--light-gold));
    color: var(--bg-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), 
                url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

/* Fallback if hero image doesn't load */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #2d4a2d 50%, var(--bg-dark) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.logo {
    margin-bottom: 2rem;
    padding-top: 7rem;
    animation: goldGlow 3s ease-in-out infinite alternate;
}

.logo h1 {
    font-size: 4rem;
    color: var(--text-gold);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.logo .subtitle {
    font-size: 1.5rem;
    color: var(--light-gold);
    letter-spacing: 2px;
    font-weight: 300;
}

.hero-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   Main Content & Sections
   ========================================================================== */

.main-content {
    margin-top: 100px;
    padding: 4rem 0;
    min-height: calc(100vh - 200px);
}

.section {
    padding: 80px 0;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-title {
    font-size: 3rem;
    color: var(--text-gold);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

/* ==========================================================================
   Content Sections (for legal pages)
   ========================================================================== */

.content-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 10px 30px rgba(197, 164, 104, 0.1);
}

.content-section h2 {
    color: var(--text-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-section h3 {
    color: var(--text-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 500;
}

.content-section h4 {
    color: var(--light-gold);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    font-weight: 500;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.highlight-box {
    background: rgba(197, 164, 104, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-gold);
}

.highlight-box strong {
    color: var(--text-gold);
}

.privacy-list {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-list li {
    margin-bottom: 0.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gold);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--light-gold);
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about {
    background: linear-gradient(rgba(42,42,42,0.95), rgba(42,42,42,0.95)), 
                url('images/spices-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

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

.decorative-frame {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: url('images/about-image.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    border: 4px solid var(--primary-gold);
}

.decorative-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid rgba(197, 164, 104, 0.4);
    border-radius: 15px;
}

.decorative-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* ==========================================================================
   Menu Section
   ========================================================================== */

.menu-highlights {
    padding: 100px 0;
}

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

.menu-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(197, 164, 104, 0.1);
}

.menu-card-icon {
    font-size: 3rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
}

.menu-card h3 {
    font-size: 1.5rem;
    color: var(--text-gold);
    margin-bottom: 1rem;
}

.menu-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact {
    background: linear-gradient(rgba(42,42,42,0.95), rgba(42,42,42,0.95)), 
                url('images/spices-bg.png');
    background-size: cover;
    background-position: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--text-gold);
    width: 30px;
}

.contact-item div h4 {
    color: var(--text-gold);
    margin-bottom: 0.5rem;
}

.contact-item div p {
    color: var(--text-light);
}

.contact-link {
    color: var(--text-gold) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--light-gold) !important;
}

.opening-hours {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-gold);
    box-shadow: 0 5px 15px rgba(197, 164, 104, 0.1);
}

.opening-hours h4 {
    color: var(--text-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(197, 164, 104, 0.2);
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--bg-dark);
    border: 2px solid var(--primary-gold);
    box-shadow: 0 5px 15px rgba(197, 164, 104, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) brightness(0.9);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--bg-dark);
    padding: 3rem 0 1rem;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--text-gold);
    margin-bottom: 1rem;
}

.footer-section a {
    color: var(--text-gold);
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--light-gold);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(197, 164, 104, 0.2);
    color: rgba(245, 245, 245, 0.7);
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

@keyframes goldGlow {
    from {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    to {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5), 0 0 20px rgba(197, 164, 104, 0.4);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Typography */
    .logo h1 {
        font-size: 2.5rem;
    }
    
    .logo .subtitle {
        font-size: 1rem;
    }
    
    .section-title,
    .page-title {
        font-size: 2rem;
    }
    
    /* Layout */
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    /* Content sections */
    .content-section {
        padding: 2rem;
    }
    
    /* Container adjustments */
    .container {
        max-width: 900px;
    }

    /* Ensure mobile menu links are vertical */
    .mobile-menu-links {
        display: block !important;
    }
    
    .mobile-menu-links li {
        display: block !important;
        width: 100% !important;
    }
}