:root {
    /* Client Brand Colors */
    --brand-primary: #0066cc;
    --brand-secondary: #2C3539;
    --brand-hover: #3385ff;
    
    /* Backgrounds */
    --bg-body: #121212;
    --bg-surface: #1E1E1E;
    --bg-card: #2A2A2A;
    
    /* Typography */
    --text-main: #FFFFFF;
    --text-muted: #B0B0B0;
    
    /* Utility */
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brand-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    display: inline-block;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}
.contact-details-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(15px);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
@media (hover: hover) and (pointer: fine) {
    .contact-item-row:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(26, 75, 143, 0.2);
    }
}
.contact-item-row .icon {
    font-size: 2.5rem;
}
.contact-item-row h4 {
    margin-bottom: 5px;
    color: var(--text-main);
}
.contact-item-row p, .contact-item-row a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--brand-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
    margin-top: 0;
    overflow: hidden;
    background-color: #000;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 18, 18, 0.3), rgba(18, 18, 18, 0.5));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--brand-primary);
    color: var(--text-main);
    font-weight: 700;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--brand-hover);
    color: var(--text-main);
}

/* Stats Section */
.stats-section {
    background-color: rgba(18, 18, 18, 0.98);
    padding: 60px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -10px; /* Slight overlap for smooth transition */
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Section */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--brand-primary);
}

/* Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.solution-card {
    background-color: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.solution-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.solution-content {
    padding: 30px;
}

@media (hover: hover) and (pointer: fine) {
    .solution-card:hover {
        transform: translateY(-10px);
        border-color: var(--brand-primary);
        box-shadow: 0 15px 35px rgba(26, 75, 143, 0.4);
    }
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--brand-primary);
}

.solution-card p {
    color: var(--text-muted);
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.contact-item {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item h4 {
    color: var(--brand-primary);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-item p, .contact-item a {
    color: var(--text-main);
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--bg-surface);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Utilities */
input, select, textarea {
    font-size: 16px; /* Prevent iOS zoom */
}
.hero-content h1, .hero-content p {
    text-shadow: 2px 2px 10px rgba(0,0,0,1);
    position: relative;
    z-index: 10;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 10;
}
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}
.gallery-cta {
    position: relative;
    padding: 120px 0;
    text-align: center;
    background-image: url('../assets/gallery-official-3.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 80px;
}
.gallery-cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(18, 18, 18, 0.75);
}
.gallery-cta-content {
    position: relative;
    z-index: 2;
}
.social-icons-contact {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    justify-content: space-around;
    width: 100%;
}
.social-icons-contact a {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-icons-contact a:hover {
    background: var(--brand-primary);
    transform: translateY(-3px);
}
.social-icons-contact svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}
@media (max-width: 768px) {
    .contact-grid-layout {
        display: flex;
        flex-direction: column;
    }
    .contact-image {
        order: -1;
    }
    .social-icons-contact {
        justify-content: space-between;
        width: 100%;
        padding-left: 0 !important;
    }
    .logo {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .logo img {
        height: 60px !important;
    }
    .logo span {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 10px;
    }
    .hero-buttons .btn, .hero-buttons .btn-whatsapp {
        width: 100%;
    }
    .gallery-cta {
        padding: 60px 0;
    }
}
/* Coverflow Carousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 380px;
    overflow: hidden;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.carousel-track {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-slide {
    position: absolute;
    width: 320px;
    height: 240px;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0s 0.5s, box-shadow 0.5s ease;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-slide.center {
    transform: translateX(0) scale(1.3);
    opacity: 1;
    z-index: 5;
    transition: transform 0.5s ease, opacity 0.5s ease, z-index 0s 0s, box-shadow 0.5s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}
.carousel-slide.left-1 {
    transform: translateX(-260px) scale(0.9);
    opacity: 0.6;
    z-index: 4;
}
.carousel-slide.right-1 {
    transform: translateX(260px) scale(0.9);
    opacity: 0.6;
    z-index: 4;
}
.carousel-slide.hidden {
    transform: translateX(0) scale(0.5);
    opacity: 0;
    z-index: 1;
}

@media (max-width: 992px) {
    .carousel-slide.center { transform: translateX(0) scale(1.1); }
    .carousel-slide.left-1 { transform: translateX(-180px) scale(0.85); }
    .carousel-slide.right-1 { transform: translateX(180px) scale(0.85); }
}
@media (max-width: 600px) {
    .carousel-slide.center { transform: translateX(0) scale(1); }
    .carousel-slide.left-1 { transform: translateX(-140px) scale(0.7); opacity: 0.6; }
    .carousel-slide.right-1 { transform: translateX(140px) scale(0.7); opacity: 0.6; }
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.8);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}
.carousel-btn:hover {
    background: var(--brand-primary);
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Facebook Posts */
.fb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.fb-post-card {
    background: rgba(25, 25, 25, 0.6);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
@media (hover: hover) and (pointer: fine) {
    .fb-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(26, 75, 143, 0.3);
        border-color: var(--brand-primary);
    }
}

.contact-item-row:active, .solution-card:active, .fb-post-card:active {
    transform: scale(0.98);
    border-color: var(--brand-primary);
    transition: transform 0.1s ease;
}
.fb-header {
    display: flex;
    align-items: center;
    gap: 15px;
}
.fb-header img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.fb-header h4 { margin: 0; font-size: 1rem; color: var(--text-main); }
.fb-header span { color: var(--text-muted); font-size: 0.85rem; }
.fb-content p { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); }
.fb-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
@media (max-width: 992px) {
    .fb-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .fb-grid { grid-template-columns: 1fr; }
}

/* Updated Socials */
.social-icons-contact a.whatsapp { background-color: #25d366; }
.social-icons-contact a.whatsapp:hover { background-color: #1ebe57; box-shadow: 0 0 10px #25d366; }
.social-icons-contact a.facebook { background-color: #1877f2; }
.social-icons-contact a.facebook:hover { background-color: #166fe5; box-shadow: 0 0 10px #1877f2; }
.social-icons-contact a.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icons-contact a.instagram:hover { box-shadow: 0 0 10px #dc2743; }
.social-icons-contact a.tiktok { background-color: #000000; border: 1px solid rgba(255,255,255,0.2); }
.social-icons-contact a.tiktok:hover { background-color: #111; box-shadow: 0 0 10px rgba(255,255,255,0.3); }

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 9999;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.hamburger span {
    width: 30px;
    height: 3px;
    background-color: #FFFFFF;
    transition: 0.3s;
    border-radius: 3px;
}
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: rgba(18,18,18,0.98);
        border-left: 1px solid rgba(255,255,255,0.05);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 9998;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    }
    
    .nav.active { right: 0; }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.3s;
    border-radius: var(--radius-md);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 10000;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--brand-primary);
    text-decoration: none;
    cursor: pointer;
}
.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 18, 18, 0.8);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
    z-index: 10000;
}
.lightbox-btn:hover {
    background: var(--brand-primary);
}
.lightbox-btn.prev { left: 20px; }
.lightbox-btn.next { right: 20px; }

/* Ambient Lighting (Glows) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(10, 30, 80, 0.15) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}
.glow-accent {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 75, 143, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    top: -200px;
    right: -200px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
