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

/* Smooth scrolling performance */
html {
    scroll-behavior: smooth;
    font-size: 18px;
    -webkit-text-size-adjust: 100%;
}

/* GPU-accelerate animated elements */
.slide-image {
    will-change: transform;
}

.whatsapp-float {
    will-change: transform;
}

/* Global body — black background prevents any white gaps between sections */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.04em;
}

/* Force Bebas Neue on EVERY element — overrides all individual rules */
* {
    font-family: 'Bebas Neue', sans-serif !important;
}

/* Exception: LIFO logo (navbar + preloader) stays Anton — original bold style */
.logo-main,
.preloader-logo {
    font-family: 'Anton', sans-serif !important;
}

/* =============================================
   BEBAS NEUE — Applied to ALL display text
   (headings, nav, titles, labels, card titles)
   Font sizes are NOT changed, only the family.
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6,
.navbar a,
.logo-main,
.preloader-logo,
.vertical-text-left,
.vertical-text-right,
.contact-title,
.section-title,
.feature-card h3,
.product-info h3,
.footer-links h4,
.footer-social h4,
.stat-number,
.stat-label,
.info-block h3,
.about-text h2,
.text-center {
    font-family: 'Bebas Neue', sans-serif !important;
    letter-spacing: 0.05em;
}

:root {
    --primary-red: #ff0000;
    --dark-red: #cc0000;
    --black: #000000;
    --white: #ffffff;
    --text-color: #ffffff;
    --nav-height: 100px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through if anything fails */
}

#preloader-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--black);
    transition: opacity 0.5s ease;
    z-index: -1;
}

#preloader-bg.fade {
    opacity: 0;
    transition: opacity 0.8s ease;
}

/* Preloader logo — fades out together with background */
#preloader.fade-out {
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.preloader-logo-img {
    width: 260px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

body.no-scroll {
    overflow: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--black);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Typography */
a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    z-index: 100;
    /* Subtle gradient to ensure readability over slides */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.nav-left,
.nav-right {
    display: flex;
    gap: 3rem;
    font-size: 1.4rem;
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.nav-left a:hover,
.nav-right a:hover {
    color: var(--primary-red);
}

/* LIFO Logo Styles */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px 15px;
}

.logo-main {
    font-family: 'Anton', sans-serif;
    font-size: 4.5rem;
    line-height: 1;
    color: var(--white);
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar-logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

/* Default (dark bg): show white logo, hide black logo */
.logo-white { display: block; }
.logo-black { display: none; }

/* Light bg (scrolled): show black logo, hide white logo */
.navbar.scrolled-light .logo-white { display: none; }
.navbar.scrolled-light .logo-black { display: block; }

.navbar-logo-img:hover {
    opacity: 0.85;
}

.reg {
    font-size: 1.2rem;
    position: absolute;
    top: 5px;
    right: -20px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

.logo-sub {
    font-family: 'Anton', sans-serif;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.85rem;
    padding: 4px 10px;
    margin-top: 5px;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Vertical Texts */
.sticky-wrapper-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 16rem;
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 250px;
}

.vertical-text-left {
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 10vh, 10rem);
    color: var(--black);
    text-transform: uppercase;
    line-height: 0.8;
}

.sticky-wrapper-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16rem;
    pointer-events: none;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 250px;
}

.vertical-text-right {
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(4rem, 10vh, 10rem);
    color: var(--black);
    text-transform: uppercase;
    line-height: 0.8;
}

/* Scroll effect classes */
.navbar.scrolled-light {
    background: transparent;
}

.navbar.scrolled-light a {
    color: var(--black);
}

.navbar.scrolled-light .nav-left a:hover,
.navbar.scrolled-light .nav-right a:hover {
    color: var(--primary-red);
}

.navbar.scrolled-light .logo-main {
    color: var(--black);
}

/* ================================================
   ABOUT US — STICKY SCROLL LAYOUT
   Image sticks on the left while text scrolls past
   ================================================ */
.about-section {
    position: relative;
    z-index: 2;
    background-color: var(--white);
    padding: 0 4rem 0 4rem;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 5rem;
    padding: 120px 0 120px;
}

/* Left image: sticks in place while text scrolls */
.about-image-wrapper {
    position: sticky;
    top: 120px;
    /* clears the fixed navbar */
    flex: 0 0 42%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    align-self: flex-start;
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    transition: transform 0.6s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.04);
}

/* Right text block */
.about-text {
    flex: 1;
    padding-top: 0.5rem;
}

.about-text h2 {
    margin-bottom: 2.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.9;
    margin-bottom: 2rem;
}

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

/* Light sections (Artificial Flowers, Wedding Lights) */
.light-section {
    position: relative;
    background-color: #ffffff;
    padding: 150px 4rem 8rem 16rem;
    min-height: 100vh;
}

/* Consecutive light sections don't need extra gap */
.light-section+.light-section {
    margin-top: 0;
}

/* page-content: top padding for sections on standalone pages (navbar is fixed) */
.page-content {
    padding-top: 120px;
}

/* Active nav link highlight */
.nav-active {
    opacity: 1 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Contact section */
.stats-contact-section {
    position: relative;
    background-color: var(--white);
    min-height: 100vh;
}

/* Features section */
.features-section {
    position: relative;
}

/* Wedding Lights Section Styling */
.wedding-lights-section {
    background-color: var(--black);
    color: var(--white);
    z-index: 2;
    padding: 150px 16rem 8rem 4rem;
}

.wedding-lights-section .vertical-text-right {
    color: var(--white);
}

.wedding-lights-section .product-info h3,
.wedding-lights-section .product-info p {
    color: var(--white);
}

.wedding-lights-section .product-img-wrapper {
    background-color: #222;
}

.product-layout {
    column-count: 3;
    column-gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-item {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 6rem;
    display: inline-block;
    width: 100%;
}

.product-img-wrapper {
    background-color: #e5e5e5;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

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

.product-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.product-info p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--black);
}

/* Scroll offset so navbar doesn't cover section headings */
#hero,
#artificial-flowers,
#wedding-lights,
#contact-detail,
#about-us,
#why-choose-lifo {
    scroll-margin-top: 80px;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: var(--black);
    z-index: 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 10s linear;
}

.slide.active .slide-image {
    transform: scale(1.0);
}

/* Gradient Overlay — full hero for CTA readability */
.overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
}

/* Hero CTA — centered call to action */
.hero-cta {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    width: 100%;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Anton', sans-serif !important;
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: 0.06em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-sub {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-block;
    padding: 0.9rem 2.8rem;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.12em;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.hero-btn:hover {
    background: var(--primary-red);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Floating WhatsApp button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

/* Slide Indicators (like lines) */
.slide-indicators {
    position: absolute;
    bottom: 3rem;
    right: 4rem;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-red);
}

/* Contact Section */
.contact-section {
    position: relative;
    z-index: 3;
    background-color: var(--white);
    color: var(--black);
    padding: 10rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.contact-content {
    text-align: center;
    max-width: 800px;
}

.contact-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.contact-subheading {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    margin-bottom: 3rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #25D366;
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

.phone-number {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1.5rem;
    color: var(--black);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 2rem;
    }

    .logo-main {
        font-size: 3.5rem;
    }

    .slide-indicators {
        right: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        padding: 1rem;
        background: rgba(0, 0, 0, 0.8);
    }

    .nav-left,
    .nav-right {
        margin: 1rem 0;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-main {
        font-size: 3rem;
    }

    .slide-indicators {
        right: 1rem;
        bottom: 2rem;
    }
}

/* Stats & Contact Section */
.stats-contact-section {
    width: 100%;
    z-index: 3;
    position: relative;
    background-color: var(--white);
    padding: 8rem 4rem 6rem;
    /* 8rem top clears the fixed navbar */
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 2rem;
    background: linear-gradient(to right, #8a8a8a 0%, #3a3a3a 60%, #1a1a1a 100%);
    color: var(--white);
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-map-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 1100px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}

.contact-info-panel {
    flex: 1;
    background-color: var(--white);
    color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: #4a3636;
    line-height: 1.1;
}

.contact-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.info-block {
    margin-bottom: 1.2rem;
}

.contact-no-block {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.phone-link:hover {
    color: #25D366;
    text-decoration: underline;
}

.whatsapp-block {
    margin-top: 1rem;
    margin-bottom: 0;
}

.inline-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
    margin: 0;
}

.info-block h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #4a3636;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-block p,
.info-block a {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.info-block a:hover {
    color: var(--primary-red);
}

.info-block a.whatsapp-btn {
    color: white;
}

.info-block a.whatsapp-btn:hover {
    color: white;
}

.map-panel {
    flex: 1;
    min-height: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
    .contact-map-wrapper {
        flex-direction: column;
    }

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

    .contact-info-panel {
        padding: 4rem 2rem;
    }
}

/* Features Section — Why Choose LIFO — fits in ONE screen */
.features-section {
    position: relative;
    z-index: 2;
    background-color: #000000;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 6rem 4rem;
}

.text-center {
    text-align: center;
    color: var(--white) !important;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card {
    text-align: left;
    padding: 3rem 2.5rem;
    background-color: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.4s ease;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.feature-icon {
    color: var(--primary-red);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.feature-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--white);
    letter-spacing: 0.03em;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.7;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}


/* Footer Section */
.site-footer {
    position: relative;
    z-index: 2;
    background-color: var(--black);
    color: var(--white);
    padding: 1rem 2rem 1.5rem;
}

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

.footer-brand p {
    color: #888;
    line-height: 1.6;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links h4,
.footer-social h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}