/* ==========================================
   LILAV FLOWER SHOP — Luxury Cinematic
   ========================================== */

: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(--champagne);
    color: var(--champagne);
}
.btn-hero:hover { background: var(--champagne); 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;
    position: relative;
}

.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); }

.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 — Cinematic
   ========================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--black);
}

/* --- Pure Black Background --- */
.hero-bg-dark {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at center, #1a0a18 0%, #0a0505 70%, #000 100%);
}

/* --- Animated Light Rays behind logo --- */
.hero-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translate(-50%, -50%);
    z-index: 2;
    background:
        conic-gradient(
            from 0deg at 50% 50%,
            transparent 0deg,
            rgba(142,69,133,0.08) 20deg,
            transparent 40deg,
            transparent 80deg,
            rgba(211,174,220,0.06) 100deg,
            transparent 120deg,
            transparent 180deg,
            rgba(247,231,206,0.05) 200deg,
            transparent 220deg,
            transparent 280deg,
            rgba(188,138,180,0.07) 300deg,
            transparent 320deg
        );
    filter: blur(20px);
    animation: raysRotate 40s linear infinite;
    pointer-events: none;
}

@keyframes raysRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- Soft Halo/Glow behind logo (breathing) --- */
.hero-halo {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 500px;
    transform: translate(-50%, -50%);
    z-index: 2;
    background:
        radial-gradient(ellipse at center, rgba(142,69,133,0.25) 0%, rgba(165,103,156,0.12) 30%, transparent 65%);
    filter: blur(40px);
    animation: haloBreath 6s ease-in-out infinite;
    pointer-events: none;
}

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

/* --- Dark vignette overlay --- */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

/* --- Particle Canvas --- */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

/* --- Hero Content --- */
.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    opacity: 0;
    animation: contentFadeIn 2s var(--ease-out) 0.5s forwards;
}

@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Golden Frame (like the business card) --- */
.golden-frame {
    position: relative;
    display: inline-block;
    padding: 40px 50px;
}

.frame-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.frame-line {
    stroke-dasharray: 1700;
    stroke-dashoffset: 1700;
    animation: drawFrame 3s var(--ease-out) 1s forwards;
    opacity: 0.5;
}

@keyframes drawFrame {
    to { stroke-dashoffset: 0; }
}

/* --- Logo with Shimmer --- */
.logo-shimmer-wrap {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.hero-logo-img {
    width: clamp(280px, 48vw, 500px);
    height: auto;
    display: block;
    animation: logoGlow 5s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 40px rgba(247,231,206,0.15)) drop-shadow(0 0 80px rgba(142,69,133,0.2));
    }
    50% {
        filter: drop-shadow(0 0 60px rgba(247,231,206,0.25)) drop-shadow(0 0 120px rgba(188,138,180,0.35));
    }
}

.shimmer-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255,255,255,0.06) 35%,
        rgba(255,255,255,0.18) 50%,
        rgba(255,255,255,0.06) 65%,
        transparent 80%
    );
    animation: shimmerLoop 18s var(--ease) 3s infinite;
    pointer-events: none;
}

@keyframes shimmerLoop {
    0% { left: -100%; }
    14% { left: 200%; }
    100% { left: 200%; }
}

/* --- Subtitle + Button --- */
.hero-sub {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-top: 16px;
    color: var(--champagne);
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 2.8s forwards;
}

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

/* --- Scroll Indicator --- */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeInUp 1s var(--ease-out) 3.5s forwards;
}

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

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(247,231,206,0.35), 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(25px); }
    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.7);
    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(247,231,206,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; }
.featured { background: var(--white); }
.shop { background: var(--cream); }

.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 {
    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; display: block; }

.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
   ========================================== */
.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] {
    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); }
    .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; }

    .golden-frame { padding: 25px 20px; }
    .hero-logo-img { width: clamp(240px, 70vw, 380px); }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-text .section-title, .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; }
    .insta-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
}
