/* Base Styles using Vanilla CSS */
:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #00f2ff;
    /* Cyan glow */
    --accent-secondary: #ff0055;
    /* Magenta glow */
    --font-heading: 'Outfit', sans-serif;
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-heading);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Ambient Glow */
.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.03) 0%, rgba(5, 5, 5, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-color);
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--text-primary);
    color: var(--bg-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: transform 0.2s, background 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    background: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

/* Gallery Section - Blog Side-by-Side */
.gallery-section {
    padding: 4rem 5%;
    max-width: 1200px;
    /* Increased to fit side-by-side */
    margin: 0 auto;
}

.gallery-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.video-blog-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50% Video, 50% Text */
    gap: 2rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 2rem;
    align-items: center;
    /* Center text vertically */
}

.video-blog-post:hover {
    border-color: var(--accent-color);
}

.video-item-left {
    width: 100%;
}

.video-item-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.video-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    white-space: pre-wrap;
    /* Preserve newlines */
}

/* Video Container (Responsive 16:9) */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive: Stack on mobile */
@media (max-width: 900px) {
    .video-blog-post {
        grid-template-columns: 1fr;
    }

    .video-title {
        margin-top: 1rem;
    }
}

/* Footer (Adjustments) */
footer {
    padding: 3rem 5%;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    margin-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.social-links svg {
    width: 28px;
    height: 28px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem;
    }

    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .video-title {
        font-size: 1.25rem;
    }
}