:root {
    /* Brand Colors (Black & Gold) */
    --brand-primary: #D4AF37; /* Classic Gold */
    --brand-secondary: #B5952F;
    --brand-accent: #F9E596;
    
    /* Backgrounds */
    --bg-body: #030303; /* Deepest black */
    --bg-surface: rgba(255, 255, 255, 0.02);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    
    /* Typography */
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    
    /* Utility */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Film Grain Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Mobile Safari Anti-Overflow Wrapper */
.site-wrapper {
    overflow-x: hidden; 
    width: 100%; 
    position: relative; 
    min-height: 100vh;
}

/* Ambient Global Glows */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, rgba(212, 175, 55, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: cinematicPulse 8s ease-in-out infinite alternate;
}

@keyframes cinematicPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    100% { transform: scale(1.1) translate(20px, -20px); opacity: 1; }
}

.ambient-glow.top-left { top: -200px; left: -200px; animation-delay: 0s; }
.ambient-glow.bottom-right { bottom: -200px; right: -200px; animation-delay: -4s; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

.text-gold { 
    background: linear-gradient(135deg, #F9E596 0%, #D4AF37 50%, #B5952F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--brand-primary); 
}
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #000;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background-color: var(--brand-accent);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255,255,255,0.4);
    }
    .btn-outline:hover {
        background-color: rgba(212, 175, 55, 0.1);
        border-color: var(--brand-accent);
        color: var(--brand-accent);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    }
}

.btn:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: background var(--transition-smooth), padding var(--transition-smooth);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
    .nav-links a:hover {
        color: var(--brand-primary);
    }
}

/* Hamburger Menu (Bulletproof) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    z-index: 9999;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: #111;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video.loaded {
    opacity: 0.6; /* Dim video to make text readable */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, rgba(5,5,5,0.9) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections */
section {
    padding: 6rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Services / Solutions Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    min-width: 0;
}

.solution-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-smooth);
}

.solution-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-icon {
    width: 48px;
    height: 48px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    font-size: 1.5rem;
}

.solution-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.solution-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (hover: hover) and (pointer: fine) {
    .solution-card:hover {
        transform: translateY(-5px);
        background: var(--bg-card-hover);
        border-color: rgba(212, 175, 55, 0.3);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
}

.solution-card:active {
    transform: scale(0.98);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item-icon {
    color: var(--brand-primary);
    font-size: 1.5rem;
}

/* Contact Action Cards */
.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-action-card {
    display: flex;
    align-items: center;
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.contact-action-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-5px);
}

.contact-action-card:active {
    transform: scale(0.98);
}

.action-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1.5rem;
}

.whatsapp-card .action-icon-wrapper {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.email-card .action-icon-wrapper {
    background: rgba(212, 175, 55, 0.1);
    color: var(--brand-primary);
}

.action-details h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
}

.action-details p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.action-arrow {
    margin-left: auto;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.contact-action-card:hover .action-arrow {
    transform: translateX(5px);
    color: var(--brand-primary);
}

/* Cinematic Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background: #020202;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: right var(--transition-smooth);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
}

/* Why Choose Us Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-fast);
}

.feature-card i {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (hover: hover) and (pointer: fine) {
    .feature-card:hover {
        transform: translateY(-5px);
        background: var(--bg-card-hover);
        border-color: rgba(212, 175, 55, 0.3);
    }
}

/* Facebook Feed */
.fb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fb-post-card {
    background: rgba(15, 15, 15, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fb-header {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
}

.fb-avatar {
    width: 40px;
    height: 40px;
    background: var(--brand-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
}

.fb-header h4 {
    margin: 0;
    font-size: 1rem;
}

.fb-header span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fb-content {
    padding: 0 1.5rem 1.5rem;
}

.fb-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fb-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.fb-link {
    display: block;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    transition: background var(--transition-fast);
}

.fb-link:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Gallery Carousel - Coverflow */
.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: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--brand-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--brand-primary);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

@media (hover: none) and (pointer: coarse) {
    .carousel-btn {
        display: none;
    }
}
