/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Glowing Cursor */
html, body {
    cursor: none; /* Hide default cursor */
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, rgba(107, 255, 250, 0.8) 0%, rgba(107, 255, 250, 0.4) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    box-shadow: 
        0 0 10px rgba(107, 255, 250, 0.6),
        0 0 20px rgba(107, 255, 250, 0.4),
        0 0 30px rgba(107, 255, 250, 0.2);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Cursor hover effects */
.custom-cursor.hover {
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(107, 255, 250, 0.6) 0%, rgba(107, 255, 250, 0.3) 40%, transparent 70%);
    box-shadow: 
        0 0 15px rgba(107, 255, 250, 0.8),
        0 0 30px rgba(107, 255, 250, 0.5),
        0 0 45px rgba(107, 255, 250, 0.3);
    transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* Custom Font */
@font-face {
    font-family: 'Fontspring Theseasons';
    src: url('./assets/Fontspring-DEMO-theseasons-bdit.otf') format('opentype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Bahnschrift';
    src: url('./assets/BAHNSCHRIFT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #0E0F12;
    --bg-secondary: #1a1d23;
    --bg-card: #0f1115;
    --text-primary: #ffffff;
    --text-secondary: #b8bcc8;
    --text-muted: #6b7280;
    --accent-blue: #6BFFFA;
    --accent-glow: rgba(107, 255, 250, 0.3);
    --border-color: #2a2d35;
    --shadow: rgba(0, 0, 0, 0.5);
    --gradient-overlay: linear-gradient(135deg, rgba(14, 15, 18, 0.7), rgba(26, 29, 35, 0.8));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 30px 0;
    background: transparent;
    backdrop-filter: none;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 250px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Interactive 3D Arrow */
#arrow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 999;
}

#arrow-container canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Mobile-specific hero video zoom out */
@media (max-width: 768px) {
    .hero-video {
        transform: scale(0.95);
        width: 105.26%; /* Compensate for the scale to maintain full coverage */
        height: 105.26%; /* 100% / 0.95 = 105.26% */
        top: -2.63%; /* Center the scaled video */
        left: -2.63%; /* (105.26% - 100%) / 2 = 2.63% */
    }
}

/* Even smaller devices might need more zoom out */
@media (max-width: 480px) {
    .hero-video {
        transform: scale(0.92);
        width: 108.7%; /* 100% / 0.92 = 108.7% */
        height: 108.7%;
        top: -4.35%; /* (108.7% - 100%) / 2 = 4.35% */
        left: -4.35%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    z-index: 3;
}

/* Hero logo styles removed */

/* Agency Section */
.agency-section {
    padding: 120px 0;
    position: relative;
    background-color: #0A1A1E;
}

.agency-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

.agency-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.agency-arrow #arrow-container {
    position: relative;
    width: 250px;
    height: 250px;
    pointer-events: none;
}

.agency-text {
    max-width: 600px;
}

.agency-title {
    font-family: 'Bahnschrift', 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.agency-subtitle {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    font-style: italic;
    color: var(--accent-blue);
    margin-bottom: 30px;
    line-height: 1;
}

.agency-description {
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Showreel Section */
.showreel-section {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.showreel-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

.showreel-title {
    margin-bottom: 40px;
}

.our-text {
    font-family: 'Bahnschrift', 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    line-height: 1;
}

.showreel-text {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: bold;
    font-style: italic;
    color: var(--accent-blue);
    display: block;
    line-height: 1;
}

.showreel-description {
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.showreel-video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

/* Play Button Overlay */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: transparent;
    border: 3px solid rgba(107, 255, 250, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 32px rgba(107, 255, 250, 0.2),
        inset 0 0 0 0 rgba(107, 255, 250, 0.1);
    z-index: 2;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
    border-color: rgba(107, 255, 250, 1);
    background: rgba(107, 255, 250, 0.1);
    box-shadow: 
        0 12px 48px rgba(107, 255, 250, 0.4),
        inset 0 0 0 1px rgba(107, 255, 250, 0.2);
}

.play-button-overlay::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid rgba(107, 255, 250, 0.9);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.play-button-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Services Section */
.services-section {
    padding: 120px 0;
}

.services-title {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: bold;
    font-style: italic;
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 80px;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-our {
    font-family: 'Bahnschrift', 'Arial', sans-serif;
    color: white;
    font-style: normal;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.services-main {
    font-family: 'Fontspring Theseasons', 'Dancing Script', cursive;
    color: var(--accent-blue);
    font-style: italic;
    font-weight: bold;
    display: block;
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 255, 250, 0.1), transparent);
    transition: left 0.6s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(107, 255, 250, 0.2);
}

.service-card h3 {
    font-family: 'Bahnschrift', 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.service-card p {
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.contact-content h3 {
    font-family: 'Bahnschrift', 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-content p {
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-block;
    background: var(--accent-blue);
    color: var(--bg-primary);
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.contact-btn:hover::before {
    left: 100%;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(107, 255, 250, 0.4);
}

/* Footer */
.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer p {
    font-family: 'Bahnschrift', 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 14px;
}

/* Fullscreen Video Overlay */
.fullscreen-video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.fullscreen-video-container {
    position: relative;
    width: 90vw;
    height: 90vh;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close-fullscreen {
    position: absolute;
    top: -50px;
    right: -10px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 300;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-fullscreen:hover {
    color: var(--accent-blue);
    transform: scale(1.1);
}

/* Add hover effect to showreel video */
.showreel-video {
    transition: all 0.3s ease;
}

.showreel-video:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(107, 255, 250, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    /* Hide nav items by default on mobile */
    .nav-left,
    .nav-right {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(14, 15, 18, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 20px 0;
        gap: 25px;
        border-top: 1px solid var(--border-color);
        z-index: 998;
    }
    
    /* Show all nav items in a single unified menu when active */
    .nav-left.active {
        left: 0;
        padding: 30px 0 15px 0;
    }
    
    .nav-right.active {
        left: 0;
        top: 180px;
        padding: 15px 0 30px 0;
        border-top: none;
        box-shadow: none;
        background: rgba(14, 15, 18, 0.98);
    }
    
    .agency-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .showreel-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .agency-section,
    .showreel-section,
    .services-section,
    .contact-section {
        padding: 80px 0;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}