/* 
 * 1. Root Variables
 */
 :root {
    /* Color Palette */
    --bg-primary: #0b0b0c;
    --bg-secondary: #141414;
    --surface-dark: #1c1c1c;
    --accent-gold: #d4a24c;
    --accent-gold-hover: #e5b35c;
    --warm-orange: #ff7a18;
    --text-cream: #f9f5f0;
    --text-muted: #cfc7bb;
    
    /* Borders & Glows */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --glow-accent: rgba(255, 122, 24, 0.25);
    --glow-gold: rgba(212, 162, 76, 0.2);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Utilities */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
}

/* 
 * 2. Reset & Base Styles 
 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-cream);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* 
 * 3. Layout System & Utilities
 */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

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

.pt-header {
    padding-top: 120px;
}

.pt-0 { padding-top: 0 !important; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.muted { color: var(--text-muted); }
.w-full { width: 100%; }

.max-w-md {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-sm { gap: var(--space-sm); }
.gap-lg { gap: var(--space-lg); }

.bg-secondary { background-color: var(--bg-secondary); }
.rounded-sm { border-radius: var(--radius-sm); overflow: hidden; }
.rounded-lg { border-radius: var(--radius-lg); overflow: hidden; }

/* 
 * 4. Header & Navigation
 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.site-header.scrolled {
    padding: 1rem 0;
    background: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-cream);
    text-transform: uppercase;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-toggle .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-cream);
    position: absolute;
    transition: var(--transition-smooth);
}

.mobile-menu-toggle .bar:nth-child(1) { top: 0; }
.mobile-menu-toggle .bar:nth-child(2) { bottom: 0; }

.mobile-menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-cream);
}

.mobile-nav a:hover {
    color: var(--accent-gold);
}

/* 
 * 5. Buttons 
 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: var(--font-body);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px var(--glow-gold);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-cream);
    border: 1px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-arrow .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.link-arrow:hover .arrow {
    transform: translateX(5px);
}

/* 
 * 6. Hero Section 
 */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    transform: scale(1.05); /* For GSAP zoom */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 50%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text-wrap {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.page-hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* 
 * 7. Typography & Headers
 */
.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.heading-md {
    font-size: 2rem;
    font-family: var(--font-heading);
}

/* 
 * 8. Cards (Menu Items)
 */
.product-card {
    background: var(--surface-dark);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    background: #111;
}

.img-wrapper::before {
    content: '';
    display: block;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

/* Light Sweep Hover Effect */
.light-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: none;
    z-index: 2;
}

.product-card:hover .light-sweep {
    animation: sweep 1s ease-in-out forwards;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 200%; }
}

.card-content {
    padding: 1.5rem;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.product-price {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 
 * 9. Menu Page Filters 
 */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

/* 
 * 10. Experience / About
 */
.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
}

.stats-grid {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.stars {
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 
 * 11. Product Detail Page
 */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.detail-hero-img::before {
    padding-top: 100%; /* Square */
}

.thumbnail-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail-row .img-wrapper {
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnail-row .img-wrapper.active {
    border-color: var(--accent-gold);
}

.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumb a:hover {
    color: var(--accent-gold);
}

.breadcrumb .sep {
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: var(--text-cream);
}

.product-price-large {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--accent-gold);
}

.product-long-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.ingredients-list .list-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.5rem;
}

.ingredients-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

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

.product-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    height: 50px;
    padding: 0 10px;
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-cream);
    font-size: 1.2rem;
    width: 30px;
    cursor: pointer;
}

.qty-input {
    background: transparent;
    border: none;
    color: var(--text-cream);
    text-align: center;
    width: 40px;
    font-size: 1rem;
    font-weight: 600;
}

.qty-input:focus {
    outline: none;
}

.add-to-cart-btn {
    flex-grow: 1;
    height: 50px;
}

/* 
 * 12. Experiences / Gallery (projects.html)
 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 1.5rem;
}

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

.gallery-item .img-wrapper {
    height: 100%;
}

.gallery-item .img-wrapper::before {
    display: none;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.item-wide {
    grid-column: span 2;
    grid-row: span 1;
}

.item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-caption {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-cream);
}

/* 
 * 13. Forms (Contact)
 */
.premium-form {
    background: var(--surface-dark);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    color: var(--text-cream);
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(212, 162, 76, 0.1);
}

.info-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-gold);
    margin-bottom: 0.25rem;
}

.info-text {
    color: var(--text-muted);
    line-height: 1.6;
}

.map-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #222;
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.map-wrapper:hover .map-img {
    opacity: 1;
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-light);
    pointer-events: none;
}

/* 
 * 14. Legal Pages
 */
.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: var(--accent-gold);
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* 
 * 15. Footer 
 */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-xl);
}

.footer-top {
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-cream);
    display: block;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-heading {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-cream);
    font-size: 0.8rem;
}

.social-links a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* 
 * 16. GSAP Helpers
 */
.gsap-reveal {
    opacity: 0;
    visibility: hidden;
}

/* 
 * 17. Responsive Breakpoints 
 */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .item-large, .item-wide, .item-tall { grid-column: span 1; grid-row: span 1; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .desktop-nav, .header-actions .btn { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    
    .hero-title { font-size: 3rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .about-feature-text.pl-xl { padding-left: 0; margin-bottom: 2rem; }
    
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    .grid-3, .grid-4, .gallery-grid { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-ctas .btn { width: 100%; }
    
    .stats-grid { border: none; padding: 1rem 0; }
    .stat-item { border-bottom: 1px solid var(--border-subtle); padding: 2rem 0; }
    .stat-item:last-child { border-bottom: none; }
}