/* =========================
   LONG LIFE ENTERPRISES
   RESPONSIVE WEBSITE STYLES
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
    padding-top: 70px; /* Prevent navbar overlap */
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff;
    z-index: 1000;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0;
}

.nav-container {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
}

.logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.tagline {
    color: rgb(0, 0, 0);
    font-size: 1.25rem;
    font-weight: bold;
}

/* Push page below fixed navbar */
body {
    margin: 0;
    padding-top: 70px;
    background: #f5f5f5;
}

/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #000;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

/* =========================
   MARQUEE
========================= */

.marquee {
    background: #b8e994;
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 22s linear infinite;
    color: #1b5e20;
    font-weight: bold;
    font-size: 1rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* =========================
   PRODUCTS
========================= */

.products-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.products-section h2 {
    text-align: center;
    color: #38a800;
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.accordion {
    width: 100%;
    background: #38a800;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 12px;
    text-align: left;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background 0.3s ease;
}

.accordion:hover {
    background: #2d8500;
}

.panel {
    display: none;
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.card {
    text-align: center;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card img:hover {
    transform: scale(1.05);
}

.card h3 {
    color: #38a800;
    margin: 15px 0 10px;
}

.card p {
    color: #666;
    font-size: 0.95rem;
}

/* =========================
   PROMOTIONAL IMAGE
========================= */

.promo-section {
    max-width: 1200px;
    margin: 40px auto 60px;
    padding: 0 20px;
    text-align: center;
}

.promo-image {
    width: min(90vw, 900px);
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.promo-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .promo-image {
        width: 100%;
        max-width: 100%;
        border-radius: 14px;
    }
}

/* =========================
   FLOATING BUTTONS
========================= */

.whatsapp-btn,
.email-btn {
    position: fixed;
    bottom: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 30px;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.whatsapp-btn:hover,
.email-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    right: 20px;
    background: #38a800;
}

.email-btn {
    left: 20px;
    background: #38a800;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    justify-content: center;
    align-items: center;
    z-index: 3000;
    padding: 20px;
    cursor: zoom-out;
    transition: background 0.25s ease;
}

.lightbox.show {
    background: rgba(0,0,0,0.9);
}

.lightbox img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    cursor: default;
    transform: scale(0.85);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox.show img {
    transform: scale(1);
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3001;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

/* =========================
   FOOTER
========================= */

footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 25px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    body {
        padding-top: 65px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .tagline {
        font-size: 1rem;
    }

    .products-section {
        margin: 35px auto;
    }

    .products-section h2 {
        font-size: 2rem;
        margin-bottom: 25px;
    }

    .accordion {
        font-size: 1.3rem;
        padding: 18px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card img {
        height: auto;
    }

    .promo-section {
        margin: 30px auto 50px;
    }

    .promo-image {
        width: 100%;
        max-width: 100%;
        max-height: none;
        border-radius: 14px;
    }

    .whatsapp-btn,
    .email-btn {
        width: 58px;
        height: 58px;
        font-size: 26px;
        bottom: 18px;
    }

    .whatsapp-btn {
        right: 15px;
    }

    .email-btn {
        left: 15px;
    }
}

@media (max-width: 480px) {

    .tagline {
        font-size: 0.95rem;
    }

    .products-section h2 {
        font-size: 1.7rem;
    }

    .accordion {
        font-size: 1.15rem;
        padding: 16px;
    }

    .marquee-content {
        font-size: 0.9rem;
    }
}