/* =========================================
   AKTIVE KREATIVE - MASTER STYLESHEET
   ========================================= */

:root {
    --bg-body: #ffffff;
    --text-main: #000000;
    --radius: 24px;
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-stack);
    background: var(--bg-body);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-size: 16px;
}

a { cursor: pointer; transition: all 0.3s ease; text-decoration: none; color: inherit; }
button { cursor: pointer; }

/* UTILITIES */
.container { width: 92%; max-width: 1400px; margin: 0 auto; }
.flex { display: flex; align-items: center; }
.grid { display: grid; gap: 20px; }
.text-center { text-align: center; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(3.5rem, 8vw, 7.5rem); } 
h2 { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 24px; }
h3 { font-size: 1.8rem; font-weight: 700; }
p { color: #000; font-size: 1.15rem; line-height: 1.5; font-weight: 400; }

/* NAVBAR */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-content { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; z-index: 1002; }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { font-size: 1rem; font-weight: 600; color: #000; display: inline-flex; align-items: center; }
.nav-links a:hover { opacity: 0.6; }
.nav-links .btn-nav {
    background: #000; color: #fff; padding: 12px 30px; border-radius: 40px; font-weight: 700; transition: transform 0.2s;
}
.nav-links .btn-nav:hover { transform: scale(1.05); opacity: 1; }
.hamburger { display: none; font-size: 2rem; cursor: pointer; z-index: 1002; }

/* =========================================
   HOME PAGE SECTIONS
   ========================================= */

.hero {
    position: relative; height: 92vh; width: 100%; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    color: #fff; text-align: center;
}
.hero-bg {
    position: absolute; inset: 0;
    background: url('https://images.pexels.com/photos/12025049/pexels-photo-12025049.jpeg') no-repeat center center/cover;
    z-index: -2; filter: brightness(0.65);
}
.hero h1 { color: #fff; margin-bottom: 20px; text-shadow: 0 5px 30px rgba(0,0,0,0.4); }
.hero-sub { font-size: 1.2rem; font-weight: 600; opacity: 0.95; margin-bottom: 50px; letter-spacing: 0.5px; }
.hero-ctas { display: flex; gap: 20px; }
.btn-primary { background: #fff; color: #000; padding: 18px 40px; border-radius: 50px; font-weight: 700; font-size: 1.05rem; transition: transform 0.2s; }
.btn-primary:hover { transform: scale(1.05); }
.btn-secondary { border: 1px solid #fff; color: #fff; padding: 18px 40px; border-radius: 50px; font-weight: 600; font-size: 1.05rem; background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.btn-secondary:hover { background: #fff; color: #000; }

.carousel-section { padding: 50px 0 50px 0; }
.carousel-container { overflow: hidden; padding: 20px 0 60px 0; }
.carousel-track { display: flex; gap: 30px; transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
.service-card { min-width: 320px; height: 420px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.06); transition: transform 0.4s ease; cursor: pointer; border: 1px solid #f5f5f5; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.card-img { width: 100%; height: 55%; object-fit: cover; }
.card-body { padding: 30px; display: flex; flex-direction: column; justify-content: space-between; height: 45%; }
.carousel-nav { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.nav-btn { width: 50px; height: 50px; border-radius: 50%; border: 1px solid #ddd; background: #fff; display: flex; align-items: center; justify-content: center; font-size:1.4rem; transition: 0.2s; }
.nav-btn:hover { background: #000; color: #fff; border-color: #000; }

.manifesto { background: #000; color: #fff; padding: 120px 0; text-align: center; }
.manifesto-text { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.manifesto span { color: #888; font-size: 1.2rem; font-weight: 400; display: block; margin-top: 30px; letter-spacing: 0; }

.stats-section { padding: 50px 0; border-bottom: 1px solid #eee; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; text-align: center; }
.stat-number { font-size: 4rem; font-weight: 700; color: #000; line-height: 1; margin-bottom: 10px; }
.stat-label { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #666; }

.creative-work { padding: 50px 0 50px 0; background: #fff; }
.gallery-header { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.portfolio-grid-2-col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.project-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform 0.4s ease; height: 500px; }
.project-item:hover { transform: scale(0.99); }
.project-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.85), transparent); color: #fff; z-index: 2; transform: translateY(20px); opacity: 0; transition: all 0.3s ease; }
.project-item:hover .project-info { transform: translateY(0); opacity: 1; }
.tag { background: #fff; color: #000; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; display: inline-block; margin-bottom: 12px; }

.testimonials { padding: 50px 0 0 0; background: #fafafa; }
.testimonials-slider-container { overflow: hidden; padding: 20px 0 60px 0; }
.testimonial-track { display: flex; gap: 30px; transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1); }
.review-card { min-width: 350px; max-width: 600px; flex-shrink: 0; background: #fff; padding: 50px; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid #eee; }
.stars { color: #000; font-size: 1.1rem; margin-bottom: 25px; letter-spacing: 2px; } 
.review-text { font-size: 1.3rem; font-weight: 600; line-height: 1.4; margin-bottom: 35px; color: #000; }
.reviewer { display: flex; align-items: center; gap: 15px; }
.reviewer-img { width: 55px; height: 55px; border-radius: 50%; object-fit: cover; }
.reviewer-info h4 { font-size: 1rem; margin: 0; font-weight: 700; }
.reviewer-info p { font-size: 0.9rem; color: #666; margin: 0; margin-top: 2px; }

.cinematic-video { padding: 50px 50px 50px 50px; background: #fafafa; position: relative; }
.video-wrapper { position: relative; max-width: 1000px; margin: 0 auto; width: 100%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.08); background: #000; }
.cinematic-video video { width: 100%; display: block; aspect-ratio: 16 / 9; }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.2), transparent); pointer-events: none; z-index: 2; }
.video-caption { position: absolute; bottom: 0; left: 0; width: 100%; padding: 50px; z-index: 3; color: #fff; background: linear-gradient(to top, rgba(0,0,0,0.9), transparent); pointer-events: none; }
.video-caption h2 { color: #fff; font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 10px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.video-caption p { color: rgba(255,255,255,0.9); font-size: 1.1rem; margin: 0; }

/* =========================================
   ABOUT PAGE SECTIONS
   ========================================= */

.mission-section { height: 80vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.pexels.com/photos/5749196/pexels-photo-5749196.jpeg') no-repeat center center/cover; background-attachment: fixed; text-align: center; color: #fff; padding: 0 20px; }
.mission-text { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.1; text-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.story-section { padding: 100px 0; background: #fff; }
.story-container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.story-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.story-content p { font-size: 1.1rem; color: #555; line-height: 1.8; margin-bottom: 20px; }

/* CORE VALUES */
.values-section { padding: 80px 0; background: #f9f9f9; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.value-card { background: #fff; padding: 40px; border-radius: var(--radius); text-align: center; transition: transform 0.3s ease; border: 1px solid #eee; display: flex; flex-direction: column; align-items: center; }
.value-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.value-icon-svg { width: 50px; height: 50px; margin-bottom: 25px; stroke: #000; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.value-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.value-card p { font-size: 0.95rem; color: #666; }

/* PROCESS CAROUSEL */
.process-section { padding: 100px 0; background: #fff; overflow: hidden; }
.carousel-header { text-align: center; margin-bottom: 50px; }
.process-carousel-wrapper { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.process-track { display: flex; gap: 30px; transition: transform 0.5s ease-in-out; cursor: grab; }
.process-card { background: #fff; border-radius: var(--radius); padding: 40px 30px; position: relative; border: 1px solid #eee; min-width: 320px; min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.process-content { position: relative; z-index: 2; }
.process-number { position: absolute; top: 0; right: 10px; font-size: 6rem; font-weight: 900; color: #f5f5f5; z-index: 1; line-height: 1; }

.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid #ddd; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; font-size: 1.2rem; transition: all 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.carousel-btn:hover { background: #000; color: #fff; border-color: #000; }
.prev-btn { left: -10px; }
.next-btn { right: -10px; }

/* TEAM */
.founders-section { padding: 100px 0; background: #fff; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; max-width: 1100px; margin: 0 auto; }
.team-card { width: 300px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.team-card:hover { transform: translateY(-5px); }
.team-img-wrap { height: 320px; overflow: hidden; }
.team-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-info { padding: 25px; text-align: center; }
.team-info h3 { font-size: 1.3rem; margin-bottom: 5px; }
.team-role { display: block; color: #000; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; margin-bottom: 15px; }
.team-bio { font-size: 0.9rem; color: #666; line-height: 1.5; }

/* GALLERY */
.gallery-section { padding: 50px 0; background: #111; }
.gallery-masonry { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 8px; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; height: 100%; }
.gallery-item:nth-child(4) { grid-column: span 2; }

/* =========================================
   CONTACT PAGE SECTIONS
   ========================================= */

.contact-hero { text-align: center; padding: 140px 0 80px; background: #fff; }
.contact-hero h1 { font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 20px; color: #1d1d1f; }
.contact-hero p { font-size: 1.4rem; color: #86868b; font-weight: 400; max-width: 600px; margin: 0 auto; }

.contact-section { padding: 50px 0 120px; background: #f5f5f7; }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; background: #fff; padding: 80px; border-radius: 30px; box-shadow: 0 20px 60px rgba(0,0,0,0.03); max-width: 1200px; margin: 0 auto; }

.contact-info { padding-right: 20px; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 30px; color: #1d1d1f; }
.info-item { margin-bottom: 40px; }
.info-label { display: block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #86868b; margin-bottom: 8px; }
.info-value { font-size: 1.6rem; font-weight: 500; color: #1d1d1f; display: block; text-decoration: none; transition: color 0.2s; }
.info-value:hover { color: #0071e3; text-decoration: underline; text-decoration-thickness: 1px; }

.whatsapp-btn { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 14px 28px; border-radius: 50px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; margin-top: 20px; }
.whatsapp-btn:hover { transform: scale(1.02); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); text-decoration: none; color: #fff; }

.contact-form-group { margin-bottom: 35px; position: relative; }
.form-label { font-size: 0.9rem; font-weight: 600; color: #1d1d1f; margin-bottom: 10px; display: block; }
.form-input, .form-textarea { width: 100%; background: transparent; border: 1px solid #d2d2d7; border-radius: 12px; padding: 18px 20px; font-size: 1.1rem; font-family: inherit; color: #1d1d1f; transition: all 0.3s ease; outline: none; }
.form-input:focus, .form-textarea:focus { border-color: #0071e3; box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1); }
.form-textarea { resize: vertical; min-height: 150px; }
.submit-btn { background: #1d1d1f; color: #fff; border: none; padding: 18px 50px; font-size: 1.1rem; font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; }
.submit-btn:hover { background: #000; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.location-visual { width: 100%; height: 400px; background: url('https://images.pexels.com/photos/9494918/pexels-photo-9494918.jpeg') no-repeat center center/cover; position: relative; margin-top: 80px; border-radius: 30px; overflow: hidden; }
.location-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); display: flex; align-items: center; justify-content: center; flex-direction: column; color: #fff; text-align: center; padding: 20px; }
.location-overlay h3 { font-size: 2.5rem; margin-bottom: 15px; font-weight: 700; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.location-overlay p { font-size: 1.3rem; color: #ffffff; font-weight: 500; opacity: 1; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* FOOTER */
footer { padding: 50px 0 0 0; text-align: center; background: #fff; border-top: 1px solid #eee; }
.footer-links { display: flex; justify-content: center; gap: 40px; margin: 50px 0; font-weight: 600; font-size: 1rem; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .portfolio-grid-2-col { grid-template-columns: 1fr; }
    .project-item { height: 450px; }
    .video-wrapper { max-width: 100%; }
    .video-caption { padding: 30px; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 40px; gap: 60px; }
    .contact-hero h1 { font-size: 3rem; }
    .info-value { font-size: 1.3rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: #fff; flex-direction: column; justify-content: center; transform: translateX(-100%); transition: transform 0.4s ease; z-index: 1001; gap: 30px; }
    .nav-links.active { transform: translateX(0); }
    .stats-grid { grid-template-columns: 1fr; gap: 50px; }
    .hero h1 { font-size: 3rem; }
    .hero-ctas { flex-direction: column; width: 85%; gap: 15px; }
    .project-info { opacity: 1; transform: translateY(0); background: rgba(0,0,0,0.6); } 
    .review-card { min-width: 300px; }
    .story-container { grid-template-columns: 1fr; }
    .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 250px; }
    .gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .gallery-item:nth-child(4) { grid-column: span 1; }
    .mission-text { font-size: 3rem; }
    .process-track { overflow-x: scroll; scroll-snap-type: x mandatory; padding-bottom: 20px; }
    .process-card { scroll-snap-align: center; }
    .carousel-btn { display: none; }
    .team-grid { flex-direction: column; align-items: center; }
    .team-card { width: 100%; max-width: 350px; }
}








/* =========================================
   CTA SECTION (WELL SPACED & CENTERED)
   ========================================= */

.cta-section {
    padding: 160px 20px; /* Large vertical spacing */
    background: #000;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper to keep text from stretching too wide on big screens */
.cta-content {
    max-width: 700px;
    margin: 0 auto; /* Centers the content box */
}

.cta-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Responsive big text */
    color: #fff;
    margin-bottom: 25px; /* Space below title */
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cta-section p {
    font-size: 1.4rem; /* Larger paragraph text for impact */
    color: #d1d1d6; /* Soft off-white for better readability */
    margin-bottom: 50px; /* Generous space above button */
    font-weight: 400;
    line-height: 1.5;
}

/* Style the button specifically for this section */
.cta-section .btn-primary {
    display: inline-block;
    padding: 20px 50px; /* Large pill-shaped button */
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}














/* =========================================
   SERVICES PAGE - THE "BEST" BENTO DESIGN
   ========================================= */

/* 1. HERO - Cinematic Dark */
.service-hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1598488035139-bdbb2231ce04?auto=format&fit=crop&w=1920&q=80') center/cover;
    background-attachment: fixed; /* Parallax effect */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-hero h1 {
    font-size: clamp(4rem, 10vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 0.9;
    text-align: center;
    z-index: 2;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* 2. MASTER BENTO GRID (Contains All Services) */
.services-bento-section {
    padding: 0;
    background: #fff;
}

.bento-master-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 350px; /* Fixed height for uniformity */
    gap: 1px; /* 1px gap for visual separator lines */
    background-color: #eee; /* Color of the lines */
    border-bottom: 1px solid #eee;
}

.bento-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Text at bottom */
    padding: 50px;
    cursor: pointer;
    background-color: #000; /* Fallback */
}

/* Background Image Handling */
.bento-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.bento-card:hover .bento-bg {
    transform: scale(1.05);
}

/* Dark Overlay (Crucial for White Text) */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.2));
    z-index: 1;
    transition: background 0.3s;
}

.bento-card:hover .bento-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.1));
}

/* Typography - Strict White */
.bento-content {
    position: relative;
    z-index: 2;
    color: #ffffff; /* Forced White */
}

.bento-card h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.bento-desc {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.4;
    color: #fff;
    max-width: 90%;
}

/* Grid Spans (Layout) */

/* 1. Film & Video (Large 2x2) */
.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
}
/* Adjust text alignment for large card */
.span-2x2 .bento-content {
    align-self: flex-end; /* Bottom left */
}

/* 2. Audio (Wide 2x1) */
.span-2x1 {
    grid-column: span 2;
}

/* 3. Events (Standard 1x1) */
.span-1x1 {
    grid-column: span 1;
}

/* 4. Branding (Standard 1x1) */
.span-1x1-vert {
    grid-column: span 1;
    grid-row: span 2; /* Tall */
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    text-align: center;
}
.span-1x1-vert .bento-overlay {
    background: rgba(0,0,0,0.7); /* Stronger overlay for center text */
}

/* 5. Photography (Wide 2x1) */
.span-2x1-photography {
    grid-column: span 2;
    grid-row: span 1;
}

/* 3. CTA SECTION */
.services-cta-footer {
    padding: 100px 0;
    background: #000;
    color: #fff;
    text-align: center;
    border-top: 1px solid #333;
}

.services-cta-footer h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bento-master-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
        grid-auto-rows: 300px;
    }
    /* Reset spans to fit 2 columns */
    .span-2x2 { grid-column: span 2; grid-row: span 2; }
    .span-2x1 { grid-column: span 2; }
    .span-1x1 { grid-column: span 1; }
    .span-1x1-vert { grid-column: span 1; grid-row: span 2; } /* Keeps it tall */
    .span-2x1-photography { grid-column: span 2; }
}

@media (max-width: 600px) {
    .bento-master-grid {
        grid-template-columns: 1fr; /* 1 Column on Mobile */
        grid-auto-rows: 400px;
    }
    /* Reset spans for mobile */
    .span-2x2, .span-2x1, .span-1x1, .span-1x1-vert, .span-2x1-photography {
        grid-column: span 1;
        grid-row: span 1;
    }
    .service-hero h1 { font-size: 3.5rem; }
}















/* =========================================
   PORTFOLIO PAGE - EDITORIAL
   ========================================= */

/* 1. FEATURED HERO SECTION */
.portfolio-hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.portfolio-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.portfolio-hero:hover .portfolio-hero-img {
    transform: scale(1.02); /* Subtle zoom */
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 5vw;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 800;
    color: #fff;
    line-height: 0.9;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.project-tag {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: fit-content;
}

/* 2. PORTFOLIO GRID SECTION */
.portfolio-grid-section {
    padding: 100px 5vw;
    background: #fff;
}

.section-header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-header h2 {
    font-size: 2.5rem;
    color: #000;
    margin: 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    grid-auto-rows: 500px; /* Uniform height for standard items */
    grid-auto-flow: dense; /* Fills gaps efficiently */
}

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #000; /* Placeholder color */
}

/* Item Image */
.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Content Overlay */
.item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3), transparent);
    opacity: 0.9;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    z-index: 2;
}

.item-overlay h3 {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.item-overlay span {
    font-size: 0.9rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    display: block;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.05s; /* Slight delay */
}

.portfolio-item:hover .item-overlay {
    opacity: 1; /* Slight brighten on hover */
}
.portfolio-item:hover .item-overlay h3,
.portfolio-item:hover .item-overlay span {
    transform: translateY(0);
}

/* Grid Spans - Asymmetry */
.wide { grid-column: span 2; }
.tall { grid-row: span 2; }

/* Responsive */
@media (max-width: 900px) {
    .wide, .tall { grid-column: span 1; grid-row: span 1; } /* Reset spans on mobile */
    .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 400px; }
    .hero-content { padding: 40px; }
    .hero-content h1 { font-size: 3.5rem; }
    .portfolio-item img { opacity: 1; } /* Always visible on mobile */
}








/* =========================================
   INDIVIDUAL SERVICE PAGES - DETAILED VIEWS
   ========================================= */

/* 1. DETAIL HERO SECTION */
.service-detail-hero {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.service-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Ensures white text is readable */
}

.detail-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.detail-hero-content h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Breadcrumb / Back Link */
.back-link {
    display: inline-block;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    padding-bottom: 5px;
}
.back-link:hover { color: #fff; border-color: #fff; }

/* 2. MAIN CONTENT AREA */
.service-detail-content {
    padding: 120px 0;
    background: #fff;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Split layout */
    gap: 80px;
    align-items: start;
}

/* Left: Text */
.detail-text-col { padding: 0 40px; }
.detail-intro {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 40px;
    font-weight: 500;
}

.section-title-small {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-text-col h3 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 20px;
    margin-top: 40px;
}

.capability-list {
    list-style: none;
}
.capability-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: #444;
    line-height: 1.5;
}
.capability-list li::before {
    content: '•';
    color: #000;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Right: Visual (Sticky) */
.detail-visual-col {
    position: sticky;
    top: 100px;
    height: 100%;
}

.detail-img-lg {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* 3. DELIVERABLES SECTION */
.deliverables-section {
    background: #f5f5f7;
    padding: 100px 0;
}
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.del-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.del-card:hover { transform: translateY(-5px); }
.del-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #000;
}
.del-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 4. PROCESS STEPS (Small) */
.process-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.step-mini {
    text-align: center;
    padding: 30px 20px;
    background: #f9f9f9;
    border-radius: 12px;
}
.step-num {
    font-size: 2rem;
    font-weight: 800;
    color: #ddd;
    margin-bottom: 10px;
    display: block;
}
.step-mini h5 {
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .detail-container { grid-template-columns: 1fr; }
    .detail-visual-col { position: static; order: -1; margin-bottom: 40px; }
    .detail-text-col { padding: 0 20px; }
    .detail-hero-content h1 { font-size: 4rem; }
}







/* =========================================
   SERVICE FILM - CINEMATIC & DARK
   ========================================= */

/* 1. HERO - Dark & Moody */
.film-hero {
    height: 100vh;
    background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.3)), url('https://images.pexels.com/photos/10395639/pexels-photo-10395639.jpeg') center/cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.film-hero h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.film-tagline {
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #aaa;
    border-top: 1px solid #fff;
    padding-top: 20px;
    display: inline-block;
}

/* 2. INTRO SECTION */
.film-intro {
    padding: 100px 5vw;
    background: #fff;
    text-align: center;
}
.film-intro p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    color: #111;
    line-height: 1.6;
}

/* 3. TIMELINE PROCESS (Film Strip) */
.process-timeline {
    background: #0a0a0a; /* Very Dark */
    padding: 100px 0;
    color: #fff;
    overflow: hidden;
}

.timeline-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* The line connecting dots */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 25px; /* Align with dot center */
    left: 50px;
    right: 50px;
    height: 2px;
    background: #333;
    z-index: 0;
}

.timeline-step {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}

.dot {
    width: 50px;
    height: 50px;
    background: #000;
    border: 2px solid #333;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.3s;
}

.timeline-step:hover .dot {
    background: #fff;
    border-color: #fff;
    color: #000;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.step-desc {
    font-size: 0.9rem;
    color: #888;
    max-width: 200px;
    margin: 0 auto;
}

/* 4. DELIVERABLES (Video Grid) */
.film-deliverables {
    padding: 100px 5vw;
    background: #fff;
}

.film-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.film-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* Video Aspect Ratio */
    background: #000;
}

.film-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.film-card:hover img { opacity: 1; }

.play-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    border: 1px solid #fff;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    opacity: 0;
    transition: all 0.3s;
}

.film-card:hover .play-icon { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

.card-label {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
    font-weight: 600;
}

/* 5. TECH SPECS (Dark Grid) */
.tech-specs {
    background: #111;
    padding: 80px 0;
    color: #fff;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px; /* 1px black border effect */
    background: #222; /* Border color */
}

.spec-item {
    background: #111;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spec-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333; /* Dark gray for subtle look */
    margin-bottom: 10px;
}
.spec-item:hover .spec-number { color: #fff; }
.spec-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
}

@media (max-width: 768px) {
    .timeline-wrapper { flex-direction: column; gap: 40px; }
    .timeline-wrapper::before { width: 2px; height: 100%; left: 50%; top: 0; }
    .film-hero h1 { font-size: 3.5rem; }
}