/* ============================================
   Her's by Bakhoobi — Main Stylesheet
   Cream/Ivory base with glass morphism accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

:root {
    /* Core Palette */
    --c-cream:   #F8F4EE;        /* Main ivory background */
    --c-petal:   #EDD5CB;        /* Soft blush petal  */
    --c-rose:    #C09490;        /* Dusty rose accent */
    --c-gold:    #C5A065;        /* Warm gold */
    --c-gold-lt: #E8D5B0;        /* Light gold tint */
    --c-footer:  #2B2B2B;
    --c-text:    #1d1d1f;
    --c-mute:    #888;

    /* Section tints */
    --c-pink-tint: rgba(174,134,130,0.14);
    --c-gold-tint: rgba(197,160,101,0.13);

    --f-serif: 'Cormorant Garamond', 'Playfair Display', serif;
    --f-sans:  'Jost', 'Montserrat', sans-serif;

    /* Glass vars (also set in glass.css) */
    --glass-bg:     rgba(255,255,255,0.55);
    --glass-border: rgba(255,255,255,0.75);
    --blur:         blur(18px);
    --shadow:       0 12px 40px -10px rgba(0,0,0,0.10);
    --radius:       24px;
    --color-accent: #C5A065;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ── Global smooth transitions ────────────── */
a,
button,
input,
img,
.nav-link,
.btn,
.btn-gold,
.btn-custom,
.social-links a,
.footer-nav a,
.navbar-brand,
.product-card,
.product-card img,
.glass-card,
.icon-box,
.collection-label,
.newsletter-box,
.newsletter-box input,
.featured-image-container img,
.featured-text-overlay,
.blob-container,
.hero-cta,
.hero-bg-img,
.policy-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    background-color: var(--c-cream);
    font-family: var(--f-sans);
    color: var(--c-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, .navbar-brand, .section-title {
    font-family: var(--f-serif);
    letter-spacing: -0.01em;
}

.product-name {
    font-family: var(--f-serif);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-text);
}

/* ── Top Bar ─────────────────────────────── */
.top-bar {
    background-color: #fff;
    font-family: var(--f-sans);
    font-size: 0.65rem;
    color: #999;
    padding: 8px 0;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ── Navigation ──────────────────────────── */
.navbar {
    background: rgba(248,244,238,0.85) !important;
    backdrop-filter: var(--blur) saturate(160%);
    -webkit-backdrop-filter: var(--blur) saturate(160%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.nav-link {
    font-family: var(--f-sans);
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--c-text) !important;
    text-transform: uppercase;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--c-gold) !important;
    transform: translateY(-1px);
}

.navbar-brand {
    font-family: var(--f-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--c-gold);
    line-height: 1;
    text-align: center;
}

.navbar-brand svg {
    color: var(--c-gold);
}

/* ── Hero ─────────────────────────────────── */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 120%;   /* extra height for parallax travel */
    top: -10%;
    object-fit: cover;
    z-index: 1;
    will-change: transform;
    filter: brightness(0.75);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: var(--f-serif);
    font-weight: 300;
    font-size: clamp(3rem, 9vw, 7rem);
    letter-spacing: 6px;
    line-height: 1;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
    color: #fff;
}

.hero-sub {
    font-family: var(--f-sans);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.85);
    margin-top: 1.2rem;
}

.hero-cta {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.75rem 2.4rem;
    border: 1px solid rgba(255,255,255,0.7);
    color: #fff;
    font-family: var(--f-sans);
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.12);
    border-radius: 100px;
    transition: all 0.35s cubic-bezier(0.25,0.8,0.25,1);
}

.hero-cta:hover {
    background: rgba(197,160,101,0.8);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Section shared ──────────────────────── */
.section-label {
    font-family: var(--f-sans);
    font-size: 0.62rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.65;
}

.section-title {
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--c-gold);
    margin: 0.5rem auto 0;
    border-radius: 10px;
}

/* ── Pink / Rose collection section ─────── */
.section-pink {
    background: linear-gradient(135deg, #C4958F 0%, #B07A76 100%);
    padding: 5rem 0;
}

.section-gold {
    background: linear-gradient(135deg, #C9A66B 0%, #B08A52 100%);
    padding: 5rem 0;
}

/* ── Product Cards ───────────────────────── */
.product-card {
    background: transparent;
    transition: transform 0.4s cubic-bezier(0.25,0.8,0.25,1);
    cursor: pointer;
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    background-color: #fff;
    transition: box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-6px);
}

.product-card:hover img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

.product-name {
    font-family: var(--f-serif);
    font-size: 0.82rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 0.6rem;
}

/* ── Glass product label ─────────────────── */
.collection-label {
    font-family: var(--f-sans);
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    background: rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 0.4rem;
}

/* ── Featured / Editorial ─────────────────── */
.section-featured {
    background-color: var(--c-cream);
    padding: 6rem 0;
}

.featured-image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
}

.featured-image-container img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.6s ease;
}

.featured-image-container:hover img {
    transform: scale(1.03);
}

.featured-text-overlay {
    position: absolute;
    bottom: 28px;
    left: 28px;
    z-index: 10;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 14px 22px;
    border-radius: 16px;
}

.featured-text-overlay h2 {
    font-family: var(--f-serif);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

/* ── Quote / Blob ─────────────────────────── */
.section-quote {
    background-color: var(--c-cream);
    padding: 5rem 0;
}

.blob-container {
    background: rgba(237,213,203,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 46% 54% 48% 52% / 61% 55% 45% 39%;
    width: 100%;
    max-width: 680px;
    min-height: 280px;
    margin: 2rem auto;
    box-shadow: 0 8px 32px rgba(192,148,144,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 4rem;
}

.quote-text {
    font-family: var(--f-serif);
    font-style: italic;
    color: #666;
    font-size: 1.3rem;
    line-height: 1.7;
    text-align: center;
}

/* ── Footer ──────────────────────────────── */
footer {
    background-color: var(--c-footer);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    margin-right: 18px;
    font-size: 1.15rem;
    display: inline-block;
}

.social-links a:hover {
    color: var(--c-gold);
    transform: translateY(-2px) scale(1.15);
}

.newsletter-box {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.newsletter-box input {
    outline: none;
    font-size: 0.7rem;
    width: 180px;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 8px 16px;
    letter-spacing: 1px;
}

.newsletter-box input::placeholder { color: rgba(255,255,255,0.45); }

.btn-gold {
    background: linear-gradient(180deg, #CFA87D 0%, #B08D62 100%);
    color: #fff;
    border: none;
    border-radius: 100px;
    font-size: 0.62rem;
    padding: 7px 18px;
    letter-spacing: 1px;
    font-family: var(--f-sans);
    cursor: pointer;
    transition: box-shadow 0.25s;
}

.btn-gold:hover {
    box-shadow: 0 4px 14px rgba(197,160,101,0.55);
}

.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-left: 24px;
    font-family: var(--f-sans);
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--c-gold);
    transform: translateY(-1px);
}

/* ── Policy Pages ─────────────────────────── */
.policy-hero {
    background: linear-gradient(135deg, var(--c-petal) 0%, var(--c-gold-lt) 100%);
    padding: 5rem 0 3rem;
    text-align: center;
}

.policy-hero h1 {
    font-family: var(--f-serif);
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--c-text);
    letter-spacing: 2px;
}

.policy-body {
    background: var(--c-cream);
    padding: 4rem 0 6rem;
}

.policy-card {
    background: var(--glass-bg);
    backdrop-filter: var(--blur) saturate(180%);
    -webkit-backdrop-filter: var(--blur) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 3rem 3.5rem;
    max-width: 820px;
    margin: 0 auto;
}

.policy-card h2 {
    font-family: var(--f-serif);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--c-gold);
    margin-top: 2.2rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
}

.policy-card h2:first-child { margin-top: 0; }

.policy-card p, .policy-card li {
    font-family: var(--f-sans);
    font-size: 0.92rem;
    color: #555;
    line-height: 1.85;
}

.policy-card ul { padding-left: 1.4rem; }

/* ── Utilities / Animations ──────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Footer logo image */
.footer-logo-img {
    height: 52px;
    width: auto;
    opacity: 0.9;
}

.footer-logo-img:hover {
    opacity: 1;
}

/* ── Mobile ──────────────────────────────── */
@media (max-width: 768px) {
    .hero-section { height: 75vh; }
    .blob-container { border-radius: 50%; padding: 2.5rem 2rem; }
    .policy-card { padding: 2rem 1.5rem; }
    .featured-image-container img { height: 320px; }
}

/* ─── Duplicate hero-section block removed ─ */
.hero-bg-img {
    z-index: 1;
}
.hero-content { z-index: 3; }

/* ── Hamburger → Close (×) toggle ───────── */
.navbar-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: none;
    background: transparent;
    outline: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    padding: 4px 8px;
}

.navbar-toggler:focus { box-shadow: none; }

/* Hide default Bootstrap toggler icon */
.navbar-toggler .navbar-toggler-icon {
    display: none;
}

.navbar-toggler .bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--c-text);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
    transform-origin: center;
}

/* Open state: collapse into × */
.navbar-toggler[aria-expanded="true"] .bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar-toggler[aria-expanded="true"] .bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}