/*
Theme Name: Portfolio Video Theme
Description: Beautiful video gallery theme with fizzy gradient styling and Cloudflare Stream integration
Author: Your Name
Version: 1.0
Text Domain: portfolio-video-theme
*/

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

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: #333;
    background: #1a2a6c;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #fdbb2d, #b21f1f, #1a2a6c);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #fdbb2d, #b21f1f, #1a2a6c);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment: fixed;
    min-height: 100vh;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-content {
    min-height: 100vh;
    padding: 20px 0;
}

/* ===============================
   FRONT PAGE - HERO STYLING ✨
   ===============================*/

.front-page {
    padding: 0;
    min-height: 100vh;
}

.hero-container {
    background: transparent;
    position: relative;
    overflow: hidden;
}

/* Interactive Fizzy Bubbles ✨🫧 */
.fizzy-bubbles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.fizzy-bubble {
    position: absolute;
    border-radius: 50%;
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    box-shadow:
        0 0 20px rgba(253, 187, 45, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: floatBubble 6s ease-in-out infinite;
}

.fizzy-bubble:before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 30%;
    height: 30%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    filter: blur(2px);
}

/* Individual Bubble Styles */
.bubble-1 {
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at 30% 30%, rgba(253, 187, 45, 0.8), rgba(178, 31, 31, 0.6));
    animation-delay: 0s;
}

.bubble-2 {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, rgba(178, 31, 31, 0.7), rgba(26, 42, 108, 0.6));
    animation-delay: -1s;
}

.bubble-3 {
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 30% 30%, rgba(26, 42, 108, 0.8), rgba(253, 187, 45, 0.6));
    animation-delay: -2s;
}

.bubble-4 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle at 30% 30%, rgba(253, 187, 45, 0.6), rgba(26, 42, 108, 0.8));
    animation-delay: -3s;
}

.bubble-5 {
    width: 55px;
    height: 55px;
    background: radial-gradient(circle at 30% 30%, rgba(178, 31, 31, 0.8), rgba(253, 187, 45, 0.6));
    animation-delay: -4s;
}

.bubble-6 {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, rgba(26, 42, 108, 0.7), rgba(178, 31, 31, 0.6));
    animation-delay: -5s;
}

.bubble-7 {
    width: 65px;
    height: 65px;
    background: radial-gradient(circle at 30% 30%, rgba(253, 187, 45, 0.7), rgba(26, 42, 108, 0.6));
    animation-delay: -2.5s;
}

.bubble-8 {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%, rgba(178, 31, 31, 0.6), rgba(253, 187, 45, 0.8));
    animation-delay: -1.5s;
}

/* Floating Animation */
@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Mouse Interaction States */
.fizzy-bubble.hovered {
    transform: scale(1.5) !important;
    filter: brightness(1.3);
    box-shadow:
        0 0 40px rgba(253, 187, 45, 0.6),
        inset 0 0 30px rgba(255, 255, 255, 0.3);
}

.fizzy-bubble.repelled {
    transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fizzy-bubble.returning {
    transition: all 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 20px 80px 20px;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border-color: white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hero decorative elements */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: fizzyFloat 4s ease-in-out infinite;
    box-shadow:
        0 0 40px rgba(253, 187, 45, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: 5%;
    left: -150px;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(253, 187, 45, 0.2) 0%, rgba(178, 31, 31, 0.1) 50%, transparent 100%);
}

.circle-2 {
    width: 250px;
    height: 250px;
    top: 55%;
    right: -75px;
    animation-delay: 1.5s;
    background: radial-gradient(circle, rgba(178, 31, 31, 0.2) 0%, rgba(26, 42, 108, 0.1) 50%, transparent 100%);
}

.circle-3 {
    width: 180px;
    height: 180px;
    top: 25%;
    right: 15%;
    animation-delay: 3s;
    background: radial-gradient(circle, rgba(26, 42, 108, 0.2) 0%, rgba(253, 187, 45, 0.1) 50%, transparent 100%);
}

@keyframes fizzyFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.7;
    }

    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.1);
        opacity: 1;
    }

    50% {
        transform: translateY(-15px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }

    75% {
        transform: translateY(-40px) rotate(270deg) scale(1.05);
        opacity: 0.9;
    }
}

/* Responsive Hero Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .circle-1,
    .circle-2,
    .circle-3 {
        display: none;
    }
}

/* Site Header & Navigation */
.site-title {
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 1000;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    text-shadow:
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 8px 40px rgba(26, 42, 108, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.site-title:hover {
    transform: translateY(-2px) scale(1.05);
    text-shadow:
        0 6px 25px rgba(0, 0, 0, 0.5),
        0 10px 50px rgba(26, 42, 108, 0.4),
        0 3px 12px rgba(0, 0, 0, 0.7);
    background: rgba(255, 255, 255, 0.15);
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

/* Hamburger Menu */
.hamburger {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    padding: 15px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(26, 42, 108, 0.4);
}

.hamburger span {
    display: block;
    width: 35px;
    height: 4px;
    background: white;
    margin-bottom: 8px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* Side Panel Navigation */
.side-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 42, 108, 0.95) 0%, rgba(178, 31, 31, 0.95) 50%, rgba(253, 187, 45, 0.95) 100%);
    backdrop-filter: blur(20px);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    padding: 120px 50px 50px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.side-panel.open {
    right: 0;
}

.side-menu {
    list-style: none;
}

.side-menu li {
    margin-bottom: 40px;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.side-panel.open .side-menu li {
    transform: translateX(0);
    opacity: 1;
}

.side-menu li:nth-child(1) {
    transition-delay: 0.1s;
}

.side-menu li:nth-child(2) {
    transition-delay: 0.2s;
}

.side-menu li:nth-child(3) {
    transition-delay: 0.3s;
}

.side-menu li:nth-child(4) {
    transition-delay: 0.4s;
}

.side-menu a {
    color: white;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow:
        0 4px 15px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    display: block;
    padding: 15px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.side-menu a:hover {
    transform: translateX(10px) scale(1.05);
    text-shadow:
        0 6px 20px rgba(0, 0, 0, 0.6),
        0 3px 12px rgba(253, 187, 45, 0.8),
        0 8px 30px rgba(255, 255, 255, 0.3);
    border-bottom-color: rgba(253, 187, 45, 0.8);
}

/* Form Messages - Success & Error ✨ */
.form-message {
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-message.success {
    background: linear-gradient(135deg, rgba(253, 187, 45, 0.9), rgba(178, 31, 31, 0.9));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.form-message.success h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-message.error {
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.9), rgba(255, 154, 154, 0.9));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===============================
   PAGE STYLING - GALLERY & CONTACT 🎨
   Updated: Gallery should show FIZZY GRADIENT ✨ v2.1
   ===============================*/

.page-template-page-contact {
    background: transparent !important;
    min-height: 100vh;
}

/* Extra specific override for contact page */
body.page-template-page-contact {
    background: #1a2a6c !important;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #fdbb2d, #b21f1f, #1a2a6c) !important;
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #fdbb2d, #b21f1f, #1a2a6c) !important;
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

.page-header {
    background: transparent;
    padding: 6rem 0 4rem 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: clamp(2.6rem, 5vw, 3.5rem);
    font-weight: 300;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-description {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    opacity: 0.9;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 40rem;
}

.page-content {
    max-width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 4rem 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

body.page-template-page-video-gallery {
    min-height: 100vh;
}

.page-template-page-video-gallery .page-content {
    max-width: min(1400px, calc(100% - 48px));
    padding: clamp(0.75rem, 2vw, 1.5rem);
    margin-top: -1rem;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    backdrop-filter: none;
}

.page-template-page-video-gallery .container {
    max-width: 1360px;
    padding: 0;
}

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

.submit-btn {
    background: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .side-panel {
        width: 250px;
        right: -250px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 16px;
        top: 18px;
        left: 14px;
        padding: 8px 12px;
        letter-spacing: 1.2px;
        max-width: calc(100vw - 92px);
    }

    .hamburger {
        top: 18px;
        right: 14px;
        padding: 11px;
        border-radius: 10px;
    }

    .hamburger span {
        width: 28px;
        height: 3px;
        margin-bottom: 6px;
    }
}

/* ===============================
   ENHANCED FORM STYLING ✨
   ===============================*/

.contact-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.contact-info p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

.artist-contact-form {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.submit-btn {
    background: #1a2a6c;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(45deg, #fdbb2d, #b21f1f, #1a2a6c);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(45deg, #fdbb2d, #b21f1f, #1a2a6c);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    width: 100%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(26, 42, 108, 0.4);
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(26, 42, 108, 0.5),
        0 8px 25px rgba(178, 31, 31, 0.3),
        0 4px 15px rgba(253, 187, 45, 0.2);
    background: linear-gradient(45deg, #1a2a6c, #b21f1f, #fdbb2d);
}

.form-message.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .artist-contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }

    .page-content {
        margin-top: -1rem;
        border-radius: 15px 15px 0 0;
    }

    .page-title {
        font-size: 2.5rem;
    }
}

/* ===============================
   VIDEO GALLERY STYLING 🎬
   ===============================*/

.video-gallery-section {
    margin-top: 0;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2.75rem);
    padding: clamp(0.5rem, 1vw, 1rem) 0 3rem;
    align-items: stretch;
}

.video-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    cursor: pointer;
    box-shadow:
        0 24px 60px rgba(12, 16, 42, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.video-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 55%);
    pointer-events: none;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow:
        0 28px 70px rgba(12, 16, 42, 0.36),
        0 0 0 1px rgba(255, 255, 255, 0.28);
    border-color: rgba(253, 187, 45, 0.4);
}

.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail-frame,
.video-embed-frame {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 56.25%;
}

.video-thumbnail-image,
.video-embed-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

.video-thumbnail-image {
    border-radius: 28px 28px 0 0;
}

.video-embed {
    display: none;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    pointer-events: none;
}

.video-item:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(253, 187, 45, 0.4);
    box-shadow: 0 0 30px rgba(253, 187, 45, 0.3);
}

.video-info {
    padding: clamp(1.4rem, 2vw, 2rem);
    background: linear-gradient(135deg,
            rgba(253, 187, 45, 0.14) 0%,
            rgba(178, 31, 31, 0.16) 50%,
            rgba(26, 42, 108, 0.2) 100%);
}

.video-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.video-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
}

/* Video Lightbox Styles */
#video-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#video-lightbox.active {
    opacity: 1;
}

.lightbox-container {
    position: relative;
    width: min(90vw, 1200px);
    max-width: 1200px;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

#video-lightbox.active .lightbox-container {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.lightbox-close:hover {
    color: #fdbb2d;
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(253, 187, 45, 0.5);
}

.lightbox-content {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 75vh;
    min-width: 0;
    min-height: 0;
}

#lightbox-video-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

#lightbox-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Gallery Content (when videos are added via page content) */
.video-gallery-content iframe {
    border-radius: 15px;
    margin: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1100px) {
    .page-template-page-video-gallery .page-content {
        max-width: min(1080px, calc(100% - 32px));
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 5rem 0 3rem 0;
    }

    .page-template-page-video-gallery .page-content {
        max-width: calc(100% - 20px);
        padding: 0.5rem 0 1rem;
        margin-top: -0.5rem;
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0.5rem 0 2rem 0;
    }

    .video-item {
        margin: 0;
        border-radius: 22px;
    }

    .video-info {
        padding: 1.5rem;
    }

    .lightbox-content {
        max-height: none;
    }

    .lightbox-close {
        top: -40px;
        font-size: 2rem;
    }

    .play-button {
        font-size: 3rem;
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 560px) {
    .page-template-page-video-gallery .page-content {
        max-width: calc(100% - 16px);
    }

    .video-gallery-grid {
        gap: 1rem;
    }

    .video-item {
        border-radius: 20px;
    }

    .video-thumbnail-image {
        border-radius: 20px 20px 0 0;
    }

    .video-info {
        padding: 1.2rem;
    }

    .video-info h3 {
        font-size: 1.2rem;
        line-height: 1.15;
    }

    .video-info p {
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .play-button {
        font-size: 2.5rem;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 360px) {
    .site-title {
        font-size: 14px;
        top: 14px;
        left: 10px;
        padding: 7px 10px;
        border-radius: 10px;
        max-width: calc(100vw - 76px);
    }

    .hamburger {
        top: 14px;
        right: 10px;
        padding: 10px;
    }

    .hamburger span {
        width: 24px;
        margin-bottom: 5px;
    }

    .page-header {
        padding: 4.6rem 0 2.4rem 0;
    }

    .page-template-page-video-gallery .page-content {
        max-width: calc(100% - 12px);
    }

    .video-gallery-grid {
        gap: 0.85rem;
        padding-bottom: 1.25rem;
    }

    .video-item {
        border-radius: 18px;
    }

    .video-thumbnail-image {
        border-radius: 18px 18px 0 0;
    }

    .video-info {
        padding: 1rem;
    }
}