:root {
    /* Brand Colors */
    --mint: #C9E6DD;
    --gold: #C7A85A;
    --black: #111111;
    --cream: #F9F8F6;
    --coffee-blue: #6EB5C5;
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: #ffffff;
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, .loader-logo, .nav-brand {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(3rem, 5vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
h3 { font-size: 1.5rem; }
p { font-size: 1.05rem; font-weight: 300; opacity: 0.85; }

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--cream);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), visibility 1s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

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

.loader-logo {
    font-size: 4.5rem;
    color: var(--black);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(10px);
    animation: revealLogo 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.loader-line-container {
    width: 120px;
    height: 1px;
    background-color: rgba(199, 168, 90, 0.2);
    margin: 20px auto 0;
    position: relative;
    overflow: hidden;
}

.loader-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--gold);
    animation: drawLine 2s cubic-bezier(0.7, 0, 0.3, 1) forwards 0.5s;
}

@keyframes revealLogo {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes drawLine {
    to { width: 100%; }
}

/* Layout Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 8rem 0;
}

.text-center { text-align: center; }
.cream-bg { background-color: var(--cream); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--black);
    color: var(--cream);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(199, 168, 90, 0.3);
}

.btn-secondary {
    background-color: var(--mint);
    color: var(--black);
    border: 1px solid rgba(199, 168, 90, 0.3);
}

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--gold);
    transform: translateY(-4px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.nav-brand {
    font-size: 2.2rem;
    color: var(--cream);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 5px;
    transition: color var(--transition-fast);
}

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

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

/* Scrolled Navbar Colors */
.navbar.scrolled .nav-brand, .navbar.scrolled .nav-links a {
    color: var(--black);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* For parallax */
    background-image: url('assets/hero_cafe.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: translateY(0);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(17,17,17,0.3), rgba(17,17,17,0.6));
    z-index: -1;
}

.hero-content {
    color: var(--cream);
    max-width: 900px;
    padding: 0 5%;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.hero-title {
    margin-bottom: 3.5rem;
    text-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--cream);
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(249, 248, 246, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--cream);
    animation: scrollLine 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollLine {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Grid Layouts */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.grid-2-col.reverse {
    direction: rtl;
}

.grid-2-col.reverse > * {
    direction: ltr;
}

/* About & Experience Sections */
.section-title {
    margin-bottom: 2rem;
    color: var(--black);
}

.section-desc {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.about-text .section-desc, .experience-text .section-desc {
    margin-left: 0;
}

.image-mask {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.image-mask img {
    width: 100%;
    height: 120%; /* For parallax */
    object-fit: cover;
    transform: translateY(-10%);
    transition: transform 0.1s linear;
}

.experience-list {
    list-style: none;
    margin-top: 3rem;
}

.experience-list li {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.experience-list h3 {
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}

/* Menu / Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.card-image {
    height: 380px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.card-content {
    padding: 3rem 2rem;
    text-align: center;
}

.card-content h3 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
    filter: brightness(0.85);
}

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

/* Visit / Info */
.visit {
    background-color: var(--black);
    color: var(--cream);
    position: relative;
}

.visit .section-title {
    color: var(--cream);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin: 4rem 0;
    padding: 4rem;
    background: rgba(255,255,255,0.03);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
}

.info-block h4 {
    color: var(--gold);
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.visit-actions {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.visit-actions .btn-secondary {
    background: transparent;
    color: var(--cream);
    border-color: rgba(255,255,255,0.2);
}

.visit-actions .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(199, 168, 90, 0.05);
}

/* Footer */
.footer {
    background-color: #080808;
    color: var(--cream);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand h2 {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(249, 248, 246, 0.6);
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.footer-links ul, .footer-social ul {
    list-style: none;
}

.footer-links a, .footer-social a {
    color: rgba(249, 248, 246, 0.6);
    text-decoration: none;
    line-height: 2.8;
    transition: var(--transition-fast);
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .info-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .visit-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-links a:hover, .footer-social a:hover {
        padding-left: 0;
    }
}

/* Logo Image Overrides */
.nav-logo { height: 50px; width: auto; object-fit: contain; display: block; }
.loader-logo img { height: 140px; width: auto; object-fit: contain; }
