/* ==========================================================================
   VISUAL DESIGN GROUP - CONCEPT VIDEO PRODUCTION
   Styles & Design System
   ========================================================================== */

/* --- CSS VARIABLES & THEME TOKENS --- */
:root {
    --bg-primary: #f6f7f9;
    --bg-secondary: #ffffff;
    --bg-tertiary: #ebeef2;
    --bg-dark: #121316;
    
    --text-primary: #111111;
    --text-secondary: #4a505a;
    --text-muted: #848b98;
    --text-light: #ffffff;
    
    --accent-red: #e50914;
    --accent-red-hover: #b80710;
    --accent-red-glow: rgba(229, 9, 20, 0.4);
    
    --metallic-grad-1: linear-gradient(135deg, #f0f2f5 0%, #d8dce2 50%, #b8bfc9 100%);
    --metallic-grad-silver: linear-gradient(145deg, #ffffff, #d6dae0);
    --metallic-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 5px 15px rgba(0, 0, 0, 0.08);
    
    --font-heading: 'Montserrat', sans-serif;
    --font-subheading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    background: transparent;
}

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

/* --- HEADER NAVIGATION --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 40px;
    background: rgba(246, 247, 249, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* VDG Logo on the Top Left */
.brand-logo-small {
    position: absolute;
    left: 0;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: 2px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-small:hover {
    transform: translateY(-2px) scale(1.04);
}

.brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.18));
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-small:hover .brand-logo-img {
    transform: scale(1.08) rotate(4deg);
}

.brand-logo-small .logo-mark {
    background: linear-gradient(135deg, #111111 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Links - White 3D Claymorphic Pill Buttons with Vibrant Amber Glow Hover/Active */
.main-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.nav-link {
    color: var(--text-primary);
    position: relative;
    padding: 10px 22px;
    border-radius: 50px; /* Pill button shape */
    background: linear-gradient(180deg, #ffffff 0%, #edf0f5 100%); /* White claymorphic */
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Hover & Active animation: exact same amber glow & growth animation as Send Message! */
.nav-link:hover,
.nav-link.active {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    color: #111111 !important;
    border-color: rgba(255, 195, 110, 0.9);
    box-shadow: 
        0 0 25px rgba(255, 140, 0, 0.65),
        0 0 50px rgba(255, 175, 45, 0.38),
        0 8px 22px rgba(245, 158, 11, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        inset 0 -1px 3px rgba(245, 158, 11, 0.15) !important;
}

.nav-link.active::after {
    display: none;
}

/* LOGIN Link in Header (owner portal, black text) */
.nav-link.nav-login-link {
    color: #000000;
    font-weight: 800;
}

.nav-link.nav-login-link:hover {
    color: #111111 !important;
}

.mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* Mobile Nav Modal */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 19, 22, 0.96);
    backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-mobile-nav {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 3rem;
    color: var(--text-light);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light);
}

/* --- TAB-VIEW SPA ARCHITECTURE --- */
.tab-view {
    display: none;
    opacity: 0;
    padding-top: 100px;
    min-height: calc(100vh - 120px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.tab-view.active {
    display: block;
    opacity: 1;
    animation: fadeInTab 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* --- 3D CLAYMORPHIC PILL BUTTONS WITH AMBER GLOW --- */
.pill-btn, .submit-btn, .showreel-control-btn, .brand-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.2px;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    background: linear-gradient(180deg, #ffffff 0%, #edf0f5 100%);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn:hover, .showreel-control-btn:hover {
    transform: translateY(-2px);
    color: #111111;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.09),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.04);
}

/* VIBRANT AMBER PUNCH-OUT SELECTED STATE (Claymorphism + Amber Underglow) */
.pill-btn.active,
.submit-btn:hover,
.showreel-control-btn.active,
.brand-reel-card:hover .brand-chip {
    transform: translateY(-2px) scale(1.02);
    background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
    color: #111111 !important;
    border-color: rgba(255, 195, 110, 0.9);
    box-shadow: 
        0 0 24px rgba(255, 140, 0, 0.65),
        0 0 50px rgba(255, 175, 45, 0.38),
        0 8px 22px rgba(245, 158, 11, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 1),
        inset 0 -1px 3px rgba(245, 158, 11, 0.15) !important;
}

/* ==========================================================================
   1. HOME TAB: EXTRA-LARGE CINEMATIC SHOWREEL (ALMOST WHOLE SCREEN)
   ========================================================================== */
#home.tab-view {
    padding-top: 85px;
    padding-bottom: 25px;
    min-height: calc(100vh - 90px);
}

#home.tab-view.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-showreel-wrap {
    width: 95vw;
    max-width: 1720px;
    height: 78vh;
    min-height: 540px;
    margin: 5px auto 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showreel-stage-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0a0b0e;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(0, 0, 0, 0.15),
        0 0 60px rgba(255, 140, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.showreel-stage-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showreel-badge-pill {
    position: absolute;
    top: 24px;
    left: 28px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(18, 20, 24, 0.85);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border-radius: 40px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.showreel-badge-pill .live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff3344;
    box-shadow: 0 0 10px #ff3344;
    animation: livePulse 1.8s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.85); }
}

.showreel-controls-pill {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.showreel-control-btn {
    padding: 8px 18px;
    font-size: 0.78rem;
    letter-spacing: 1.2px;
}

/* ==========================================================================
   2. PORTFOLIO TAB: RESTORED ANIMATED 3D VIDEO CAROUSEL + COLLATERAL
   ========================================================================== */
#portfolio.tab-view {
    position: relative;
    padding-top: 110px;
    padding-bottom: 80px;
    background: radial-gradient(circle at 75% 45%, #ffffff 0%, #f4f6fa 45%, #e8ecf2 100%);
    overflow: hidden;
}

/* Concentric Background Rings behind Carousel (from screenshot) */
.portfolio-bg-rings {
    position: absolute;
    right: -80px;
    top: 400px;
    transform: translateY(-50%);
    width: 850px;
    height: 850px;
    pointer-events: none;
    z-index: 1;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px rgba(0, 0, 0, 0.02);
}

.ring-1 { width: 240px; height: 240px; border-color: rgba(0, 0, 0, 0.08); }
.ring-2 { width: 380px; height: 380px; }
.ring-3 { width: 540px; height: 540px; border-color: rgba(0, 0, 0, 0.05); }
.ring-4 { width: 700px; height: 700px; }
.ring-5 { width: 850px; height: 850px; border-color: rgba(0, 0, 0, 0.03); }

.portfolio-hero-container {
    width: 100%;
    max-width: 1650px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Branding Header */
.hero-branding {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--text-primary);
    line-height: 1.1;
    text-transform: uppercase;
}

.sub-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 4.5px;
    color: var(--text-primary);
    margin-top: 6px;
    text-transform: uppercase;
}

.tagline {
    font-family: var(--font-subheading);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 8px;
}

/* 3D Perspective Carousel Stage */
.carousel-stage-wrapper {
    position: relative;
    width: 100%;
    max-width: 1650px;
    height: 480px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-3d-stage {
    width: 100%;
    height: 100%;
    perspective: 1400px;
    perspective-origin: 50% 50%;
    position: relative;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Individual 3D Card */
.card-3d {
    position: absolute;
    width: 330px;
    height: 410px;
    top: 50%;
    left: 50%;
    margin-top: -205px;
    margin-left: -165px;
    border-radius: var(--radius-md);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease, filter 0.5s ease;
    cursor: pointer;
    user-select: none;
}

.card-inner {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: #0f1115;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28), 0 8px 20px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
}

.card-3d:hover .card-inner {
    border-color: rgba(229, 9, 20, 0.6);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.4), 0 0 35px var(--accent-red-glow);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.88) contrast(1.05);
    transition: var(--transition-smooth);
}

.card-3d:hover .card-img {
    filter: brightness(1) scale(1.06);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-icon-wrap {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 1.25rem;
    padding-left: 4px;
    transition: var(--transition-smooth);
}

.card-3d.is-active .play-icon-wrap {
    background: var(--accent-red);
    border-color: var(--accent-red);
    box-shadow: 0 0 25px var(--accent-red-glow);
}

.card-3d:hover .play-icon-wrap {
    background: var(--accent-red);
    border-color: var(--accent-red);
    transform: scale(1.15);
    box-shadow: 0 0 25px var(--accent-red-glow);
}

.card-footer {
    position: absolute;
    bottom: 18px;
    left: 15px;
    right: 15px;
    text-align: center;
}

.card-footer h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Carousel Prev/Next Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
    font-size: 1.15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 30;
    transition: var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--accent-red);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Showreel Metallic Rotating Button (Right Side) */
.showreel-trigger-wrap {
    position: absolute;
    right: 40px;
    top: 55%;
    transform: translateY(-50%);
    z-index: 10;
}

.showreel-metallic-btn {
    position: relative;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: transparent;
    padding: 0;
}

.metallic-ring-outer {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e0e4eb 40%, #c4cbd6 70%, #9ba3b0 100%);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(255, 255, 255, 0.9),
        inset 0 -3px 6px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    transition: var(--transition-smooth);
}

.metallic-ring-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #ffffff 30%, #e8ebf0 70%, #d0d6e0 100%);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-text-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotateText 25s linear infinite;
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.red-play-core {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f22432 0%, #d31027 60%, #9e0617 100%);
    box-shadow: 
        0 8px 20px rgba(211, 16, 39, 0.45),
        inset 0 2px 3px rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    font-size: 1.2rem;
    padding-left: 4px;
    z-index: 2;
    transition: var(--transition-smooth);
}

.showreel-metallic-btn:hover .metallic-ring-outer {
    transform: scale(1.06);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px var(--accent-red-glow);
}

.showreel-metallic-btn:hover .red-play-core {
    transform: scale(1.12);
    background: radial-gradient(circle at 35% 35%, #ff3b4b 0%, #e50914 60%, #b80710 100%);
    box-shadow: 0 0 25px rgba(229, 9, 20, 0.7);
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 25px;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

/* --- CLIENT MARKETING REELS (NIKE, AMAZON, META, BLIZZARD) --- */
.top-reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 25px;
}

.brand-reel-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.brand-reel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.brand-reel-card .portfolio-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111317;
}

.brand-reel-card .portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-reel-card:hover .portfolio-thumb img {
    transform: scale(1.06);
}

.brand-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    z-index: 5;
}

/* Thumb Hover Overlay */
.thumb-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.brand-reel-card:hover .thumb-hover {
    opacity: 1;
}

.play-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-red);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    padding-left: 3px;
    box-shadow: 0 0 20px var(--accent-red-glow);
}

.video-duration {
    position: absolute;
    bottom: 12px;
    right: 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.portfolio-meta {
    padding: 18px 20px;
}

.category-tag {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-red);
}

.portfolio-meta h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4px 0 2px;
}

.client-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- MARKETING COLLATERAL (STATIC IMAGES) --- */
.collateral-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.collateral-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.collateral-item {
    background: #ffffff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.collateral-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

.collateral-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eaedf2;
}

.collateral-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.collateral-item:hover .collateral-thumb img {
    transform: scale(1.06);
}

.collateral-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 19, 23, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.28s ease;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.collateral-item:hover .collateral-overlay {
    opacity: 1;
}

.collateral-meta {
    padding: 18px 22px 20px;
}

.collateral-meta h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.collateral-meta p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   3. SERVICES SECTION
   ========================================================================== */
section {
    padding: 100px 20px;
}

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

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px auto;
}

.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.title-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-red);
    margin: 18px auto;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    padding: 45px 35px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
    border-color: rgba(229, 9, 20, 0.2);
}

.service-card.highlighted {
    border-color: rgba(229, 9, 20, 0.3);
    box-shadow: 0 15px 40px rgba(229, 9, 20, 0.08);
}

.service-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--accent-red);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: var(--radius-md);
    background: rgba(229, 9, 20, 0.08);
    color: var(--accent-red);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon {
    background: var(--accent-red);
    color: var(--text-light);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 20px;
}

.service-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features li i {
    color: var(--accent-red);
    font-size: 0.75rem;
}

/* ==========================================================================
   4. CONTACT SECTION
   ========================================================================== */
.contact-section {
    background: #ffffff;
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.contact-info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.info-tagline {
    font-family: var(--font-subheading);
    color: var(--accent-red);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 4px;
    margin-bottom: 35px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    color: var(--accent-red);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.info-item p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.info-item a:hover {
    color: var(--accent-red);
}

.social-links h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background: var(--accent-red);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Form */
.contact-form-wrap {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e1e6ee;
    background: #fbfcfd;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 0.92rem;
    letter-spacing: 2px;
}

.form-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* ==========================================================================
   FOOTER (CLEAN, NO CLIENT ADMIN CMS)
   ========================================================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 50px 20px 35px;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 35px;
}

.footer-brand h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

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

.footer-backtotop a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    transition: var(--transition-fast);
}

.footer-backtotop a:hover {
    background: var(--accent-red);
    transform: translateY(-3px);
}

/* ==========================================================================
   MODALS (VIDEO POPUP & IMAGE LIGHTBOX)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 11, 14, 0.94);
    backdrop-filter: blur(16px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 1100px;
    background: #181a20;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5rem;
    color: var(--text-light);
    z-index: 10;
    line-height: 1;
}

.modal-video-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.modal-video-wrap video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-video-info {
    padding: 24px 30px;
    color: var(--text-light);
}

.modal-video-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
}

.modal-video-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.modal-img-wrap {
    width: 100%;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

.modal-img-wrap img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1200px) {
    .showreel-trigger-wrap {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 30px;
    }

    .main-title { font-size: 2.6rem; }
    .sub-title { font-size: 1.1rem; }
    .hero-section { padding-top: 110px; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .brand-logo-small { display: flex; }
    .mobile-menu-toggle { display: block; }
    
    .contact-wrap {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .form-row { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; gap: 20px; text-align: center; }
}

@media (max-width: 600px) {
    .main-title { font-size: 1.8rem; letter-spacing: 2px; }
    .sub-title { font-size: 0.95rem; letter-spacing: 2px; }
    .tagline { font-size: 1rem; }
    
    .carousel-stage-wrapper { height: 320px; }
    .card-3d { width: 220px; height: 280px; margin-top: -140px; margin-left: -110px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .collateral-grid { grid-template-columns: 1fr; }
    .home-showreel-wrap { height: 60vh; }
}
