:root {
    --bg-dark: #120e0c;
    --bg-darker: #0c0a08;
    --bg-card: #1f1815;
    --text-main: #fcf8f2;
    --text-muted: #d0c8be;
    --accent-gold: #d4af37;
    --accent-hover: #e6c86e;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Great Vibes', cursive;
    --transition-slow: 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-fast: 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent-gold);
}

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

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: background-color var(--transition-slow), backdrop-filter var(--transition-slow);
}

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

.navbar.relative-nav {
    position: relative;
    background-color: var(--bg-darker);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.text-logo {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.text-logo:hover {
    transform: scale(1.02);
    color: #ffffff;
}

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

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

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

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

.nav-links a:hover {
    color: #ffffff;
}

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

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18,14,12,0.3) 0%, rgba(18,14,12,0.4) 100%);
}

.hero-top-content {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
    padding: 0 2rem;
}

.hero-bottom-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 10;
    padding: 0 2rem;
}

.hero-title {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: normal;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    color: #ffffff;
}

.text-highlight {
    color: #ffffff;
    transition: color var(--transition-normal);
}

.navbar.scrolled ~ .hero .text-highlight,
.hero .text-highlight.visible {
    /* Always white on hero for visibility */
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-main);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all var(--transition-fast);
    background-color: transparent;
}

.btn-primary {
    color: var(--accent-gold);
    border: 1px solid rgba(212, 175, 55, 0.8);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.btn-primary:hover {
    background-color: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4), inset 0 0 15px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
    color: var(--text-main);
    border: 1px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: fit-content;
    margin-top: 1.5rem;
}

.btn-secondary:hover {
    border-color: rgba(212, 175, 55, 0.8);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    animation: scrollWheel 2s infinite cubic-bezier(0.15, 0.41, 0.69, 0.94);
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Offerings Section */
.offerings-section {
    background-color: var(--bg-dark);
}

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

.offering-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    background-clip: padding-box;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 0;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.offering-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(212, 175, 55, 0.5);
    border-color: var(--accent-gold);
}

.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
    transition: all var(--transition-slow);
}

.offering-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.05) 100%);
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.offering-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(0,0,0,1);
}

.offering-card p {
    color: var(--text-muted);
    text-shadow: 0 1px 5px rgba(0,0,0,1);
}

/* Nav Logo Styles */
.nav-logo-box {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: transform var(--transition-fast);
    backface-visibility: hidden;
    transform: translateZ(0);
}

.nav-logo-box:hover {
    transform: scale(1.02) translateZ(0);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* White border initially */
    color: #ffffff; /* White icon initially */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-normal);
}

/* Scrolled or Relative (Legal Pages) state */
.navbar.scrolled .logo-icon,
.navbar.relative-nav .logo-icon {
    border: 1px solid rgba(212, 175, 55, 0.6);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    background-color: rgba(212, 175, 55, 0.03);
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 0.35rem; /* Restores the space for the flex container */
}

.logo-text span {
    transition: color var(--transition-normal);
}

.text-white {
    color: #ffffff;
}

.text-accent {
    color: #ffffff;
}

/* Switch to Gold only when background is dark (scrolled or legal) */
.navbar.scrolled .text-accent,
.navbar.relative-nav .text-accent,
.footer-brand h3 .text-accent {
    color: var(--accent-gold);
}

.navbar.scrolled .text-logo:hover,
.navbar.relative-nav .text-logo:hover,
.navbar.scrolled .nav-links a:hover,
.navbar.relative-nav .nav-links a:hover {
    color: var(--accent-gold);
}

.navbar.scrolled .nav-links a:hover::after,
.navbar.relative-nav .nav-links a:hover::after {
    background-color: var(--accent-gold);
}

.navbar.scrolled .text-white,
.navbar.relative-nav .text-white {
    color: #ffffff;
}

/* Info Section */
.info-section {
    background-color: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

/* Animated Lines Behind Info Box */
.animated-lines {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 350px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}

.lines {
    position: relative;
    width: 100%;
    height: 100%;
}

.line-w1 { animation: pan1 15s linear infinite; }
.line-w2 { animation: pan2 20s linear infinite; }
.line-w3 { animation: pan3 25s linear infinite; }
.line-w4 { animation: pan4 18s linear infinite reverse; }

@keyframes pan1 { 0% { transform: translateX(0); } 100% { transform: translateX(480px); } }
@keyframes pan2 { 0% { transform: translateX(0); } 100% { transform: translateX(640px); } }
@keyframes pan3 { 0% { transform: translateX(0); } 100% { transform: translateX(800px); } }
@keyframes pan4 { 0% { transform: translateX(0); } 100% { transform: translateX(560px); } }

/* Animated Waves Behind Location Box */
.animated-waves {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 0;
    pointer-events: none;
}

.waves {
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax > use { animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite; }
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

.info-container {
    display: flex;
    justify-content: center;
}

.info-content {
    background-color: rgba(18, 14, 12, 0.9);
    background-image: radial-gradient(circle at top left, rgba(212,175,55,0.05), transparent 60%);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    max-width: 600px;
    width: 100%;
    position: relative; /* Anchor for decorative beans */
}

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

.hours-list {
    margin-top: 2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.1rem;
}

.hours-row.has-note {
    flex-direction: column;
    align-items: flex-start;
}

.hours-row-main {
    display: flex;
    justify-content: space-between;
    width: 100%;
}



.time-note {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    font-weight: 300;
    text-align: right;
    width: 100%;
    color: var(--text-muted);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row.highlight .days {
    color: var(--text-main);
}

.hours-row.highlight .time {
    color: var(--accent-gold);
    font-weight: 500;
}

.hours-row.closed {
    color: var(--text-muted);
    opacity: 0.7;
}

.logo-accent {
    margin-top: 3rem;
    text-align: center;
}

.secondary-logo {
    max-width: 250px;
    opacity: 0.8;
}

/* Location Section */
.location-section {
    background-color: var(--bg-dark);
    padding-bottom: 240px;
}

.location-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 5rem 6rem;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: center;
    text-align: left;
}

.location-icon-large {
    color: rgba(255, 255, 255, 0.08); 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color var(--transition-normal), filter var(--transition-normal);
}

.location-icon-link {
    text-decoration: none;
    display: block;
    transition: transform var(--transition-normal);
    cursor: pointer;
}

.location-icon-link:hover {
    transform: scale(1.05);
}

.location-icon-link:hover .location-icon-large {
    color: rgba(212, 175, 55, 0.2); 
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

.location-icon-large svg {
    width: 250px;
    height: 250px;
}

.location-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.address-box {
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 2rem 0;
}

.address-box strong {
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 400;
    font-family: var(--font-heading);
}

/* Legal Page specific */
.legal-page {
    background-color: var(--bg-darker);
}

.legal-content {
    max-width: 800px;
    margin: 4rem auto;
    background-color: var(--bg-dark);
    padding: 4rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.legal-block {
    margin-bottom: 3rem;
}

.legal-block h2 {
    text-align: left;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.legal-block p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
.footer-decoration {
    opacity: 0.8;
    display: flex;
    justify-content: center;
    flex: 1;
}

.site-footer {
    background-color: #080605;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.02);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-accent);
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* Decorative Coffee Beans */
.decorative-bean {
    position: absolute;
    width: 35px;
    height: 50px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
    color: #888;
}

.bean-info-1 {
    bottom: 0px;
    right: -95px; /* 60px gap + bean width */
    transform: rotate(25deg);
}

.bean-location-1 {
    bottom: 30px;
    right: 50px;
    transform: rotate(-15deg);
}

.bean-location-2 {
    bottom: 60px;
    right: 20px;
    transform: rotate(40deg);
}

@media (max-width: 768px) {
    .decorative-bean {
        width: 25px;
        height: 35px;
    }
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.9rem;
    position: relative;
    padding-top: 2.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(212, 175, 55, 0.4) 50%, transparent 100%);
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-icon {
        border: 1px solid rgba(212, 175, 55, 0.6);
        color: var(--accent-gold);
        box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
        background-color: rgba(212, 175, 55, 0.03);
    }
    
    .text-white,
    .hero-title .text-highlight {
        color: #ffffff !important;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .video-background {
        position: relative;
        height: auto;
        order: 2;
        margin: 1rem 0;
    }

    #hero-video {
        position: relative;
        height: auto;
        object-fit: contain;
        background-color: transparent;
    }

    .video-overlay {
        display: none;
    }

    .hero-top-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        order: 1;
        margin-bottom: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-bottom-content {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        order: 3;
        margin-top: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(18, 14, 12, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right var(--transition-fast);
        z-index: 1000;
        gap: 2.5rem;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .nav-links a:hover {
        color: var(--accent-gold) !important;
    }
    
    .nav-links a:hover::after {
        background-color: var(--accent-gold) !important;
    }

    .section { padding: 4rem 0; }
    .info-content, .location-card, .legal-content { padding: 2rem; }
    .location-card { 
        display: flex; 
        flex-direction: column; 
        text-align: center; 
        gap: 3rem; 
        padding: 3rem 2rem;
    }
    .location-icon-large svg {
        width: 150px;
        height: 150px;
    }
    .location-details { align-items: center; }
    .section-title.text-left { text-align: center; }
    .footer-container { flex-direction: column; text-align: center; }
}
