/* Index.html Styles */
body {
    margin: 0;
    padding: 0;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    position: relative;
}

@media (min-aspect-ratio: 16/9) {
    body {
        height: 56.25vw; /* height:width ratio = 9/16 = .5625  */
        max-height: 100vh;
        max-width: 177.78vh; /* 16/9 = 1.778 */
        margin: auto;
        position: absolute;
        top: 0; bottom: 0; /* vertical center */
        left: 0; right: 0; /* horizontal center */
    }
}

.video-background {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%) scale(1.3);
    object-fit: cover;
    z-index: -1;
    opacity: 0.1;
    filter: grayscale(100%);
    pointer-events: none;
}

.content {
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.logo {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icon {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #ff0000;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 20px 0 40px;
}

        .nav-link {
            color: white;
            text-decoration: none;
            font-family: 'Zalando Sans Expanded', sans-serif;
            font-weight: 700;
            font-size: 17px;
            text-transform: uppercase;
            letter-spacing: 4px;
            padding: 10px 20px;
            border-radius: 7px;
            transition: 0.5s;
            transition-property: box-shadow;
            background: rgb(255,0,0);
            box-shadow: 0 0 25px rgb(255,0,0);
            border: none;
        }

.nav-link:hover {
    box-shadow: 0 0 5px rgb(255,0,0),
                0 0 25px rgb(255,0,0),
                0 0 50px rgb(255,0,0),
                0 0 100px rgb(255,0,0);
    color: white;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

        .dropdown-btn {
            background: rgb(255,0,0);
            border: none;
            color: white;
            font-family: 'Zalando Sans Expanded', sans-serif;
            font-weight: 700;
            font-size: 17px;
            text-transform: uppercase;
            letter-spacing: 4px;
            padding: 10px 20px;
            border-radius: 7px;
            transition: 0.5s;
            transition-property: box-shadow;
            box-shadow: 0 0 25px rgb(255,0,0);
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

.dropdown-btn:hover {
    box-shadow: 0 0 5px rgb(255,0,0),
                0 0 25px rgb(255,0,0),
                0 0 50px rgb(255,0,0),
                0 0 100px rgb(255,0,0);
    color: white;
}

.dropdown-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-btn i {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    min-width: 250px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    top: 100%;
    left: 0;
    margin-top: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Create a bridge between button and dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.dropdown-link {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: 'Inter Tight', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    color: #ff0000;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Keep dropdown open when hovering over it */
.dropdown-content:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.recent-videos-heading {
    color: white;
    font-family: 'Zalando Sans Expanded', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    margin: 60px 0 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-gallery {
    overflow: hidden;
    width: 100%;
    margin: 0 auto 60px;
    position: relative;
}

.video-slider {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: max-content;
    height: 400px;
}

.video-row {
    display: flex;
    animation: slide 35s linear infinite;
    gap: 20px;
    width: max-content;
}

.video-row:nth-child(2) {
    animation: slide-reverse 40s linear infinite;
}

.video-slider:hover .video-row {
    animation-play-state: paused;
}

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

@keyframes slide-reverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

@media (max-width: 768px) {
    .video-container {
        width: 250px;
        min-width: 250px;
    }
    
    .video-row {
        animation-duration: 30s !important;
    }
    
    .video-slider {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .video-container {
        width: 200px;
        min-width: 200px;
    }
    
    .video-row {
        animation-duration: 25s !important;
    }
    
    .video-slider {
        height: 280px;
    }
    
    .dropdown-content {
        min-width: 200px;
        left: -50px;
    }
}

.video-container {
    position: relative;
    display: block;
    width: 300px;
    min-width: 300px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.play-button i {
    margin-left: 2px; /* Slight adjustment to center the triangle better */
}

.video-container:hover .play-button {
    opacity: 1;
}

/* Routes.html Styles */
:root {
    --primary-color: #ff0000;
    --primary-hover: #ff4d4d;
    --bg-color: #0a0a0a;
    --content-bg: rgba(20, 20, 20, 0.9);
    --text-color: #ffffff;
    --text-muted: #bbbbbb;
    --border-color: #333333;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.routes-body {
    margin: 0;
    padding: 20px;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.routes-body .container {
    max-width: 1100px;
    margin: 0;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.routes-h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
    font-weight: 700;
    font-family: 'Zalando Sans Expanded', sans-serif;
}

.section-title {
    color: var(--primary-color);
    margin: 20px 0 8px;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: 'Zalando Sans Expanded', sans-serif;
}

.code-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 auto 28px;
    max-width: 800px;
    justify-content: center;
}

.code-section {
    margin-bottom: 0;
}

.code-block {
    background-color: #111111;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    overflow-x: auto;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.code-block code {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
    color: #e6e6e6;
    white-space: nowrap;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.copy-btn {
    padding: 10px 20px;
    border: none;
    font-size: 17px;
    color: #fff;
    border-radius: 7px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.5s;
    transition-property: box-shadow;
    background: rgb(255,0,0);
    box-shadow: 0 0 25px rgb(255,0,0);
    cursor: pointer;
    flex-shrink: 0;
}

.copy-btn:hover {
    box-shadow: 0 0 5px rgb(255,0,0),
                0 0 25px rgb(255,0,0),
                0 0 50px rgb(255,0,0),
                0 0 100px rgb(255,0,0);
}

.copy-btn:active {
    transform: translateY(1px);
}

.back-home {
    display: block;
    margin: 30px auto 0;
    padding: 10px 20px;
    border: none;
    font-size: 17px;
    color: #fff;
    border-radius: 7px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.5s;
    transition-property: box-shadow;
    background: rgb(255,0,0);
    box-shadow: 0 0 25px rgb(255,0,0);
    text-decoration: none;
    text-align: center;
    width: fit-content;
}

.back-home:hover {
    box-shadow: 0 0 5px rgb(255,0,0),
                0 0 25px rgb(255,0,0),
                0 0 50px rgb(255,0,0),
                0 0 100px rgb(255,0,0);
    text-decoration: none;
    color: white;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .red-pulse {
        width: 250px;
        height: 125px;
        border-radius: 250px 250px 0 0;
    }
}

@media (max-width: 480px) {
    .red-pulse {
        width: 200px;
        height: 100px;
        border-radius: 200px 200px 0 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .code-block code {
        font-size: 0.9rem;
    }
}
