/* ==========================================
   LILAV FLOWER SHOP — Luxury Style
   Inspired by Venus et Fleur aesthetic
   ========================================== */

:root {
    /* Paleta oficial LILAV */
    --plum: #8E4585;
    --muted-purple: #A5679C;
    --pale-purple: #BC8AB4;
    --pale-lavender: #D3AEDC;
    --champagne: #F7E7CE;

    --black: #0a0a0a;
    --dark: #1a1a1a;
    --charcoal: #2a2a2a;
    --gray: #888;
    --light-gray: #ccc;
    --cream: #faf6f0;
    --white: #fff;
    --accent: #8E4585;
    --accent-light: #BC8AB4;
    --accent-soft: #f3eaf3;
    --gold: #c9a96e;

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0, 0, 0.25, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--dark);
    color: var(--dark);
    background: transparent;
    transition: all 0.4s var(--ease);
    cursor: pointer;
}

.btn:hover {
    background: var(--dark);
    color: var(--white);
}

.btn-hero {
    border-color: var(--white);
    color: var(--white);
}

.btn-hero:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-light:hover {
    background: var(--white);
    color: var(--dark);
}

.btn-small {
    padding: 10px 24px;
    font-size: 10px;
    letter-spacing: 2px;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-full {
    width: 100%;
    text-align: center;
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-full:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 40px;
    transition: all 0.4s var(--ease);
}

.header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.header-logo {
    display: flex;
    align-items: center;
    height: 45px;
}

.header-logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.4s var(--ease);
}

.header-logo-light { opacity: 1; }
.header-logo-dark { opacity: 0; position: absolute; }

.header.scrolled .header-logo-light { opacity: 0; }
.header.scrolled .header-logo-dark { opacity: 1; }

.nav {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease);
}

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

.header.scrolled .nav-link { color: var(--dark); }

.header-cta {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--white);
    padding: 10px 28px;
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.3s var(--ease);
}

.header-cta:hover {
    background: var(--white);
    color: var(--dark);
}

.header.scrolled .header-cta {
    color: var(--dark);
    border-color: var(--dark);
}

.header.scrolled .header-cta:hover {
    background: var(--dark);
    color: var(--white);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s var(--ease);
}

.header.scrolled .menu-toggle span { background: var(--dark); }

.menu-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ==========================================
   HERO
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Animated gradient background — uses LILAV palette */
.hero-animated-flowers {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(142,69,133,0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(188,138,180,0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 80%, rgba(247,231,206,0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 70%, rgba(165,103,156,0.12) 0%, transparent 40%),
        linear-gradient(135deg, #0a0a0a 0%, #141414 50%, #0a0a0a 100%);
    animation: heroShift 15s ease-in-out infinite alternate;
}

@keyframes heroShift {
    0% { transform: scale(1); background-position: 0% 50%; }
    50% { transform: scale(1.06); }
    100% { transform: scale(1.02); background-position: 100% 50%; }
}

/* Floating petal particles */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image:
        radial-gradient(2px 2px at 10% 20%, rgba(247,231,206,0.15), transparent),
        radial-gradient(2px 2px at 30% 60%, rgba(211,174,220,0.12), transparent),
        radial-gradient(3px 3px at 50% 10%, rgba(188,138,180,0.1), transparent),
        radial-gradient(2px 2px at 70% 80%, rgba(247,231,206,0.12), transparent),
        radial-gradient(2px 2px at 90% 40%, rgba(211,174,220,0.1), transparent),
        radial-gradient(3px 3px at 15% 90%, rgba(188,138,180,0.08), transparent),
        radial-gradient(2px 2px at 85% 15%, rgba(247,231,206,0.1), transparent),
        radial-gradient(2px 2px at 45% 75%, rgba(211,174,220,0.08), transparent);
    animation: particleDrift 20s linear infinite;
    pointer-events: none;
}

@keyframes particleDrift {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(10px); }
    50% { transform: translateY(-5px) translateX(-8px); }
    75% { transform: translateY(-20px) translateX(5px); }
    100% { transform: translateY(0) translateX(0); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
}

/* Real Logo with Shimmer Animation */
.hero-logo-anim {
    animation: fadeInUp 1.6s var(--ease-out) both;
    position: relative;
}

.logo-shimmer-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.hero-logo-img {
    width: clamp(300px, 55vw, 580px);
    height: auto;
    display: block;
    filter: drop-shadow(0 0 60px rgba(142,69,133,0.15));
}

/* Shimmer sweep that repeats every ~15s */
.shimmer-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.08) 35%,
        rgba(255,255,255,0.25) 50%,
        rgba(255,255,255,0.08) 65%,
        transparent 80%
    );
    animation: shimmerLoop 17s var(--ease) 2s infinite;
    pointer-events: none;
}

/* Sweep takes ~15% of the 17s cycle = ~2.5s, then stays idle for ~14.5s */
@keyframes shimmerLoop {
    0% { left: -100%; }
    15% { left: 200%; }
    100% { left: 200%; }
}

/* Soft horizontal lines framing the logo */
.hero-logo-anim::before,
.hero-logo-anim::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(247,231,206,0.35), transparent);
    margin: 18px auto;
    animation: lineExpand 1.8s var(--ease-out) 2.2s forwards;
}

@keyframes lineExpand {
    to { width: 120px; }
}

.hero-sub {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 10px;
    color: var(--champagne);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 2.8s forwards;
}

.hero .btn-hero {
    margin-top: 35px;
    opacity: 0;
    border-color: var(--champagne);
    color: var(--champagne);
    animation: fadeInUp 1s var(--ease-out) 3.2s forwards;
}

.hero .btn-hero:hover {
    background: var(--champagne);
    color: var(--dark);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: fadeInUp 1s var(--ease-out) 1.5s both;
}

.hero-scroll span {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(247,231,206,0.4);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(247,231,206,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.3; transform: scaleY(0.6); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   MARQUEE
   ========================================== */
.marquee {
    background: var(--plum);
    padding: 14px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 30px;
    animation: marqueeScroll 20s linear infinite;
    white-space: nowrap;
}

.marquee-track span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}

.marquee-track .dot {
    color: var(--champagne);
    font-size: 8px;
}

@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================
   SECTION TITLES
   ========================================== */
.section-sub {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-sub.light { color: rgba(255,255,255,0.7); }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--dark);
    margin-bottom: 50px;
    text-align: center;
}

.section-title.light { color: var(--white); }
.section-title.left { text-align: left; }

/* ==========================================
   FEATURED / PRODUCTS
   ========================================== */
.featured, .shop {
    padding: 100px 0;
    text-align: center;
}

.shop { background: var(--cream); }
.featured { background: var(--white); }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    display: block;
    text-align: left;
    transition: transform 0.4s var(--ease);
}

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

.product-img {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: var(--cream);
    margin-bottom: 16px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-hover {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10,10,10,0.3);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.product-card:hover .product-hover {
    opacity: 1;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.product-price {
    font-size: 14px;
    color: var(--gray);
    font-weight: 300;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 24px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--gray);
    border: 1px solid transparent;
    transition: all 0.3s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--dark);
    border-color: var(--dark);
}

/* ==========================================
   BANNER
   ========================================== */
.banner {
    position: relative;
    padding: 140px 40px;
    text-align: center;
    background: var(--dark);
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(142,69,133,0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 50%, rgba(247,231,206,0.1) 0%, transparent 60%);
}

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

.banner-text {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.9;
    color: #555;
    margin-bottom: 20px;
}

.about-text .section-sub { text-align: left; }

.about-text .btn { margin-top: 20px; }

/* ==========================================
   INSTAGRAM
   ========================================== */
.instagram {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, #faf3e8 100%);
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
    filter: grayscale(10%);
}

.insta-item:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
    padding: 120px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info .section-sub { text-align: left; }

.contact-item {
    margin-bottom: 30px;
}

.contact-item h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
}

.contact-item a {
    transition: color 0.3s;
}

.contact-item a:hover { color: var(--accent); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 300;
    border: 1px solid #ddd;
    background: transparent;
    color: var(--dark);
    transition: border-color 0.3s;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea { resize: vertical; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 12px;
    opacity: 0.85;
}

.footer-brand p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    font-weight: 300;
    padding: 6px 0;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    font-size: 12px;
    font-weight: 300;
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: transform 0.3s var(--ease);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================
   SCROLL ANIMATIONS (data-aos)
   ========================================== */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-aos].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { gap: 50px; }
    .contact-grid { gap: 50px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .header { padding: 0 20px; }

    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10,10,10,0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s var(--ease);
    }

    .nav.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 14px;
        letter-spacing: 4px;
        color: var(--white) !important;
    }

    .header-cta { display: none; }

    .hero-brand { letter-spacing: 10px; }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text .section-title { text-align: center; }
    .about-text .section-sub { text-align: center; }

    .contact-grid { grid-template-columns: 1fr; gap: 50px; }
    .contact-info .section-title,
    .contact-info .section-sub { text-align: center; }

    .insta-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }

    .featured, .shop { padding: 70px 0; }
    .about, .contact { padding: 80px 0; }
    .banner { padding: 80px 24px; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .product-info h3 { font-size: 15px; }
    .product-price { font-size: 13px; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
