/* ================================================================
   Plantsky — Premium Home Page Styles
   Hero, Sections, Animations, Botanical Art
   ================================================================ */

/* ── Premium Hero ──────────────────────────────────────────────── */
.premium-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-height));
    padding-top: var(--nav-height);
    background: var(--noir);
}

/* ── Background Layers — Depth Effect ──────────────────────────── */
.hero-bg-layers {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-bg-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.hero-bg-deep {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(38, 78, 54, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(26, 58, 46, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(13, 31, 23, 0.5) 0%, transparent 60%);
}

.hero-bg-mid {
    background:
        radial-gradient(circle at 70% 40%, rgba(38, 78, 54, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 30% 70%, rgba(133, 150, 126, 0.05) 0%, transparent 30%);
    animation: bgShift 20s ease-in-out infinite alternate;
}

.hero-bg-front {
    background:
        radial-gradient(circle at 85% 50%, rgba(38, 78, 54, 0.15) 0%, transparent 35%);
    animation: bgShift2 25s ease-in-out infinite alternate;
}

.hero-vignette {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at center, transparent 40%, rgba(8, 20, 16, 0.6) 100%);
    z-index: 2;
}

@keyframes bgShift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(20px, -10px) scale(1.05); }
}

@keyframes bgShift2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-15px, 10px) scale(1.03); }
}

/* ── Floating Leaves ───────────────────────────────────────────── */
.floating-leaves {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    opacity: 0;
    animation: floatLeaf linear infinite;
    will-change: transform, opacity;
}

.floating-leaf svg {
    width: 100%;
    height: 100%;
}

/* Individual leaf positioning and timing */
.fl-1 { width: 35px; height: 44px; color: #264E36; left: 8%; animation-duration: 18s; animation-delay: 0s; }
.fl-2 { width: 25px; height: 31px; color: #1a3a2e; left: 22%; animation-duration: 22s; animation-delay: 3s; }
.fl-3 { width: 30px; height: 38px; color: #264E36; left: 38%; animation-duration: 20s; animation-delay: 6s; }
.fl-4 { width: 20px; height: 25px; color: #85967E; left: 52%; animation-duration: 24s; animation-delay: 2s; }
.fl-5 { width: 28px; height: 35px; color: #1a3a2e; left: 68%; animation-duration: 19s; animation-delay: 8s; }
.fl-6 { width: 22px; height: 28px; color: #264E36; left: 82%; animation-duration: 21s; animation-delay: 4s; }
.fl-7 { width: 32px; height: 40px; color: #85967E; left: 15%; animation-duration: 23s; animation-delay: 10s; opacity: 0.15; }
.fl-8 { width: 18px; height: 23px; color: #264E36; left: 75%; animation-duration: 17s; animation-delay: 7s; }

@keyframes floatLeaf {
    0% {
        top: -60px;
        opacity: 0;
        transform: rotate(0deg) translateX(0px);
    }
    5% {
        opacity: 0.2;
    }
    25% {
        transform: rotate(45deg) translateX(40px);
    }
    50% {
        opacity: 0.15;
        transform: rotate(120deg) translateX(-30px);
    }
    75% {
        transform: rotate(200deg) translateX(50px);
    }
    95% {
        opacity: 0.08;
    }
    100% {
        top: calc(100% + 60px);
        opacity: 0;
        transform: rotate(300deg) translateX(-20px);
    }
}

/* ── Hero Content Layout ───────────────────────────────────────── */
.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-content-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(70vh - var(--nav-height));
    padding: 4rem 0;
}

/* ── Hero Text — Left Side ─────────────────────────────────────── */
.hero-text {
    max-width: 560px;
}

.hero-overline {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--olive);
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.hero-overline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 2rem;
    height: 1px;
    background: var(--olive);
}

.hero-title-premium {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 4.5rem;
    line-height: 1.05;
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.hero-title-line {
    display: block;
}

.hero-title-accent {
    /* Gold metallic effect */
    background: linear-gradient(
        135deg,
        #E8D5B5 0%,
        #D4B896 25%,
        #F0E0C8 50%,
        #C89B6D 75%,
        #E8D5B5 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: goldShimmer 6s ease-in-out infinite;
}

@keyframes goldShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(224, 220, 212, 0.6);
    margin-bottom: 2.5rem;
    font-weight: 300;
    max-width: 460px;
}

/* ── Hero Actions ──────────────────────────────────────────────── */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-premium-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--sand), var(--peach));
    color: var(--noir);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    border: none;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-premium-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 184, 150, 0.25), 0 0 60px rgba(232, 213, 181, 0.1);
    color: var(--noir);
    background: linear-gradient(135deg, var(--cream), var(--sand));
}

.btn-premium-cta:active { transform: translateY(-1px); }

.btn-premium-cta svg {
    transition: transform 0.3s ease;
}

.btn-premium-cta:hover svg {
    transform: translateX(4px);
}

.btn-premium-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.9rem 1.5rem;
    color: var(--olive-light);
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    text-decoration: none;
    border: 1px solid rgba(133, 150, 126, 0.2);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
    cursor: pointer;
    background: transparent;
}

.btn-premium-ghost:hover {
    color: var(--cream);
    border-color: rgba(232, 213, 181, 0.3);
    background: rgba(232, 213, 181, 0.04);
}

/* ── Hero Stats ────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hero-stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--cream);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(133, 150, 126, 0.2);
}

/* ── Hero Image — Right Side (Botanical Art) ───────────────────── */
.hero-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-image-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
}

.hero-botanical-art {
    position: relative;
    width: 100%;
    height: 100%;
}

.botanical-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(38, 78, 54, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.botanical-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(133, 150, 126, 0.1);
}

.botanical-circle-outer {
    top: 5%; left: 5%;
    width: 90%; height: 72%;
    animation: circleRotate 30s linear infinite;
}

.botanical-circle-inner {
    top: 15%; left: 15%;
    width: 70%; height: 56%;
    border-color: rgba(232, 213, 181, 0.08);
    animation: circleRotate 25s linear infinite reverse;
}

@keyframes circleRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.botanical-main-leaf {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 80%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.4));
    animation: leafBreathe 6s ease-in-out infinite alternate;
    cursor: pointer;
    transition: filter 0.6s ease;
    transform-origin: 50% 50%;
}

.botanical-main-leaf:hover {
    filter: drop-shadow(0 25px 70px rgba(0, 0, 0, 0.5))
            drop-shadow(0 0 40px rgba(133, 150, 126, 0.25));
}

.botanical-main-leaf.clicked {
    animation: leafPop 0.6s ease forwards;
}

@keyframes leafBreathe {
    0% { transform: rotate(-2deg) scale(1); }
    100% { transform: rotate(2deg) scale(1.02); }
}

@keyframes leafPop {
    0% { transform: scale(1); }
    30% { transform: scale(1.08) rotate(0deg); }
    50% { transform: scale(0.97) rotate(-1deg); }
    70% { transform: scale(1.03) rotate(1deg); }
    100% { transform: scale(1) rotate(-2deg); }
}

/* Dew drops shimmer on hover */
.botanical-main-leaf circle {
    transition: opacity 0.5s ease, r 0.5s ease;
}

.hero-botanical-art:hover .botanical-main-leaf circle {
    opacity: 0.35;
}

/* Leaf veins glow on hover */
.hero-botanical-art:hover .botanical-main-leaf path[stroke="url(#veinGrad)"] {
    stroke-opacity: 0.7;
    transition: stroke-opacity 0.5s ease;
}

/* Particle burst container */
.leaf-particles {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 5;
}

.leaf-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--olive);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.botanical-accent-1 {
    position: absolute;
    bottom: 10%;
    right: 0;
    width: 100px;
    height: auto;
    opacity: 0.6;
    animation: accentFloat1 8s ease-in-out infinite alternate;
}

.botanical-accent-2 {
    position: absolute;
    top: 15%;
    left: -5%;
    width: 80px;
    height: auto;
    opacity: 0.4;
    animation: accentFloat2 10s ease-in-out infinite alternate;
}

@keyframes accentFloat1 {
    0% { transform: translate(0, 0) rotate(-5deg); }
    100% { transform: translate(-10px, -15px) rotate(5deg); }
}

@keyframes accentFloat2 {
    0% { transform: translate(0, 0) rotate(5deg); }
    100% { transform: translate(10px, 10px) rotate(-8deg); }
}

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

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(133, 150, 126, 0.4), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--cream), transparent);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ── Section Divider Line ──────────────────────────────────────── */
.section-divider-line {
    width: 100%;
    height: 1px;
    background: rgba(133, 150, 126, 0.1);
    max-width: var(--container-max);
    margin: 0 auto;
}

/* ── Premium Sections ──────────────────────────────────────────── */
.premium-section {
    padding: 5rem 0;
    position: relative;
}

.section-overline {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--olive);
    margin-bottom: 0.75rem;
}

.text-center-block {
    display: block;
    text-align: center;
}

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 2.8rem;
    color: var(--cream);
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-month-badge {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--peach);
    background: rgba(200, 155, 109, 0.1);
    border: 1px solid rgba(200, 155, 109, 0.2);
    padding: 0.3rem 1.2rem;
    border-radius: var(--radius-xl);
    margin: 0 auto 2.5rem;
    text-align: center;
    display: block;
    width: fit-content;
    letter-spacing: 0.05em;
}

.section-footer-premium {
    text-align: center;
    margin-top: 3rem;
}

/* ── Premium Outline Button ────────────────────────────────────── */
.btn-premium-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    color: var(--olive-light);
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 1px solid rgba(133, 150, 126, 0.2);
    border-radius: var(--radius-xl);
    transition: all 0.4s ease;
}

.btn-premium-outline:hover {
    color: var(--cream);
    border-color: rgba(232, 213, 181, 0.3);
    background: rgba(232, 213, 181, 0.04);
    transform: translateY(-2px);
}

.btn-premium-outline svg {
    transition: transform 0.3s ease;
}

.btn-premium-outline:hover svg {
    transform: translateX(4px);
}

/* ── About Section ─────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    max-width: 460px;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(224, 220, 212, 0.7);
    margin-bottom: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Feature Cards — Glassmorphism Premium ─────────────────────── */
.glass-card-premium {
    background: rgba(38, 78, 54, 0.15);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(133, 150, 126, 0.12);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card-premium:hover {
    border-color: rgba(133, 150, 126, 0.25);
    background: rgba(38, 78, 54, 0.22);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-card {
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.feature-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--olive);
    opacity: 0.7;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.3rem;
}

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

/* ── Premium Grid ──────────────────────────────────────────────── */
.premium-grid {
    gap: 1.75rem;
}

.premium-scroll {
    padding-bottom: 1.5rem;
}

/* ── Empty State Premium ───────────────────────────────────────── */
.empty-state-premium {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.empty-botanical-icon {
    margin-bottom: 1rem;
    opacity: 0.4;
}

/* ── CTA Section ───────────────────────────────────────────────── */
.section-cta {
    padding: 4rem 0 5rem;
}

.cta-card {
    position: relative;
    padding: 4rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg-art {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.cta-leaf-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.cta-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--cream);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1rem;
    color: rgba(224, 220, 212, 0.55);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.btn-cta-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* ── Responsive — Premium Home ─────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-content-inner {
        gap: 2rem;
    }

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

    .about-grid {
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .premium-hero {
        min-height: auto;
    }

    .hero-content-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        order: 1;
    }

    .hero-overline {
        padding-left: 0;
    }

    .hero-overline::before {
        display: none;
    }

    .hero-title-premium {
        font-size: 2.8rem;
    }

    .hero-description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

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

    .hero-image-container {
        order: 0;
        max-height: 300px;
    }

    .hero-image-frame {
        max-width: 260px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        max-width: 100%;
        text-align: center;
    }

    /* Sections */
    .premium-section {
        padding: 3.5rem 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    .cta-card {
        padding: 2.5rem 1.5rem;
    }

    .cta-heading {
        font-size: 2rem;
    }

    /* Floating leaves — reduce on mobile */
    .floating-leaf {
        opacity: 0 !important;
    }
    .fl-1, .fl-3, .fl-5 {
        opacity: unset !important;
    }
}

@media (max-width: 480px) {
    .hero-title-premium {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-premium-cta,
    .btn-premium-ghost {
        width: 100%;
        justify-content: center;
    }

    .section-heading {
        font-size: 1.8rem;
    }

    .feature-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem;
    }
}
