/* =========================================================================
   VARIABLES & THEMING
   Premium Light Agency Theme
========================================================================= */
:root {
    /* Color Palette */
    --color-primary: #dc2626; /* YV Red */
    --color-primary-dark: #b91c1c;
    --color-bg-main: #ffffff;
    --color-bg-light: #f8fafc;
    --color-text-main: #0a0a0b; /* Very dark rich gray */
    --color-text-muted: #64748b; /* Sleek medium gray */
    --color-border: #e2e8f0; 
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    
    /* Spacing & Sizes */
    --section-padding: 120px 20px;
    --max-width: 1200px;
    
    /* Transitions */
    --transition-speed: 0.4s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* =========================================================================
   BUTTONS
========================================================================= */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 16px 36px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================================================
   SECTIONS
========================================================================= */
.section {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -1.5px;
    margin-bottom: 3.5rem;
    position: relative;
    color: var(--color-text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    margin-top: 15px;
}

.subsection-title {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin-bottom: 2rem;
    color: var(--color-text-main);
    padding-top: 2rem;
}

/* =========================================================================
   HEADER
========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05); /* Very subtle separator */
}

/* Height increased as requested */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}

/* Much larger logo scale */
.logo img {
    height: 100px;
    width: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
    text-transform: uppercase;
    position: relative;
}

/* Clean underline on hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

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

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

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1100; /* Above nav overlay */
    padding: 10px;
}

.menu-toggle .bar {
    display: block; /* Essential for spans to respect width/height */
    width: 32px; /* Increased for better presence alongside the larger logo */
    height: 2px;
    background-color: var(--color-text-main);
    margin: 6px auto;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 2px;
}

/* =========================================================================
   HERO
========================================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    background-color: var(--color-bg-main); /* Pure white for a cleaner look */
    overflow: hidden;
}

/* Animated Background Orbs for Creativity */
.hero-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220,38,38,0.06) 0%, rgba(220,38,38,0) 70%);
    top: -200px;
    right: -100px;
    animation: floatOrb 8s ease-in-out infinite alternate;
    z-index: 0;
}

.hero-orb-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30,41,59,0.04) 0%, rgba(30,41,59,0) 70%);
    bottom: -100px;
    left: 5%;
    animation: floatOrb 10s ease-in-out infinite alternate-reverse;
    z-index: 0;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 40px) scale(1.1); }
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(220,38,38,0.1);
    color: var(--color-primary);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.hero-main-logo {
    max-width: 900px;
    width: 100%;
    height: auto;
    max-height: 45vh; /* Keep the logo from pushing content into the header */
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-main-logo:hover {
    transform: scale(1.03) translateY(-5px); /* Elegant floating effect */
}

/* Visually hidden for SEO */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 3.5rem;
    letter-spacing: 0.5px;
}

.hero-content.text-center {
    text-align: center;
}

.center-buttons {
    justify-content: center;
}

/* =========================================================================
   ABOUT 
========================================================================= */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
    align-items: center;
}

.align-left {
    align-items: flex-start;
    text-align: left;
    margin-bottom: 2.5rem;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.about-text .lead-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-main);
    line-height: 1.6;
    letter-spacing: -0.2px;
}

.about-text strong {
    color: var(--color-primary);
    font-weight: 500;
}

.about-image img {
    border-radius: 4px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* =========================================================================
   SERVICES
========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.service-card {
    padding: 3.5rem 0;
    background-color: transparent;
    border-top: 1px solid var(--color-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: default;
}

.service-card:first-child {
    border-top: 2px solid var(--color-text-main);
}

.service-card:hover {
    border-top-color: var(--color-primary);
    transform: translateY(-5px);
}

.service-number {
    display: block;
    font-size: 4rem;
    font-weight: 200;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.4s ease;
}

.service-card:hover .service-number {
    color: var(--color-primary);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    transition: transform 0.4s ease;
}

.service-card:hover .service-title {
    transform: translateX(10px);
}

.service-card p {
    color: var(--color-text-muted);
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =========================================================================
   PREMIUM HEADINGS (REFERENCES SECTION)
========================================================================= */
.premium-title-wrapper {
    margin-bottom: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.premium-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.premium-heading {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1.5px;
    color: var(--color-text-main);
}

/* =========================================================================
   REFERANSLAR (LOGOS MARQUEE)
========================================================================= */
.logo-grid-container {
    width: 100%;
    padding: 2rem 0 4rem;
    position: relative;
    background-color: transparent; /* Seamless blend with light bg */
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr); /* Forces exactly 2 rows of 8 */
    gap: 3rem 1.5rem;
    max-width: 1400px; /* Wider container to allow 8 columns to breathe */
    margin: 0 auto;
    align-items: center;
    justify-items: center;
}

@media (max-width: 1100px) {
    .logo-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 rows of 4 on tablets so no orphans */
        gap: 2.5rem;
    }
}

@media (max-width: 600px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr); /* 8 rows of 2 on small mobile so no orphans */
        gap: 1.5rem 2rem;
    }
}

.logo-grid img {
    height: auto;
    max-height: 115px; /* Slightly larger again as requested */
    width: auto;
    max-width: 100%; /* Constrains organically within the grid cell */
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: default;
}

.logo-grid img:hover {
    transform: scale(1.08) translateY(-2px);
}

/* =========================================================================
   CATEGORY NAVIGATION (ÇALIŞMALAR)
========================================================================= */
.category-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .category-nav-grid {
        grid-template-columns: 1fr;
    }
}

.category-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
    transition: transform var(--transition-speed);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .category-img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Dark overlay for easy text reading */
.category-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
    pointer-events: none;
    transition: background 0.4s ease;
}

.category-card:hover .category-img-wrapper::after {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.category-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    margin: 0;
}

.category-btn {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateX(0);
}

/* =========================================================================
   INDIVIDUAL CATEGORY PAGES
========================================================================= */
.category-header-section {
    padding-top: 180px;
    padding-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-bg-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.category-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
}

.category-title-text {
    font-size: 4rem;
    font-weight: 200;
    letter-spacing: -2px;
    color: var(--color-text-main);
    margin: 1.5rem 0 1rem;
    text-transform: capitalize;
}

.category-subtitle-text {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .category-title-text {
        font-size: 3rem;
    }
}

.category-header-eyebrow {
    font-size: 0.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--color-text-muted);
    margin-bottom: 3rem; /* Space before the logo */
}

.category-header-img {
    max-width: 850px; /* Restored size for the updated centered images */
    width: 90%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.03));
}

.category-header-divider {
    width: 1px;
    height: 50px;
    background-color: rgba(0,0,0,0.1);
    margin-top: 3rem;
}

/* Specific Layout for Video Barcodes */
.single-showcase-gallery {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-item {
    width: 100%;
    max-width: 1200px;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.08); /* Premium shadow to make it pop */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.showcase-item:hover {
    transform: scale(1.01);
}

.showcase-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.masonry-container {
    padding: 2rem 40px 6rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .masonry-container {
        padding: 1.5rem 20px 4rem;
    }
}

.masonry-gallery {
    column-count: 3;
    column-gap: 1.5rem;
}

@media (max-width: 1024px) {
    .masonry-gallery {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .masonry-gallery {
        column-count: 1;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f1f5f9;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.masonry-item:hover img {
    transform: scale(1.03);
}

/* =========================================================================
   WEB SOLUTIONS - BROWSER MOCKUP SHOWCASE
========================================================================= */
.web-showcase-container {
    padding: 4rem 40px 8rem;
}

/* Two-column split: desktop left, mobile right */
.web-showcase-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.web-col-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.web-col-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

.web-col-desktop {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Phone grid: 3 per row */
.phone-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Phone mockup frame */
.phone-frame {
    background: #1a1a1a;
    border-radius: 28px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15), inset 0 0 0 1px rgba(255,255,255,0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.phone-card:hover .phone-frame {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.phone-notch {
    width: 40%;
    height: 10px;
    background: #1a1a1a;
    border-radius: 0 0 8px 8px;
    margin: 0 auto 6px;
    position: relative;
    z-index: 2;
}

.phone-screen {
    border-radius: 20px;
    overflow: hidden;
    background: #000;
}

.phone-screen img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: top;
    transition: transform 5s ease;
}

.phone-card:hover .phone-screen img {
    transform: translateY(-15%);
}

/* Responsive */
@media (max-width: 1100px) {
    .web-showcase-split {
        gap: 3rem;
    }
    .phone-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .web-showcase-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .phone-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.browser-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
    background: #fff;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.06);
}

.browser-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

/* macOS-style browser top bar */
.browser-bar {
    background: #f0f0f0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.browser-dots {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.browser-dots span {
    display: block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
    flex: 1;
    background: #e2e2e2;
    border-radius: 5px;
    padding: 4px 12px;
    font-size: 0.72rem;
    color: #666;
    font-family: 'Outfit', monospace;
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Screen area */
.browser-screen {
    width: 100%;
    overflow: hidden;
    max-height: 340px;
}

.browser-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 6s ease;
}

.browser-card:hover .browser-screen img {
    transform: translateY(-20%); /* Slow scroll reveal on hover */
}

/* =========================================================================
   PREMIUM LIGHT VIDEO GALLERY (UPGRADE)
========================================================================= */
.video-portfolio-container {
    background-color: var(--color-bg-light); 
    padding: 6rem 40px 10rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.cinematic-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
}

@media (max-width: 900px) {
    .cinematic-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.cinematic-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background-color: #eee;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Hover Effects */
.cinematic-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.12);
}

.cinematic-card:hover video {
    transform: scale(1.08);
}

/* Elegant Light Overlay */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allow clicks to pass through to the video */
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0.9;
    transition: all 0.4s ease;
}

.cinematic-card:hover .video-overlay {
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.2) 100%);
    opacity: 1;
}

.cinematic-card.is-playing .video-overlay {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.video-info-overlay {
    transform: translateY(15px);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cinematic-card:hover .video-info-overlay {
    transform: translateY(0);
}

.video-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}

.video-category {
    font-size: 0.8rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Minimalist Light Play Icon */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 70px;
    height: 70px;
    background: rgba(231, 35, 48, 0.9); /* Primary Red */
    box-shadow: 0 10px 25px rgba(231, 35, 48, 0.3);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    pointer-events: auto; /* Click target */
    cursor: pointer;
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #ffffff;
    margin-left: 4px;
}

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

/* Staggered Entrance */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s forwards ease-out;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   CONTACT (MODERN GRID LAYOUT)
========================================================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

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

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.icon-box {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    flex-shrink: 0;
    transition: transform var(--transition-speed);
}

.detail-item:hover .icon-box {
    transform: scale(1.1);
    background: var(--color-primary);
    color: #ffffff;
}

.detail-text-col {
    display: flex;
    flex-direction: column;
    padding-top: 5px;
}

.detail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-text-main);
}

.hover-link {
    transition: color 0.3s ease;
}

.hover-link:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.text-wrap {
    line-height: 1.5;
}

/* Form Styles */
.glass-form {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    padding: 16px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1.05rem;
    background-color: #ffffff;
    color: var(--color-text-main);
    transition: all var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* =========================================================================
   FOOTER (PREMIUM LIGHT)
========================================================================= */
.footer {
    background-color: #fafafa;
    color: var(--color-text-muted);
    padding: 0;
    border-top: none;
    position: relative;
}

/* Thin red accent bar at the very top */
.footer::before {
    content: '';
    display: block;
    height: 3px;
    background: var(--color-primary);
    width: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 5rem;
    padding: 6rem 0 5rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.footer-brand .footer-logo {
    height: 60px;
    width: auto;
    display: block;
    margin-bottom: 2rem;
    transition: opacity 0.3s ease;
}

.footer-brand .footer-logo:hover {
    opacity: 0.8;
}

.footer-tagline {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--color-text-muted);
    line-height: 1.8;
    max-width: 300px;
    margin-bottom: 2.5rem;
}

/* Contact badge strip */
.footer-badge-strip {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    opacity: 0.7;
}

.footer-badge::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--color-primary);
    flex-shrink: 0;
}

.footer-col-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--color-text-main);
    margin-bottom: 2.2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-nav li a {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 300;
    display: flex;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    gap: 0.6rem;
}

.footer-nav li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.footer-nav li a:hover {
    color: var(--color-primary);
    padding-left: 0.4rem;
}

.footer-nav li a:hover::before {
    width: 16px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 1px;
    stroke: var(--color-primary);
}

.footer-contact-list li a,
.footer-contact-list li span {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    font-weight: 300;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.6;
}

.footer-contact-list li a:hover {
    color: var(--color-primary);
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: rgba(0,0,0,0.3);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #fff;
}

.footer-social a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(231, 35, 48, 0.15);
}

.footer-social a svg {
    width: 14px;
    height: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.5rem 0 2.5rem;
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
}
/* =========================================================================
   ANIMATIONS
========================================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE
========================================================================= */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero-main-logo {
        max-width: 80%;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .section {
        padding: 80px 20px; /* Balanced padding */
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 80px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .header .container {
        height: 95px; /* Taller header for a premium presence */
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo img {
        height: 65px; /* Perfect balance between size and elegance */
    }

    .premium-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 2.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-main-logo {
        max-width: 100%; 
        width: auto;
        max-height: 35vh;
    }

    .menu-toggle {
        display: block; 
        margin-right: -10px; /* Offset padding for alignment */
    }

    /* FULL SCREEN OVERLAY MOBILE MENU */
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        transform: translateY(20px);
        transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    .nav-menu.active .nav-list {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.6rem;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 1.5px;
    }

    /* Staggered entrance animations */
    .nav-menu.active li:nth-child(1) .nav-link { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) .nav-link { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) .nav-link { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) .nav-link { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) .nav-link { transition-delay: 0.5s; }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* MORPHING HAMBURGER ICON */
    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* WIDE SCREENS (Ultra-Wide Monitors) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px; /* Allow content to stretch wider */
    }
    .hero-main-logo {
        max-width: 1000px; /* Scale hero up seamlessly */
    }
    .section-title {
        font-size: 4.5rem;
    }
    .premium-heading {
        font-size: 3.5rem;
    }
    .about-text .lead-text {
        font-size: 1.8rem; /* Better reading experience on huge screens */
    }
    .about-text p {
        font-size: 1.35rem;
    }
}