/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #FFB800; /* Warm Yellow Gradient Base */
    --primary-light: #FFD25F;
    --primary-dark: #cc9300;
    
    /* Dark Theme Base */
    --dark-bg: #0a0a0a;
    --dark-surface: #141414;
    --dark-surface-elevated: #1f1f1f;
    
    /* Glassmorphism */
    --glass-bg: rgba(10, 10, 10, 0.75);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-muted: #666666;

    /* Spacing & Layout */
    --container-padding: 2rem;
    --section-padding: 100px 0;
    --header-height: 80px;

    /* Animation */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & GLOBAL STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 600;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(255, 184, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(255, 184, 0, 0.05);
    transform: translateY(-3px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

/* Scrolled state */
.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
}

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

.logo img {
    height: 45px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100vw;
    height: 100vh;
    background: var(--dark-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
    transition: right var(--transition-smooth);
}

.mobile-menu.open {
    right: 0;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

/* Background Image Slideshow */
.hero-bg-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-slide-1 {
    background-image: url('contact/hero.jpg');
    animation: crossFade1 16s infinite;
}

.hero-slide-2 {
    background-image: url('contact/13.jpg'); /* New image requested */
    animation: crossFade2 16s infinite;
}

@keyframes crossFade1 {
    0%     { opacity: 1; transform: scale(1); }
    45%    { opacity: 1; transform: scale(1.08); }
    55%    { opacity: 0; transform: scale(1.09); }
    90%    { opacity: 0; transform: scale(1.09); }
    100%   { opacity: 1; transform: scale(1); }
}

@keyframes crossFade2 {
    0%     { opacity: 0; transform: scale(1.09); }
    45%    { opacity: 0; transform: scale(1.09); }
    55%    { opacity: 1; transform: scale(1); }
    90%    { opacity: 1; transform: scale(1.08); }
    100%   { opacity: 0; transform: scale(1.09); }
}

/* Yellow Gradient Overlay (requested) */
.hero-gradient-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.4) 0%, rgba(10, 10, 10, 0.95) 80%);
    z-index: 1;
}

/* Grid / Squares Effect in background (requested) */
.hero-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, rgba(255, 184, 0, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 184, 0, 0.07) 1px, transparent 1px);
    z-index: 2;
    /* Subtle fade at the bottom */
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   REELS / STORIES SECTION
   ========================================================================== */
.reels-section {
    padding: 60px 0;
    background: var(--dark-bg);
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Slight overlap with hero */
}

/* Ensure padding doesn't clip the shadow/scroll */
.reels-section .container {
    max-width: 100%;
    padding-left: var(--container-padding);
    padding-right: 0;
}

.reels-container {
    display: flex;
    justify-content: center; /* Centered on desktop */
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding-bottom: 20px;
    padding-right: var(--container-padding);
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reel-item {
    flex: 0 0 auto;
    width: 280px; /* Desktop width */
    aspect-ratio: 9/16;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border: 1px solid var(--glass-border);
    position: relative;
    background: var(--dark-surface);
    cursor: pointer;
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* PLAY BUTTON OVERLAY (optional, but good for UX) */
.reel-item::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    transition: opacity 0.3s;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.reel-item.playing::after {
    opacity: 0; /* Hide play button when playing */
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: var(--section-padding);
    background: var(--dark-bg);
    position: relative;
}

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

.services-header .section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--dark-surface);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 184, 0, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(255, 184, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.service-icon svg {
    stroke: var(--primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--primary);
}

.service-card:hover .service-icon svg {
    stroke: var(--dark-bg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    padding: var(--section-padding);
    background: #0d0d0d;
    position: relative;
    border-top: 1px solid var(--glass-border);
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
}

.about-content {
    flex: 1 1 300px;
    max-width: 100%;
}

.about-stats {
    flex: 1 1 300px;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--dark-surface);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-list {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-primary);
}

.about-list li::before {
    content: '✓';
    color: var(--dark-bg);
    background: var(--primary);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

@media (max-width: 480px) {
    .about-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GALLERY MARQUEE SECTION
   ========================================================================== */
.gallery-marquee-section {
    padding: 60px 0;
    background: var(--dark-bg);
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    animation: scrollMarquee 30s linear infinite;
    /* Added top and bottom padding so the images have space to scale up on hover without being clipped by outer overflow */
    padding: 25px 0 25px 1.5rem;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-img {
    height: 350px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
}

.marquee-img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

@media (max-width: 768px) {
    .marquee-img {
        height: 250px;
    }
}

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================== */
.contact-cta-section {
    padding: var(--section-padding);
    background: var(--dark-bg);
}

.contact-cta-card {
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.05), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 184, 0, 0.15);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.contact-cta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(circle at top right, rgba(255, 184, 0, 0.15), transparent 40%),
        radial-gradient(circle at bottom left, rgba(255, 184, 0, 0.1), transparent 40%);
    pointer-events: none;
}

.contact-cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.contact-cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 2;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.contact-btn {
    display: flex;
    align-items: center;
    background: var(--dark-surface);
    padding: 1.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
    gap: 1.2rem;
    text-align: left;
    min-width: 250px;
    text-decoration: none;
}

.contact-btn:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.contact-btn:hover .contact-text span,
.contact-btn:hover .contact-text strong {
    color: var(--dark-bg);
}

.contact-btn .icon {
    font-size: 2rem;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.contact-text strong {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .contact-cta-card {
        padding: 3rem 1.5rem;
    }
    .contact-cta-card h2 {
        font-size: 2rem;
    }
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--dark-surface);
    border-top: 1px solid var(--glass-border);
    padding: 80px 0 20px;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 350px;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
}

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

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE FIRST PRIORITY)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop nav */
    }

    .hamburger {
        display: flex;
    }

    /* Hamburger Animation to X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    .logo img {
        height: 38px;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .reels-section {
        margin-top: -30px;
        padding: 40px 0;
    }
    
    .reels-container {
        justify-content: flex-start; /* Ensure scrolling works properly on overflow */
    }

    .reel-item {
        /* Container width = 100vw. To show ~2.5 items, width is roughly 40vw */
        width: 38vw; 
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    :root {
        --container-padding: 1.25rem;
    }
    
    .about-stats {
        gap: 0.8rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

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

/* ==========================================================================
   FLOATING ACTION BUTTONS
   ========================================================================== */
.floating-btn {
    position: fixed;
    bottom: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.whatsapp-btn {
    left: 30px;
    background: linear-gradient(135deg, var(--primary), #FF8C00); /* Yellow gradient requested */
    color: var(--dark-bg);
}

.whatsapp-btn:hover {
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.5);
}

.scroll-top-btn {
    right: 30px;
    background: var(--dark-surface);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--primary);
    color: var(--dark-bg);
    border-color: var(--primary);
}

@media (max-width: 768px) {
    .floating-btn {
        bottom: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-btn {
        left: 15px;
    }
    .scroll-top-btn {
        right: 15px;
    }
}
