/* Custom Font */
@font-face {
    font-family: 'SkateParx';
    src: url('../assets/fonts/SkateParx.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sink';
    src: url('../assets/fonts/Sink.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* General Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bangers', 'Bebas Neue', cursive, sans-serif;
    color: #333;
    background-color: #000;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    letter-spacing: 1px;
}

/* Video Background */
#backgroundVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
}

/* Canvas Background (Contact Page) */
#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    z-index: 9999;
    border-radius: 0 0 4px 0;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

/* Screen Reader Only Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Font import moved to HTML head for better performance */

/* Performance - Use GPU acceleration for animations */
.service-item,
.news-item,
.gallery-item img,
.ytgallery-item img,
.carousel {
    will-change: transform;
}

/* CSS Containment for better performance */
.service-item,
.news-item,
.gallery-item,
.ytgallery-item {
    contain: layout style paint;
}

/* Color Variables */
:root {
    --primary-color: #fa5818;  /* Lighter red/orange */
    --secondary-color: #1E90FF;  /* Darker blue */
    --accent-color: #3a96f1;  /* Intermediate blue */
    --light-color: #e9612c;  /* Orange */
    --dark-color: #333;  /* For text and other elements */
}

/* Navigation Bar */
nav {
    background: linear-gradient(45deg, #000000, #000000, #1a1a1a, #2a2a2a, #3a5a6a, #2a4a5a, #2a2a2a, #1a1a1a, #000000, #000000);
    color: #fff;
    padding: 1em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo {
    font-size: 1.8em;
    font-weight: 600;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2em;
}

nav ul li a {
    color: #fff;
    font-weight: 300;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a:focus {
    color: #fff;
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

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

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/* Second Video Section */
.video-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #000;
    margin: 0;
    padding: 0;
}

.scroll-video {
    width: 100vw;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
}

/* Video Text Overlays */
.video-text-overlay {
    position: absolute;
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    color: #fff;
    font-size: 3.5em;
    text-transform: uppercase;
    z-index: 10;
    line-height: 1.1;
    letter-spacing: 2px;
    animation: glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49));
}

.video-text-overlay.top-left {
    top: 40px;
    left: 40px;
}

.video-text-overlay.bottom-right {
    bottom: 40px;
    right: 40px;
}

.hero-content {
    text-align: center;
    color: #fff;
    z-index: 1;
    max-width: 1000px;
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 0.9;
    animation: glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49));
}

.hero-content h1 .sink-font {
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
}

.hero-content h1 .skateparx-font {
    font-family: 'SkateParx', 'Bangers', 'Bebas Neue', cursive, sans-serif;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.hero-content button {
    padding: 1em 2em;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1em;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
}

.hero-content button:hover,
.hero-content button:focus {
    background: var(--secondary-color);
    transform: translateY(-2px);
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Sections */
section {
    padding: 4em 2em;
    background: transparent;
}

section h2 {
    text-align: center;
    margin-bottom: 2em;
    font-size: 3.5em;
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    color: #fff;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49));
}

section h2::after {
    content: '';
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg,
        transparent,
        var(--secondary-color),
        var(--primary-color),
        var(--secondary-color),
        transparent);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* Services Section */
.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2em;
}

.service-item {
    flex: 1 1 30%;
    margin: 1em;
    padding: 2em;
    background: linear-gradient(135deg, #000000, #1a1a1a, #2a4a5a, #3a5a6a, #2a4a5a, #1a1a1a);
    color: #fff;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent, rgba(0,0,0,0.2));
    transform: rotate(45deg);
}

.service-item h3 {
    margin-bottom: 1em;
    font-size: 2em;
    text-transform: uppercase;
}

.service-item p {
    font-size: 1.1em;
    line-height: 1.5;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5em;
    margin-top: 2em;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 1em;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 1.5em;
}

/* What's New Section */
.news-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-item {
    background: #fff;
    margin: 1em;
    padding: 2em;
    border-radius: 15px;
    width: 80%;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.news-item::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transform: rotate(45deg);
    opacity: 0.1;
}

.news-item h3 {
    margin-bottom: 1em;
    font-size: 2em;
    color: var(--dark-color);
}

.news-item p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

.news-item:hover {
    transform: translateY(-10px);
}

/* Contact Me Section */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    margin-top: 2em;
    background: #fff;
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1em;
    margin-bottom: 1.2em;
    border: 2px solid #ccc;
    border-radius: 10px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(250, 88, 24, 0.2);
}

.contact-form button {
    width: 100%;
    padding: 1em;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 30px;
    transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover,
.contact-form button:focus {
    background: var(--secondary-color);
    transform: translateY(-2px);
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: #fff;
    text-align: center;
    padding: 1.5em 0;
    margin-top: 2em;
    position: relative;
}

footer p {
    margin-bottom: 0.5em;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1em;
}

footer .social-icons a {
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s;
}

footer .social-icons a:hover {
    color: var(--primary-color);
}

footer .social-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: none;
    outline: none;
    border-radius: 0;
}

footer .social-icons a {
    border: none;
    outline: none;
    display: inline-block;
    line-height: 0;
}

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    color: #fff;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8em;
    display: none;
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(250, 88, 24, 0.4);
    backdrop-filter: blur(10px);
}

#scrollToTopBtn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

#scrollToTopBtn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#scrollToTopBtn:hover::before,
#scrollToTopBtn:focus::before {
    opacity: 1;
}

#scrollToTopBtn:hover,
#scrollToTopBtn:focus {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 12px 30px rgba(250, 88, 24, 0.6);
    outline: none;
}

#scrollToTopBtn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: transparent;
    border: 2px solid transparent;
    padding: 8px;
    border-radius: 4px;
}

.menu-toggle:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

.ytgallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 16 / 9; 
}

@supports not (aspect-ratio: 1) {
    .ytgallery-item {
        width: 100%;
    }

    .ytgallery-item::before {
        content: '';
        display: block;
        padding-top: 56.25%;
    }

    .ytgallery-item > * {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

.ytgallery-item img, .ytgallery-item iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ytgallery-item:hover img {
    transform: scale(1.05);
}

.ytgallery-item h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 1em;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 1.2em;
}

@media (max-width: 768px) {
    /* Navigation */
    .menu-toggle {
        display: flex;
    }
    nav ul {
        display: none;
    }
    nav ul.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--dark-color);
        height: calc(100% - 70px);
        padding-top: 2em;
        overflow-y: auto;
    }
    nav ul li {
        margin: 1em 0;
        text-align: center;
    }
    /* Font Sizes */
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content p,
    section h2,
    .service-item h3,
    .news-item h3,
    .gallery-item h4 {
        font-size: 1em;
    }
    /* Layout Adjustments */
    .services-container,
    .news-container {
        flex-direction: column;
        align-items: center;
    }
    .service-item,
    .news-item {
        flex: 1 1 100%;
        max-width: 90%;
        margin: 1em auto;
    }
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 1em;
    }
    /* Hero Section */
    .hero-section {
        height: 60vh;
        background-position: center top;
    }
    /* Buttons and Links */
    button,
    nav ul li a {
        padding: 1em;
        font-size: 1.1em;
    }
    /* Scroll to Top Button */
    #scrollToTopBtn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }
    /* Contact Form */
    .contact-form {
        width: 90%;
        padding: 1em;
    }
}

/* Smaller screens */
@media (max-width: 480px) {
    /* Font Sizes */
    .hero-content h1 {
        font-size: 1.8em;
    }
    body {
        font-size: 14px;
    }
    /* Adjustments */
    .menu-toggle span {
        width: 25px;
        height: 2px;
    }
}

/* Accessibility - Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .gallery-item:hover img,
    .service-item:hover,
    .news-item:hover,
    .news-item img:hover {
        transform: none;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 50px auto; /* Added some top and bottom margin */
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-item iframe {
    width: 100%;
    height: 450px; /* Adjust height as needed */
    border: none;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.2s;
}

.prev:hover, .next:hover,
.prev:focus, .next:focus {
    background-color: rgba(0, 0, 0, 0.8);
    outline: 2px solid #fff;
    outline-offset: 2px;
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .carousel-item iframe {
        height: 300px; /* Adjust the video height for smaller screens */
    }

    .prev, .next {
        font-size: 30px; /* Scale down the navigation buttons */
        padding: 5px; /* Reduce padding */
    }

    .prev {
        left: 10px; /* Adjust position for mobile */
    }

    .next {
        right: 10px; /* Adjust position for mobile */
    }
}

@media (max-width: 480px) {
    .carousel-item iframe {
        height: 200px; /* Further adjust video height for very small screens */
    }

    .prev, .next {
        font-size: 25px; /* Further reduce the button size */
        padding: 4px;
    }

    .prev {
        left: 5px;
    }

    .next {
        right: 5px;
    }
}

.news-item img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 10px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item img:hover {
    transform: scale(1.05);
}

/* Glowing Pulsating Logo */
.logo-glow {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 200px;
    height: auto;
    z-index: 999;
    animation: glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49));
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49))
                drop-shadow(0 0 14px rgba(0, 191, 255, 0.35))
                drop-shadow(0 0 21px rgba(0, 191, 255, 0.21));
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(0, 191, 255, 0.7))
                drop-shadow(0 0 28px rgba(0, 191, 255, 0.56))
                drop-shadow(0 0 42px rgba(0, 191, 255, 0.42))
                drop-shadow(0 0 56px rgba(0, 191, 255, 0.28));
        transform: scale(1.05);
        opacity: 1;
    }
}

/* Mobile adjustments for logo */
@media (max-width: 768px) {
    .logo-glow {
        width: 150px;
        bottom: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .logo-glow {
        width: 120px;
        bottom: 10px;
        left: 10px;
    }
}

/* ==================== NEW GALLERY LAYOUT ==================== */

/* Featured Video Section */
.featured-video-container {
    position: relative;
    max-width: 1200px;
    margin: 3em auto;
    padding: 0 1em;
}

.featured-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3),
                0 0 40px rgba(250, 88, 24, 0.2);
    border: 2px solid rgba(0, 191, 255, 0.3);
}

.featured-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.featured-label {
    text-align: center;
    margin-top: 1.5em;
}

.featured-label .sink-font {
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    font-size: 2em;
    color: #fff;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49));
}

/* Gallery Filters */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1em;
    margin: 3em auto;
    max-width: 900px;
    padding: 0 1em;
}

.filter-btn {
    padding: 0.8em 2em;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    color: #fff;
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Bangers', 'Bebas Neue', sans-serif;
    font-size: 1.1em;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.3), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.filter-btn:hover::before,
.filter-btn.active::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover,
.filter-btn:focus {
    border-color: rgba(0, 191, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4),
                inset 0 0 20px rgba(0, 191, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(250, 88, 24, 0.5);
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5em;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2em;
}

.video-card {
    background: linear-gradient(135deg, #0a0a0f, #1a1a1f);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(0, 191, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(0, 191, 255, 0.5),
        rgba(250, 88, 24, 0.5),
        rgba(58, 150, 241, 0.5));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.video-card:hover::before {
    opacity: 1;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.4),
                0 0 40px rgba(250, 88, 24, 0.2);
    border-color: rgba(0, 191, 255, 0.6);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumbnail.instagram-embed {
    padding-bottom: 0;
    height: auto;
    min-height: 400px;
}

.video-thumbnail.instagram-embed .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.video-info {
    padding: 1.5em;
    background: linear-gradient(to top, #0a0a0f, #1a1a1f);
}

.video-info h3 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 0.5em;
    font-family: 'Bebas Neue', 'Bangers', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.video-category {
    display: inline-block;
    padding: 0.4em 1em;
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    color: #fff;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Hide filtered items */
.video-card.hidden {
    display: none;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 4em 0 2em;
}

.load-more-btn {
    padding: 1em 3em;
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Bangers', 'Bebas Neue', sans-serif;
    font-size: 1.3em;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0 10px 30px rgba(250, 88, 24, 0.4);
}

.load-more-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover,
.load-more-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(250, 88, 24, 0.6);
    background: linear-gradient(135deg, var(--light-color), var(--primary-color));
}

.load-more-btn:hover svg {
    transform: translateY(3px);
}

/* Responsive Adjustments for New Gallery */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2em;
    }
}

@media (max-width: 768px) {
    .featured-video-container {
        margin: 2em auto;
    }

    .featured-label .sink-font {
        font-size: 1.5em;
    }

    .gallery-filters {
        gap: 0.8em;
        margin: 2em auto;
    }

    .filter-btn {
        padding: 0.6em 1.5em;
        font-size: 1em;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5em;
        padding: 0 1em;
    }

    .video-info h3 {
        font-size: 1.3em;
    }

    .load-more-btn {
        padding: 0.8em 2em;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .featured-label .sink-font {
        font-size: 1.2em;
        letter-spacing: 2px;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }

    .video-info {
        padding: 1em;
    }

    .video-info h3 {
        font-size: 1.2em;
    }

    .video-category {
        font-size: 0.75em;
        padding: 0.3em 0.8em;
    }
}

/* ==================== SPLIT-SCREEN CONTACT PAGE ==================== */

.contact-section {
    padding: 2em 0;
    min-height: calc(100vh - 80px);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3em;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2em;
    align-items: start;
}

/* Left Side - Hero Section */
.contact-hero {
    padding: 2em;
    position: sticky;
    top: 100px;
}

.contact-title {
    font-size: 4em;
    line-height: 1;
    margin-bottom: 0.5em;
    color: #fff;
    text-transform: uppercase;
    animation: glow-pulse 4s ease-in-out infinite;
    filter: drop-shadow(0 0 7px rgba(0, 191, 255, 0.49));
}

.contact-title .sink-font {
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    letter-spacing: 3px;
}

.contact-title .skateparx-font {
    font-family: 'SkateParx', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    font-size: 1.3em;
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.3em;
    color: #aaa;
    margin-bottom: 2em;
    font-family: 'Bebas Neue', 'Bangers', sans-serif;
    letter-spacing: 1px;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    margin-bottom: 2em;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5em;
    padding: 1.5em;
    background: linear-gradient(135deg, #0a0a0f, #1a1a1f);
    border: 2px solid rgba(0, 191, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(0, 191, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}

.info-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.info-content h3 {
    font-size: 1.1em;
    color: #fff;
    margin-bottom: 0.3em;
    font-family: 'Bebas Neue', 'Bangers', sans-serif;
    letter-spacing: 1px;
}

.info-content p,
.info-content a {
    font-size: 1em;
    color: #aaa;
    font-family: 'Bebas Neue', sans-serif;
}

.info-content a {
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--primary-color);
}

/* Animated Divider */
.hero-divider {
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--secondary-color),
        var(--primary-color),
        var(--secondary-color),
        transparent);
    margin: 2em 0;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.6;
        box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
    }
}

/* Quick Stats */
.quick-stats {
    display: flex;
    gap: 2em;
    margin-top: 2em;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5em;
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    background: linear-gradient(135deg, var(--primary-color), var(--light-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.2em;
}

.stat-label {
    font-size: 0.9em;
    color: #aaa;
    font-family: 'Bebas Neue', 'Bangers', sans-serif;
    letter-spacing: 1px;
}

/* Right Side - Form Container */
.contact-form-wrapper {
    padding: 2em 0;
}

.form-container {
    background: linear-gradient(135deg, #0a0a0f, #1a1a1f);
    border: 2px solid rgba(0, 191, 255, 0.3);
    border-radius: 20px;
    padding: 2em;
    box-shadow: 0 20px 60px rgba(0, 191, 255, 0.3),
                0 0 40px rgba(250, 88, 24, 0.2);
    position: relative;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg,
        rgba(0, 191, 255, 0.5),
        rgba(250, 88, 24, 0.5),
        rgba(58, 150, 241, 0.5));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.form-heading {
    font-size: 2.5em;
    font-family: 'Sink', 'Bangers', 'Bebas Neue', cursive, sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5em;
    filter: drop-shadow(0 0 5px rgba(0, 191, 255, 0.3));
}

.form-subheading {
    font-size: 1.1em;
    color: #aaa;
    margin-bottom: 1.5em;
    font-family: 'Bebas Neue', 'Bangers', sans-serif;
}

.form-container iframe {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Contact Page */
@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2em;
    }

    .contact-hero {
        position: relative;
        top: 0;
    }

    .contact-title {
        font-size: 3em;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 1em 0;
    }

    .contact-container {
        padding: 1em;
    }

    .contact-hero {
        padding: 1em;
    }

    .contact-title {
        font-size: 2.5em;
    }

    .contact-subtitle {
        font-size: 1.1em;
    }

    .info-card {
        padding: 1em;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .info-icon svg {
        width: 24px;
        height: 24px;
    }

    .quick-stats {
        flex-direction: column;
        gap: 1em;
    }

    .form-container {
        padding: 1.5em;
    }

    .form-heading {
        font-size: 2em;
    }

    .form-container iframe {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2em;
    }

    .contact-subtitle {
        font-size: 1em;
    }

    .stat-number {
        font-size: 2em;
    }

    .stat-label {
        font-size: 0.8em;
    }

    .form-heading {
        font-size: 1.6em;
    }

    .form-subheading {
        font-size: 1em;
    }

    .info-content h3 {
        font-size: 1em;
    }

    .info-content p,
    .info-content a {
        font-size: 0.9em;
    }
}