/* 
   Project: MaPaN Stiker v2
   Theme: Modern Mixed (Dark Hero + Light Content)
   Updated: 2026-02-11
*/

:root {
    --bg-dark: #0f172a;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #f8fafc;
    --accent-gold: #fbbf24;
    --accent-gold-dark: #d97706;
    --accent-green: #25D366;
    --border-light: #e2e8f0;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #0f172a;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
}

/* Hero (Dark) */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #0f172a;
    padding-top: 70px;
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.hero span {
    color: var(--accent-gold);
}

.hero p {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--accent-gold);
    color: #000;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.2s, background 0.2s;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    background: #f59e0b;
}

/* Product Cards (Light) */
.products-section {
    background-color: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-gold);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-gold-dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 25px;
    transition: transform 0.3s, background 0.3s, color 0.3s;
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-gold);
    color: #fff;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Gallery Grid (Darker BG) */
.gallery-section {
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
    border: none;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Features (White) */
.features-section {
    background-color: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon-box {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    color: var(--text-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon-box {
    background: var(--accent-gold);
    color: #fff;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA & Map Section */
.cta-map-section {
    background: var(--bg-light);
    padding-bottom: 0;
}

.cta-box {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px;
    background: linear-gradient(135deg, #fff, #f8fafc);
    border-radius: 24px;
    border: 1px solid var(--border-light);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #1ebc57;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

.map-wrapper {
    position: relative;
    z-index: 10;
    margin-bottom: -100px;
    /* Overlap footer */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    height: 450px;
    border: 4px solid #fff;
}

/* Footer (Dark) */
footer {
    background: #0b1120;
    padding: 160px 0 40px;
    /* Extra padding for overlap */
    color: #cbd5e1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--accent-gold);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1rem;
}

.footer-col a {
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: var(--accent-gold);
    color: #000;
}

/* WhatsApp Float */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #25D366;
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px 12px 16px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-icon-box {
    background: rgba(255, 255, 255, 0.25);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-icon-box i {
    font-size: 22px;
}

.wa-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.wa-float:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

/* Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.wa-float {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .map-wrapper {
        height: 300px;
        margin-bottom: -50px;
    }

    footer {
        padding-top: 100px;
    }

    .wa-text {
        display: none;
    }

    .wa-float {
        padding: 0;
        width: 60px;
        height: 60px;
        justify-content: center;
        border-radius: 50%;
    }

    .wa-icon-box {
        background: transparent;
        width: auto;
        height: auto;
    }

    .wa-icon-box i {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}