:root {
    --charcoal: #111827;
    --deep-blue: #0f172a;
    --gold: #d4af37;
    --brand-accent: #b8005c; 
    --text-white: #f3f4f6;
    --text-gray: #9ca3af;
}

/* Qreative Media Premium Cinematic Theme Variables */
:root {
    --charcoal: #111827;
    --deep-blue: #0f172a;
    --gold: #d4af37;
    --brand-orange: #f97316;
    --text-white: #f3f4f6;
    --text-gray: #9ca3af;
}

body.dark-theme {
    background-color: var(--charcoal);
    color: var(--text-white);
    font-family: 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Backgrounds & Colors */
.bg-charcoal { background-color: var(--charcoal); }
.bg-deep-blue { background-color: var(--deep-blue); }
.bg-black { background-color: #000000; }
.text-gold { color: var(--gold) !important; }
.text-accent { color: var(--brand-orange) !important; }
.text-gray { color: var(--text-gray); }

/* Typography */
.tracking-wide { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.25em; }
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    border-left: 4px solid var(--gold);
    padding-left: 1rem;
}

/* Navbar */
.qreative-nav {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-link {
    color: var(--text-white);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.nav-link:hover { color: var(--gold); }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain; /* This is the magic rule that stops the zooming/cropping */
    z-index: -2;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(17, 24, 39, 0.9));
    z-index: -1;
}
.sound-control {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 8px 16px;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}
.sound-control:hover, .sound-control.active {
    border-color: var(--gold);
    color: var(--gold);
}

/* Service Cards */
.service-card {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
}
.border-accent-hover:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Portfolio Videos */
.portfolio-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* Forces every box to be the exact same size */
    overflow: hidden;
    border-radius: 4px;
    background: #000;
}
.portfolio-vid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures vertical reels fill the vertical box nicely */
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.portfolio-video-wrap:hover .portfolio-vid {
    opacity: 1;
    transform: scale(1.02);
}

/* Forms */
.premium-input {
    background: transparent !important;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
    color: white !important;
    padding: 1rem 0;
}
.premium-input:focus {
    box-shadow: none;
    border-color: var(--gold);
}
.premium-input::placeholder { color: rgba(255,255,255,0.4); letter-spacing: 0.05em;}

/* Buttons */
.cta-btn {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
    font-weight: bold;
    letter-spacing: 0.1em;
    border-radius: 2px;
}
.cta-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
}

/* Team */
.grayscale-hover {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}
.team-member:hover .grayscale-hover { filter: grayscale(0%); }