:root {
    --color-coffee-dark: #1A1A1A;
    /* Almost black for high contrast */
    --color-coffee-medium: #4A3B32;
    --color-cream: #F4F1EA;
    /* Newsprint-like off-white */
    --color-white: #FFFFFF;
    --color-accent: #C19A6B;
    /* Muted Gold */

    --font-display: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --s-1: 0.5rem;
    --s-2: 1rem;
    --s-3: 2rem;
    --s-4: 4rem;
    --s-5: 8rem;
    /* Editorial whitespace magnitude */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-cream);
    color: var(--color-coffee-dark);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY SYSTEM --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--color-coffee-dark);
    margin: 0;
}

/* Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Initially transparent or minimal */
    background: transparent;
    padding: var(--s-3) 0;
    z-index: 1000;
    transition: padding 0.3s, background 0.3s;
}

/* Added JS will toggle this class */
#main-header.scrolled {
    background: rgba(244, 241, 234, 0.95);
    /* matching cream */
    padding: var(--s-1) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.logo-container {
    text-align: center;
}

.header-logo {
    height: 85px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    transition: height 0.3s ease;
}

#main-header.scrolled .header-logo {
    height: 55px;
}

/* Hero Typography */
#hero {
    position: relative;
    height: 90vh;
    /* Not full 100vh to hint at content below */
    display: flex;
    justify-content: flex-start;
    /* Editorial alignment */
    align-items: flex-end;
    /* Bottom alignment */
    text-align: left;
    color: white;
    /* Will need overlay for contrast */
    overflow: hidden;
    padding-bottom: var(--s-5);
    margin-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.9) contrast(1.1);
}

@keyframes slowMovement {
    from {
        transform: scale(1.05) translateY(0);
    }

    to {
        transform: scale(1.15) translateY(-2%);
    }
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from bottom for text readability */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--s-3);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    /* Decorative editorial line */
    padding-left: var(--s-4);
}

.hero-tagline {
    font-size: clamp(3.5rem, 8vw, 6rem);
    /* Massive responsive text */
    line-height: 0.95;
    letter-spacing: -0.03em;
    font-style: italic;
    margin-bottom: var(--s-3);
    text-transform: capitalize;
    color: var(--color-white);
    text-shadow: none;
    /* Clean editorial look */
}

/* Hide the icon for cleaner look, or style it minimal */
.hero-icon {
    display: none;
}

.btn-scroll {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    /* Underline style link */
    padding-bottom: 5px;
    transition: all 0.3s;
}

.btn-scroll:hover {
    padding-bottom: 10px;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

/* Menu Layout */
#menu {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--s-5) var(--s-2);
}

.menu-category {
    background: transparent;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Minimal dividers */
}

/* Accordion Header */
.category-header {
    padding: var(--s-3) 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.category-header:hover {
    opacity: 0.6;
    background: transparent;
}

.category-header h3 {
    font-family: var(--font-display);
    color: var(--color-coffee-dark);
    font-size: 2.5rem;
    font-variant: small-caps;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    /* Stylistic choice */
}

.category-header h3 i {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-right: var(--s-2);
}

.toggle-icon {
    font-family: var(--font-body);
    font-weight: 100;
    font-size: 3rem;
    line-height: 0.5;
    color: var(--color-coffee-dark);
}

/* Menu Items */
.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.menu-category.active .category-content {
    max-height: 2000px;
    padding-bottom: var(--s-4);
}

.subcategory {
    padding: var(--s-3) 0;
}

.subcategory h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--color-coffee-medium);
    margin-bottom: var(--s-3);
    border-bottom: 2px solid var(--color-coffee-dark);
    /* Thick accent line */
    padding-bottom: var(--s-1);
    display: block;
    width: 100%;
}

.methods-desc {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: var(--s-3);
}

.menu-list {
    list-style: none;
    display: grid;
    gap: 0;
    /* Removing gap, using border instead */
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--s-2) 0;
    border-bottom: 1px dotted #ccc;
    /* Classic menu leader feel */
}

.menu-item:last-child {
    border-bottom: none;
}

.item-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-coffee-dark);
}

.item-desc {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #666;
    margin-top: 5px;
}

.item-price {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-coffee-dark);
    margin-left: 1rem;
    border: none;
    padding: 0;
    min-width: auto;
    text-align: right;
    position: relative;
    letter-spacing: 0.02em;
}

/* Promotions - Magazine Ad Style */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--s-3);
    padding: var(--s-2) 0;
}

.promo-card {
    background: white;
    border: 1px solid var(--color-coffee-dark);
    padding: var(--s-3);
    text-align: left;
    position: relative;
    transition: transform 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0px var(--color-accent);
}

.promo-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: var(--s-1);
    display: inline-block;
    border-bottom: 3px solid var(--color-accent);
    line-height: 1;
    color: var(--color-coffee-dark);
}

.promo-price {
    display: block;
    font-family: var(--font-body);
    font-size: 1.5rem;
    color: var(--color-coffee-medium);
    margin-top: var(--s-2);
}

/* Quote Section - Editorial */
#quote-section {
    position: relative;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin: var(--s-5) 0;
    color: var(--color-white);
}

.quote-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    z-index: -2;
}

.quote-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Darken for readability */
    z-index: -1;
}

.quote-content {
    max-width: 800px;
    padding: 0 var(--s-3);
    z-index: 1;
}

.quote-content blockquote {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--s-3);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.quote-content cite {
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-style: normal;
    opacity: 0.9;
    display: block;
    margin-top: var(--s-2);
}

/* Footer - Minimal */
footer {
    background: var(--color-cream);
    color: var(--color-coffee-dark);
    border-top: 1px solid var(--color-coffee-dark);
    padding: var(--s-4) 0;
    text-align: center;
}

.footer-content {
    opacity: 1;
    color: var(--color-coffee-dark);
}

.social-links {
    margin-bottom: 2rem;
}

.social-links a {
    color: var(--color-coffee-dark);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    /* Adjusted margin since icons now have width */
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    /* Fixed width container */
    height: 40px;
    /* Fixed height container */
    border-radius: 50%;
    /* Optional: circular touch target */
    text-decoration: none;
    border: 1px solid transparent;
}

.social-links a i {
    /* Ensure icon itself is centered */
    display: block;
    /* Reset text shadow */
    text-shadow: none;
    transition: all 0.3s ease;
}

/* Match Instagram's line aesthetics for solid icons */
.social-links .fa-location-dot,
.social-links .fa-facebook-f,
.social-links .fa-tiktok {
    color: transparent;
    -webkit-text-stroke: 2px var(--color-coffee-dark);
    /* Make the solid icons look like outlines */
}

/* Base color for standard line icons (Instagram) */
.social-links .fa-brands {
    color: var(--color-coffee-dark);
}

/* Specific hover effect: Premium Fill */
.social-links a:hover {
    background-color: var(--color-coffee-dark);
    color: var(--color-accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-links a:hover i,
.social-links a:hover .fa-brands,
.social-links a:hover .fa-location-dot {
    color: var(--color-accent) !important;
    -webkit-text-stroke: 0;
}

/* Floating WhatsApp */
.float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
    text-decoration: none;
}

.float-wa:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --s-5: 4rem;
        /* Reduce whitespace on mobile */
        --s-4: 2rem;
    }

    .retail-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .retail-image {
        height: 50vh;
    }

    .retail-info {
        padding: var(--s-3);
    }

    .hero-content {
        border-left: none;
        padding-left: var(--s-2);
        /* Center text on mobile if preferred, or keep left aligned */
        text-align: left;
    }

    .hero-tagline {
        font-size: 3rem;
    }

    .item-price {
        min-width: auto;
        padding: 0;
        font-size: 1.1rem;
    }
}

/* Powered By */
.powered-by {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
    margin-top: 2rem;
    font-family: var(--font-body);
}

.luminari-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

.luminari-link:hover {
    opacity: 0.7;
}

/* Optical adjustment removed to restore original size */
.insta-adj {
    display: inline-block;
    vertical-align: middle;
}

/* Audio Button */
.audio-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
    z-index: 20;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}