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

html {
    overflow-y: scroll; /* Forces the scrollbar to always be present */
    scroll-behavior: smooth;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #0A0A0A;
    color: #FFFFFF;
    line-height: 1.4;
    overflow-x: hidden;
    font-weight: 500;
    /* Hide scrollbar for all browsers */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

body::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 100%);
    border-bottom: 1px solid #1A1A1A;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.header.visible {
    opacity: 1;
    transform: translateY(0);
}

.header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* When cinematics section is hidden, center the logo */
.header-content:has(#cinematics-section[style*="display: none"]) {
    justify-content: flex-start;
}

.header-content:has(#cinematics-section[style*="display: none"]) .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Brand Section Styles */
.brand-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 0;
    min-width: 120px;
}

.brand-section:hover {
    background-color: #1A1A1A;
    transform: translateY(-2px);
}

/* Grey Sites by button styling */
#sites-section {
    background: none;
    border: none;
    padding: 20px 25px 20px 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-direction: row;
}

#sites-section .brand-name {
    color: #888888;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    line-height: 1.2;
}

#sites-section:hover {
    background: none;
    transform: none;
}

#sites-section:hover .brand-name {
    color: #AAAAAA;
}

#sites-section .arrow {
    color: #888888;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

#sites-section:hover .arrow {
    color: #AAAAAA;
}

.brand-label {
    font-size: 12px;
    font-weight: 600;
    color: #AAAAAA;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 5px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', monospace;
}

.header-nav {
    display: flex;
    gap: 30px;
    position: absolute;
    right: 30px;
}

.nav-link {
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 2px solid transparent;
}

.nav-link:hover {
    color: #CCCCCC;
    border-color: #FFFFFF;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
}

.logo {
    position: fixed;
    left: 50%;
    top: 12px;
    transform: translateX(-50%);
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    will-change: opacity;
}

.logo-image {
    height: 80px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateX(-50%) scale(1.05);
}

.logo:hover .logo-image {
    filter: brightness(1.1);
}

/* Logo fade animations */
.logo-image {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.logo-image.fade-out {
    opacity: 0;
}

.logo-image.fade-in {
    opacity: 1;
}

/* Library Header */
.library-header {
    background: #0A0A0A;
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid #1A1A1A;
}

.library-title {
    font-size: 4rem;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.library-subtitle {
    font-size: 1.2rem;
    color: #CCCCCC;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    max-width: 600px;
    margin: 0 auto;
}


/* Cinematics Hero Section - OLD (keeping for reference) */
.cinematics-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0A0A0A;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.cinematics-hero .hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
    position: relative;
}

.cinematics-hero .hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.cinematics-hero .gradient-text {
    color: #FFFFFF;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.cinematics-hero .hero-subtitle {
    font-size: 1.4rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
    line-height: 1.4;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.cinematics-hero .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cinematics-hero .btn {
    padding: 12px 30px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.cinematics-hero .btn-primary {
    background: transparent;
    color: #FFFFFF;
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.3);
}

.cinematics-hero .btn-primary:hover {
    background: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cinematics-hero .btn-secondary {
    background: #1A1A1A;
    color: #FFFFFF;
    border: 3px solid #333333;
    box-shadow: 0 0 0px rgba(255, 255, 255, 0.1);
}

.cinematics-hero .btn-secondary:hover {
    background: #333333;
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 400px;
}

.video-preview {
    position: relative;
    width: 100%;
    height: 100%;
    border: 2px solid #333333;
    overflow: hidden;
    background: #1A1A1A;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay-hero {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0A0A0A;
    transition: all 0.3s ease;
}

.video-overlay-hero:hover .play-button {
    background: #FFFFFF;
    transform: scale(1.1);
}

/* Featured Work Section */
.featured-work {
    padding: 100px 0;
    background: #0A0A0A;
    border-top: 1px solid #1A1A1A;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 3rem;
    color: #FFFFFF;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: #FFFFFF;
}

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

.featured-item {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-5px);
}

.featured-video {
    position: relative;
    width: 100%;
    height: 250px;
    background: #1A1A1A;
    border: 2px solid #333333;
    overflow: hidden;
}

.featured-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.featured-item:hover .featured-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.featured-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.featured-overlay p {
    color: #CCCCCC;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'JetBrains Mono', monospace;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #0A0A0A;
    border-top: 1px solid #1A1A1A;
}

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

.service-card {
    background: #1A1A1A;
    padding: 2rem;
    border: 2px solid #333333;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    border-color: #FFFFFF;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #333333;
    border: 2px solid #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #FFFFFF;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.service-card p {
    color: #CCCCCC;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #0A0A0A;
    border-top: 1px solid #1A1A1A;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Orbitron', monospace;
}

.cta-content p {
    font-size: 1.2rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main Content */
.main-content {
    margin-top: 0; /* No top margin for library page */
    width: 100%;
}


/* Video Column */
.video-column {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Video Row Styles */
.video-row {
    width: 100%;
    position: relative;
    cursor: pointer;
    margin-bottom: 2px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.video-row:hover {
    opacity: 0.95;
}

/* Sizzle Video Styles */
.sizzle-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    /* Ultra-wide aspect ratio: 5760x1080 = 5.33:1 */
    aspect-ratio: 5.33 / 1;
    transition: all 0.3s ease;
}

/* Video Overlay Styles */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-title {
    font-size: 36px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    font-family: 'JetBrains Mono', monospace;
}

/* Hover Effects */
.video-row:hover .sizzle-video {
    filter: brightness(0.7);
}

.video-row:hover .video-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.video-row:hover .video-title {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Page Styles */
.contact-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0A0A0A;
    z-index: 2000;
    overflow-y: auto;
    padding-top: 80px; /* Account for header */
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.contact-page::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 64px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
}

.info-description {
    font-size: 18px;
    color: #CCCCCC;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: #1A1A1A;
    border: 2px solid #333333;
    transition: all 0.3s ease;
}

.contact-method:hover {
    border-color: #FFFFFF;
    transform: translateY(-5px);
}

.method-icon {
    font-size: 32px;
    font-weight: 900;
    color: #FFFFFF;
    min-width: 50px;
    text-align: center;
}

.method-content {
    flex: 1;
}

.method-title {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
}

.method-description {
    font-size: 14px;
    color: #AAAAAA;
    margin-bottom: 15px;
    line-height: 1.5;
}

.method-link {
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.method-link:hover {
    color: #CCCCCC;
    text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
    background-color: #1A1A1A;
    border: 2px solid #333333;
    padding: 40px;
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 30px;
    text-align: center;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 10px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    background-color: #0A0A0A;
    border: 2px solid #333333;
    border-radius: 0;
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #FFFFFF;
    background-color: #1A1A1A;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 20px;
    background-color: transparent;
    border: 3px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.contact-back {
    text-align: center;
}

/* Interactive Profile Card Styles */
:root {
    --pointer-x: 50%;
    --pointer-y: 50%;
    --background-x: 50%;
    --background-y: 50%;
    --rotate-x: 0deg;
    --rotate-y: 0deg;
    --card-opacity: 0.2;
    --pointer-from-center: 0;
    --pointer-from-top: 0;
    --pointer-from-left: 0.5;
}

.pc-card-wrapper {
    width: 380px;
    height: 520px;
    perspective: 1500px;
    position: relative;
    margin: 0 auto;
}

.pc-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(var(--rotate-x)) rotateX(var(--rotate-y));
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    user-select: none;
}

.pc-card.active {
    transition: transform 0.1s linear;
}

.pc-inside {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #1A1A1A;
    background-image: var(--inner-gradient), var(--grain);
    background-size: cover, 200px;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-inside::before {
    content: "";
    position: absolute;
    inset: -100px;
    z-index: -2;
    background-image: var(--behind-gradient);
    background-position: var(--background-x) var(--background-y);
    background-size: 200% 200%;
    opacity: var(--pointer-from-center, 0);
    transition: opacity 0.4s ease-out;
}

.pc-card-wrapper.active .pc-inside::before {
    opacity: 1;
}

.pc-shine {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: calc(var(--pointer-from-center) * 0.9);
    background: radial-gradient(
        circle at var(--pointer-x) var(--pointer-y),
        rgba(255, 255, 255, 0.2),
        transparent 40%
    );
    transition: opacity 0.4s ease-out;
}

.pc-glare {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, calc(var(--pointer-from-top) * 0.15)) 0%,
        rgba(255, 255, 255, 0) 60%
    );
}

.pc-content {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pc-inside {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: #1A1A1A;
    background-image: var(--inner-gradient), var(--grain);
    background-size: cover, 200px;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pc-header-content {
    align-items: center;
    justify-content: center;
    padding: 24px 32px 16px 32px;
    height: 30%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
}

.pc-avatar-content {
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 80%;
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    z-index: 1;
}

.pc-details-content {
    padding: 16px 32px 32px 32px;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    justify-content: flex-end;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.7) 50%, rgba(0, 0, 0, 0.9) 100%);
    border-radius: 0 0 20px 20px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 0 0 20px 20px;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    filter: grayscale(50%);
}

.pc-user-info {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 5;
    margin-top: auto;
}

.pc-user-details {
    display: flex;
    align-items: center;
    gap: 0;
}


.pc-user-text {
    line-height: 1.3;
}

.pc-handle {
    font-size: 14px;
    font-weight: 500;
    color: #d0d0d0;
}

.pc-status {
    font-size: 12px;
    color: #10B981 !important; /* Green color for Available status */
    font-weight: 500;
}

/* About Section Styles */
.reveal-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.is-visible .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.stagger-container.is-visible .reveal-item {
    transition-delay: var(--stagger-delay, 0s);
}

.line-reveal {
    width: 0;
    transition: width 1s cubic-bezier(0.23, 1, 0.32, 1);
}
.is-visible .line-reveal {
    width: 6rem; /* 96px */
}

/* Embla Carousel Styles */
.embla {
    overflow: hidden;
    width: 100%;
}
.embla__container {
    display: flex;
    align-items: center;
    width: 100%;
}
.embla__slide {
    flex: 0 0 auto;
    min-width: 0;
}
.embla__slide img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.embla__slide:hover img {
    filter: grayscale(0%);
}

.pc-contact-btn {
    background: #FFFFFF;
    color: #0A0A0A;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.pc-contact-btn:hover {
    background-color: #CCCCCC;
    transform: scale(1.05);
}

.pc-details {
    text-align: center;
    margin-bottom: 8px;
}

.pc-details h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
}

.pc-details p {
    font-size: 16px;
    color: #b0b0b0;
    margin: 4px 0 0;
}

/* About Page Styles */
.about-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0A0A0A;
    z-index: 2000;
    overflow-y: auto;
    padding-top: 80px; /* Account for header */
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.about-page::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 30px;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-title {
    font-size: 64px;
    font-weight: 900;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-family: 'Orbitron', monospace;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.about-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-description {
    font-size: 20px;
    font-weight: 500;
    color: #CCCCCC;
    line-height: 1.7;
    letter-spacing: 0.5px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    border: 2px solid #333333;
    background-color: #1A1A1A;
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: #FFFFFF;
    transform: translateY(-5px);
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: #FFFFFF;
    font-family: 'Orbitron', monospace;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 700;
    color: #AAAAAA;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
}

.about-skills {
    margin-bottom: 80px;
}

.skills-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 40px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.skill-item {
    padding: 20px;
    background-color: #1A1A1A;
    border: 2px solid #333333;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: #FFFFFF;
    transform: scale(1.05);
}

.about-contact {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    padding: 20px 40px;
    border: 3px solid #FFFFFF;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
}

.contact-link:hover {
    background-color: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.contact-icon {
    margin-right: 10px;
    font-weight: 900;
}

.about-back {
    text-align: center;
}

/* Project Detail Page Styles */
.project-detail-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0A0A0A;
    z-index: 2000;
    overflow-y: auto;
    padding-top: 80px; /* Account for header */
    /* Hide scrollbar */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.project-detail-page::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
}

/* Watch Button Styles */
.watch-button-container {
    margin: 40px 0;
    text-align: center;
}

.watch-button {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    padding: 20px 40px;
    border: 3px solid #FFFFFF;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
    background-color: transparent;
}

.watch-button:hover {
    background-color: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Gallery Styles */
.project-gallery {
    margin: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.gallery-item {
    aspect-ratio: 1;
    background-color: #1A1A1A;
    border: 2px solid #333333;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: #FFFFFF;
    color: #FFFFFF;
    transform: scale(1.02);
}

.project-info {
    max-width: 800px;
    margin: 0 auto;
}

.project-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 2px;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

.project-description {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #CCCCCC;
    letter-spacing: 0.5px;
}

.project-credits {
    margin-bottom: 60px;
}

.credit-item {
    display: flex;
    margin-bottom: 20px;
    font-size: 18px;
    border-bottom: 1px solid #333333;
    padding-bottom: 10px;
}

.credit-label {
    font-weight: 700;
    min-width: 140px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
}

.credit-value {
    color: #AAAAAA;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.back-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    padding: 20px 40px;
    border: 3px solid #FFFFFF;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'JetBrains Mono', monospace;
}

.back-link:hover {
    background-color: #FFFFFF;
    color: #0A0A0A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Enhanced Project Detail Styles */
.project-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, #E1306C, #F56040);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-subtitle {
    font-size: 1.3rem;
    color: #CCCCCC;
    font-weight: 400;
    margin-bottom: 0;
}

/* Project Description Section */
.project-description-section {
    margin-bottom: 60px;
}

.project-description-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

/* Project Highlights */
.project-highlights {
    margin-bottom: 60px;
}

.project-highlights h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #1A1A1A;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    border-color: #555;
    background-color: #222;
    transform: translateY(-2px);
}

.highlight-item i {
    color: #E1306C;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.highlight-item span {
    color: #FFFFFF;
    font-weight: 500;
}

/* Watch Section */
.watch-section {
    margin-bottom: 60px;
    text-align: center;
}

.watch-button {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #E1306C, #F56040);
    color: #FFFFFF;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.2);
}

.watch-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.4);
}

.watch-button i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Project Gallery Section */
.project-gallery-section {
    margin-bottom: 60px;
}

.project-gallery-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.gallery-screenshot {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screenshot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-screenshot:hover .screenshot-image {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-screenshot:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-overlay i {
    font-size: 2rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Fallback for screenshots without images */
.gallery-screenshot:not(:has(.screenshot-image[src])) {
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-screenshot:not(:has(.screenshot-image[src]))::before {
    content: "Screenshot";
    text-align: center;
}

/* Project Credits Section */
.project-credits-section {
    margin-bottom: 60px;
}

.project-credits-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

/* Call to Action */
.project-cta {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, #1A1A1A, #2A2A2A);
    border-radius: 20px;
    border: 1px solid #333;
}

.project-cta h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 15px;
    letter-spacing: -0.01em;
}

.project-cta p {
    font-size: 1.1rem;
    color: #CCCCCC;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, #E1306C, #F56040);
    color: #FFFFFF;
    border-color: transparent;
}

.cta-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 48, 108, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #FFFFFF;
    border-color: #555;
}

.cta-button.secondary:hover {
    background-color: #333;
    border-color: #666;
    transform: translateY(-2px);
}

/* Back Section */
.back-section {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #333;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #CCCCCC;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 12px 25px;
    border-radius: 8px;
    border: 1px solid #333;
    background-color: #1A1A1A;
}

.back-link:hover {
    color: #FFFFFF;
    border-color: #555;
    background-color: #222;
    transform: translateY(-1px);
}

.back-link i {
    margin-right: 8px;
    font-size: 1rem;
}

/* Footer Styles */
.footer {
    background: #0A0A0A;
    color: #FFFFFF;
    padding: 60px 0 20px;
    border-top: 1px solid #1A1A1A;
    margin-top: 80px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 16px;
}

.footer-section p {
    color: #CCCCCC;
    line-height: 1.6;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    margin-bottom: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4a5568;
    color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.social-links a i {
    transition: transform 0.3s ease;
}

.social-links a:hover i {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        padding: 25px 20px;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .brand-section {
        min-width: 60px;
        padding: 10px 8px;
    }
    
    .brand-label {
        font-size: 8px;
        letter-spacing: 0.5px;
    }
    
    .brand-name {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    #sites-section {
        padding: 18px 15px 18px 8px;
        min-height: 50px;
        gap: 4px;
    }
    
    #sites-section .brand-name {
        font-size: 0; /* Hide original text */
    }
    
    #sites-section .brand-name::after {
        content: "Web dev";
        font-size: 12px;
        color: #888888;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-family: 'JetBrains Mono', monospace;
    }
    
    #sites-section .arrow {
        font-size: 8px;
    }
    
    .header-nav {
        display: none; /* Hide navigation shortcuts on mobile */
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .logo {
        top: 7px;
    }
    
    .logo-image {
        height: 70px;
        max-width: 350px;
    }
    
    .main-content {
        margin-top: 80px;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    
    .video-row {
        /* Remove margins to make videos touch screen edges */
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .sizzle-video {
        /* On mobile, show the full video edge-to-edge */
        object-fit: contain;
        object-position: center;
        /* Keep original ultra-wide aspect ratio */
        aspect-ratio: 5.33 / 1;
        height: auto;
        width: 100%;
        /* Remove any margins/padding to touch screen edges */
        margin: 0;
        padding: 0;
    }
    
    .video-title {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-detail-page {
        padding-top: 80px; /* Account for mobile header */
    }
    
    .project-title {
        font-size: 36px;
        margin-bottom: 20px;
        letter-spacing: 1.5px;
    }
    
    .project-description {
        font-size: 18px;
        margin-bottom: 30px;
        letter-spacing: 0.3px;
    }
    
    .credit-item {
        flex-direction: column;
        margin-bottom: 25px;
        font-size: 16px;
    }
    
    .credit-label {
        min-width: auto;
        margin-bottom: 8px;
        font-weight: 700;
        letter-spacing: 0.8px;
    }
    
    .back-link {
        width: 100%;
        text-align: center;
        padding: 20px 30px;
        font-size: 16px;
        letter-spacing: 1.5px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .watch-button {
        font-size: 18px;
        padding: 18px 35px;
        letter-spacing: 1.5px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .about-title {
        font-size: 48px;
        letter-spacing: 3px;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .skill-item {
        padding: 15px 10px;
        font-size: 14px;
    }
    
    .contact-link {
        font-size: 18px;
        padding: 18px 35px;
    }
    
    .contact-content {
        padding: 20px;
    }
    
    .contact-title {
        font-size: 48px;
        letter-spacing: 3px;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-method {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 20px;
    }
    
    .form-submit {
        font-size: 16px;
        padding: 18px;
    }
    
    .footer {
        padding: 40px 0 15px;
        margin-top: 60px;
    }
    
    .footer .container {
        padding: 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 14px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    .footer-section ul li a {
        font-size: 13px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 20px 15px;
        flex-direction: row;
        justify-content: space-between;
        position: relative;
    }
    
    .brand-section {
        min-width: 50px;
        padding: 8px 6px;
    }
    
    .brand-label {
        font-size: 7px;
        letter-spacing: 0.3px;
    }
    
    .brand-name {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    #sites-section {
        padding: 15px 12px 15px 6px;
        min-height: 45px;
        gap: 3px;
    }
    
    #sites-section .brand-name {
        font-size: 0; /* Hide original text */
    }
    
    #sites-section .brand-name::after {
        content: "Web dev";
        font-size: 10px;
        color: #888888;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        font-family: 'JetBrains Mono', monospace;
    }
    
    #sites-section .arrow {
        font-size: 6px;
    }
    
    .header-nav {
        display: none; /* Hide navigation shortcuts on small mobile */
    }
    
    .nav-link {
        font-size: 12px;
        padding: 5px 10px;
    }
    
    .logo {
        top: 4px;
    }
    
    .logo-image {
        height: 60px;
        max-width: 300px;
    }
    
    .main-content {
        margin-top: 70px;
        padding: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    
    .video-row {
        /* Remove margins to make videos touch screen edges */
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .sizzle-video {
        /* On small mobile, show the full video edge-to-edge */
        object-fit: contain;
        object-position: center;
        aspect-ratio: 5.33 / 1;
        height: auto;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .video-title {
        font-size: 24px;
        letter-spacing: 1.5px;
    }
    
    .project-content {
        padding: 15px;
    }
    
    .project-detail-page {
        padding-top: 70px; /* Account for small mobile header */
    }
    
    .project-title {
        font-size: 32px;
        letter-spacing: 1px;
    }
    
    .project-description {
        font-size: 16px;
        letter-spacing: 0.2px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .watch-button {
        font-size: 16px;
        padding: 16px 30px;
        letter-spacing: 1px;
    }
    
    .about-content {
        padding: 15px;
    }
    
    .about-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .about-section {
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 15px 10px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .skill-item {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .contact-link {
        font-size: 16px;
        padding: 16px 30px;
    }
    
    .contact-content {
        padding: 15px;
    }
    
    .contact-title {
        font-size: 36px;
        letter-spacing: 2px;
    }
    
    .contact-section {
        gap: 30px;
    }
    
    .contact-method {
        padding: 15px;
    }
    
    .method-icon {
        font-size: 20px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .form-title {
        font-size: 18px;
    }
    
    .form-submit {
        font-size: 14px;
        padding: 16px;
    }
    
    .footer {
        padding: 30px 0 10px;
        margin-top: 40px;
    }
    
    .footer .container {
        padding: 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 13px;
    }
    
    .footer-section p {
        font-size: 12px;
    }
    
    .footer-section ul li a {
        font-size: 12px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    
    /* Mobile styles for new home page sections */
    .cinematics-hero .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cinematics-hero .hero-title {
        font-size: 2rem;
    }
    
    .cinematics-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

/* Landscape Mobile Styles */
@media (max-width: 768px) and (orientation: landscape) {
    .sizzle-video {
        /* In landscape mode, show more of the ultra-wide content */
        aspect-ratio: 3 / 1;
        height: 40vh;
    }
}

/* Loading States */
.video-row.loading {
    background-color: #1A1A1A;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-row.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 2px solid #333333;
    border-top: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Transitions */
.video-row,
.sizzle-video,
.project-video {
    transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.video-row:focus,
.back-link:focus {
    outline: 2px solid #FFFFFF;
    outline-offset: 2px;
}

/* High DPI Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .sizzle-video,
    .project-video {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Carousel Styles */
.embla {
    overflow: hidden;
    position: relative;
}

.embla__container {
    display: flex;
    will-change: transform;
    transition: transform 0.3s ease-out;
}

.embla__slide {
    flex: 0 0 auto;
    min-width: 0;
    margin-right: 2rem;
}

.embla__slide:last-child {
    margin-right: 0;
}

/* Smooth scroll animation for logos */
.embla__container {
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.embla:hover .embla__container {
    animation-play-state: paused;
}

/* Logo hover effects */
.embla__slide img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%);
}

.embla__slide:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Mobile Thumbnail Styles */
@media (max-width: 768px) {
    .mobile-thumbnail {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        cursor: pointer;
        transition: transform 0.3s ease, opacity 0.3s ease;
        border-radius: 8px;
    }
    
    .mobile-thumbnail:hover {
        transform: scale(1.02);
        opacity: 0.9;
    }
    
    .video-row {
        position: relative;
    }
    
    .video-row .sizzle-video {
        display: none;
    }
    
    .video-row .mobile-thumbnail {
        display: block;
    }
    
}

/* Booking Form Modal Styles */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.booking-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.booking-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-modal-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.booking-modal-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.booking-form {
    padding: 30px;
}

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

.form-label {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary,
.btn-secondary {
    flex: 1;
    padding: 15px 25px;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    color: #000;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-modal {
        padding: 10px;
    }
    
    .booking-modal-content {
        max-height: 95vh;
    }
    
    .booking-modal-header {
        padding: 20px 20px 15px;
    }
    
    .booking-modal-title {
        font-size: 20px;
    }
    
    .booking-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
