/* Self-hosted Cormorant Garamond */
@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/cormorant-garamond-italic-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Cormorant Garamond';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(fonts/cormorant-garamond-normal-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Self-hosted Inter */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(fonts/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Fallback font metric overrides (CLS prevention) */
@font-face {
    font-family: 'Cormorant Garamond Fallback';
    src: local('Georgia');
    size-adjust: 85.4%;
    ascent-override: 108%;
    descent-override: 28%;
    line-gap-override: 0%;
}

@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('Helvetica Neue');
    size-adjust: 107%;
    ascent-override: 90%;
    descent-override: 23%;
    line-gap-override: 0%;
}

:root {
    --color-cream: #e5dcce;
    --color-beige: #d9cebf;
    --color-charcoal: #1e1e1e;
    --color-black: #141414;
    --color-gold: #b48b53;
    --color-gold-light: #c9a26e;
    --color-text: #1e1e1e;
    --color-text-muted: #5a5a5a;
    --font-serif: 'Cormorant Garamond', 'Cormorant Garamond Fallback', Georgia, serif;
    --font-sans: 'Inter', 'Inter Fallback', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

.navbar.scrolled {
    background-color: rgba(229, 220, 206, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
}

.nav-logo img {
    height: 24px;
    width: auto;
    transition: filter 0.3s ease;
    /* Logo SVG is charcoal; filter to cream for dark hero background */
    filter: brightness(0) invert(0.92) sepia(0.12) saturate(1.5) hue-rotate(330deg);
}

.navbar.scrolled .nav-logo img {
    /* Scrolled: light background, show logo as charcoal (native fill) */
    filter: none;
}

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

.nav-links a {
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

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

.navbar.scrolled .nav-links a {
    color: var(--color-charcoal);
}

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

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-cream);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.scrolled .menu-toggle span {
    background-color: var(--color-charcoal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-cream);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

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

.mobile-menu a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-charcoal);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--color-black);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 4rem 6rem 4rem;
    color: var(--color-cream);
}

.hero-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-cream);
    text-wrap: balance;
}

.hero-title em {
    font-style: italic;
    color: var(--color-gold);
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(229, 220, 206, 0.7);
    max-width: 420px;
    margin-bottom: 2rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--color-cream);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-cta:hover {
    color: var(--color-gold);
}

.hero-cta span {
    width: 50px;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.hero-cta:hover span {
    width: 70px;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center, rgba(180, 139, 83, 0.15) 0%, transparent 70%);
    padding: 2rem;
}

.hero-image img {
    max-height: 80vh;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    will-change: transform;
}

@keyframes float {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -15px, 0);
    }
}

/* About Section */
.about {
    padding: 6rem 2rem;
    background-color: var(--color-cream);
    contain: layout style;
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8c6a3a;
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--color-text-muted);
}

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

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2.5rem;
    background-color: var(--color-beige);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-charcoal);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

/* Collection Section */
.collection {
    padding: 6rem 2rem;
    background-color: var(--color-black);
    contain: layout style;
}

.collection-header {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.collection-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.collection-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-cream);
    margin-bottom: 1rem;
}

.collection-subtitle {
    font-size: 1rem;
    color: rgba(229, 220, 206, 0.6);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.bottles-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.bottle-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(180, 139, 83, 0.05) 0%, transparent 100%);
    border: 1px solid rgba(180, 139, 83, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.bottle-card:hover {
    background: linear-gradient(180deg, rgba(180, 139, 83, 0.1) 0%, transparent 100%);
    border-color: rgba(180, 139, 83, 0.2);
    transform: translateY(-5px);
}

.bottle-card.featured {
    background: linear-gradient(180deg, rgba(180, 139, 83, 0.12) 0%, rgba(180, 139, 83, 0.03) 100%);
    border: 2px solid var(--color-gold);
    transform: scale(1.03);
    position: relative;
    box-shadow: 0 20px 60px rgba(180, 139, 83, 0.2);
}

.bottle-card.featured::before {
    content: 'Istaknuto';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    color: var(--color-black);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
}

.bottle-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 70px rgba(180, 139, 83, 0.25);
}

.bottle-card img {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.bottle-card.featured img {
    max-height: 380px;
}

.bottle-card:hover img {
    transform: scale(1.02);
}

.bottle-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.bottle-type {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.bottle-description {
    font-size: 0.9rem;
    color: rgba(229, 220, 206, 0.5);
    line-height: 1.6;
}

/* Coming Soon Cards */
.bottle-card.coming-soon {
    position: relative;
    overflow: hidden;
    cursor: default;
}

.bottle-card.coming-soon:hover {
    transform: none;
    background: linear-gradient(180deg, rgba(180, 139, 83, 0.05) 0%, transparent 100%);
    border-color: rgba(180, 139, 83, 0.1);
}

.bottle-card.coming-soon .coming-soon-content {
    filter: blur(20px);
    opacity: 0.3;
    user-select: none;
    pointer-events: none;
}

.bottle-card.coming-soon .coming-soon-content img {
    transform: none !important;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.coming-soon-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--color-gold-light);
    letter-spacing: 0.05em;
    text-align: center;
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(180, 139, 83, 0.3);
}

/* Retreat Section */
.retreat {
    padding: 6rem 2rem;
    background-color: var(--color-cream);
    contain: layout style;
}

.retreat-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
}

.retreat-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8c6a3a;
    margin-bottom: 1rem;
}

.retreat-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-charcoal);
}

.retreat-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.retreat-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    min-height: 250px;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--color-cream);
}

.gallery-overlay h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.85rem;
    opacity: 0.8;
}

.retreat-features {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature {
    text-align: center;
    padding: 1.5rem 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 1rem;
    stroke: var(--color-gold);
}

.feature h3 {
    font-size: 1.1rem;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Energy Section */
.energy {
    padding: 6rem 2rem;
    background-color: var(--color-black);
    contain: layout style;
}

.energy-header {
    max-width: 1200px;
    margin: 0 auto 4rem;
    text-align: center;
}

.energy-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.energy-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-cream);
    margin-bottom: 1rem;
}

.energy-subtitle {
    font-size: 1rem;
    color: rgba(229, 220, 206, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.energy-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.energy-card {
    padding: 2.5rem;
    background: linear-gradient(180deg, rgba(180, 139, 83, 0.08) 0%, rgba(180, 139, 83, 0.02) 100%);
    border: 1px solid rgba(180, 139, 83, 0.15);
    transition: transform 0.4s ease;
}

.energy-card:hover {
    border-color: rgba(180, 139, 83, 0.3);
    background: linear-gradient(180deg, rgba(180, 139, 83, 0.12) 0%, rgba(180, 139, 83, 0.04) 100%);
    transform: translateY(-5px);
}

.energy-card-icon {
    margin-bottom: 1.5rem;
}

.energy-card-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--color-gold);
}

.energy-card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.energy-card-type {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.25rem;
}

.energy-card-description {
    font-size: 0.95rem;
    color: rgba(229, 220, 206, 0.55);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.energy-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.energy-feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.energy-feature-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-gold);
    flex-shrink: 0;
}

.energy-feature-item span {
    font-size: 0.85rem;
    color: rgba(229, 220, 206, 0.7);
}

/* Contact Section */
.contact {
    padding: 6rem 2rem;
    background-color: var(--color-beige);
    contain: layout style;
}

.contact-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.contact-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
}

.contact-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-text h3 {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin-bottom: 0.2rem;
}

.contact-item-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.contact-form-wrapper {
    background-color: var(--color-cream);
    padding: 2.5rem;
}

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

.form-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: transparent;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-charcoal);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.cf-turnstile {
    margin-bottom: 1rem;
}

.form-status {
    margin-bottom: 1rem;
    padding: 0;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    min-height: 0;
    transition: opacity 0.3s ease;
}

.form-status.success {
    color: #4caf50;
    padding: 0.75rem 1rem;
    background-color: rgba(76, 175, 80, 0.08);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 4px;
}

.form-status.error {
    color: #e57373;
    padding: 0.75rem 1rem;
    background-color: rgba(229, 115, 115, 0.08);
    border: 1px solid rgba(229, 115, 115, 0.2);
    border-radius: 4px;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-charcoal);
}

/* Footer */
footer {
    background-color: var(--color-black);
    padding: 4rem 2rem 2rem;
    contain: layout style;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-logo img {
    height: 28px;
    width: auto;
    /* Logo SVG is charcoal; filter to cream for dark footer */
    filter: brightness(0) invert(0.92) sepia(0.12) saturate(1.5) hue-rotate(330deg);
}

.footer-tagline {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-style: italic;
    color: rgba(229, 220, 206, 0.75);
    margin-top: 0.75rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: rgba(229, 220, 206, 0.78);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

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

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(229, 220, 206, 0.2);
    color: var(--color-cream);
    transition: opacity 0.3s ease;
}

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

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 220, 206, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(229, 220, 206, 0.7);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 0.75rem;
    color: rgba(229, 220, 206, 0.7);
    text-decoration: none;
}

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

/* ========== RESPONSIVE STYLES ========== */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 8rem 3rem 3rem;
        text-align: center;
        order: 1;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        padding: 2rem;
        order: 2;
    }

    .hero-image img {
        max-height: 50vh;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bottles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .bottle-card img {
        max-height: 280px;
    }

    .retreat-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .retreat-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .energy-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar.scrolled {
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        padding: 7rem 1.5rem 2rem;
    }

    .hero-image {
        padding: 1.5rem;
    }

    .hero-image img {
        max-height: 45vh;
    }

    .about {
        padding: 4rem 1.5rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 2rem 1.5rem;
    }

    .collection {
        padding: 4rem 1.5rem;
    }

    .bottles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }

    .bottle-card {
        padding: 2rem 1.5rem;
    }

    .bottle-card img {
        max-height: 320px;
    }

    .retreat {
        padding: 4rem 1.5rem;
    }

    .retreat-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
    }

    .gallery-item {
        min-height: 220px;
    }

    .gallery-item:first-child {
        grid-row: auto;
        min-height: 280px;
    }

    .retreat-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .energy {
        padding: 4rem 1.5rem;
    }

    .energy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .energy-card {
        padding: 2rem 1.5rem;
    }

    .contact {
        padding: 4rem 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-nav {
        gap: 1.5rem;
    }

    .footer-legal {
        justify-content: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .navbar.scrolled {
        padding: 0.75rem 1rem;
    }

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

    .hero-content {
        padding: 6rem 1rem 1.5rem;
    }

    .hero-tagline {
        font-size: 0.65rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-image {
        padding: 1rem;
    }

    .hero-image img {
        max-height: 40vh;
    }

    .about {
        padding: 3rem 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .collection {
        padding: 3rem 1rem;
    }

    .collection-header {
        margin-bottom: 2.5rem;
    }

    .bottles-grid {
        gap: 1.5rem;
    }

    .bottle-card {
        padding: 1.5rem 1rem;
    }

    .bottle-card img {
        max-height: 280px;
    }

    .bottle-name {
        font-size: 1.3rem;
    }

    .retreat {
        padding: 3rem 1rem;
    }

    .retreat-header {
        margin-bottom: 2rem;
    }

    .gallery-item {
        min-height: 200px;
    }

    .gallery-item:first-child {
        min-height: 250px;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h3 {
        font-size: 1.1rem;
    }

    .retreat-features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .feature {
        padding: 1rem;
    }

    .energy {
        padding: 3rem 1rem;
    }

    .energy-header {
        margin-bottom: 2.5rem;
    }

    .energy-card {
        padding: 1.5rem 1rem;
    }

    .energy-card-title {
        font-size: 1.4rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

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

    footer {
        padding: 2.5rem 1rem 1rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-nav {
        gap: 1rem;
    }

    .footer-nav a {
        font-size: 0.75rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .footer-legal {
        gap: 1rem;
    }

    .footer-legal a,
    .footer-copyright {
        font-size: 0.7rem;
    }
}

/* Lazy rendering for off-screen sections */
.collection,
.retreat,
.energy,
.contact,
footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}
