/**
 * Percussion Page Styles
 * Template: Free Percussion Course - Junior
 * Extracted from inline styles: December 2025
 */

/* Global Swiper Overflow Fix */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* ===== MODERN HEADER STYLES ===== */
body {
    font-family: 'Lato', sans-serif;
    color: #2B2823;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

html {
    margin-top: 0 !important;
    overflow-x: hidden;
}

/* Opanije Brand Styles */
.free-learning-page {
    font-family: 'Lato', sans-serif;
    color: #2B2823;
    background-color: #F7F7F7;
}

.free-learning-page h1, .free-learning-page h2, .free-learning-page h3, .free-learning-page h4, .free-learning-page h5, .free-learning-page h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Hero Section */
.hero-free {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background-color: #2B2823;
    position: relative;
    padding: 80px 0;
    color: #fff;
    overflow: hidden;
}

.hero-background-img {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 55%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.4;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero-content {
    max-width: 650px;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-free h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-free p {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: #fff;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
}

.hero-free strong {
    color: #d8a81b;
    font-weight: 700;
}

.cta-group {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-gold {
    background-color: #d8a81b;
    color: #2B2823;
    padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(216, 168, 27, 0.3);
    white-space: nowrap;
}

.btn-primary-gold:hover {
    background-color: #b7780d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(216, 168, 27, 0.4);
}

.section-light { padding: 90px 0; background-color: #fff; }
.section-gray { padding: 90px 0; background-color: #F7F7F7; }

.section-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    margin-bottom: clamp(1rem, 2vw, 1.2rem);
    text-align: center;
    font-weight: 800;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #6c757d;
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    padding: 0 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.feature-card {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    background: #fff;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid #f5f5f5;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    border-color: #d8a81b;
}

.feature-card .icon {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    color: #d8a81b;
}
.feature-card h4 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    color: #2B2823;
    line-height: 1.3;
}
.feature-card p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #666;
    line-height: 1.7;
}

/* Video Samples Section Styles */
.video-samples-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-top: clamp(2rem, 4vw, 3.5rem);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px 1rem;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid rgba(216, 168, 27, 0.1);
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(216, 168, 27, 0.25);
    border-color: rgba(216, 168, 27, 0.8);
}

.video-modal-trigger {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: block;
    -webkit-tap-highlight-color: transparent;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background-color: #000;
    border-radius: 14px;
}

.video-thumbnail img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(216, 168, 27, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.video-play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #fff;
    margin-left: 5px;
}

.video-modal-trigger:hover .video-play-icon,
.video-modal-trigger:focus .video-play-icon {
    background: rgba(183, 120, 13, 0.95);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-modal-trigger:focus {
    outline: 2px solid #d8a81b;
    outline-offset: 2px;
}

/* Active/touch state for mobile */
.video-card:has(.video-modal-trigger:active),
.video-card:active {
    border-color: rgba(216, 168, 27, 0.9);
    box-shadow: 0 12px 35px rgba(216, 168, 27, 0.3);
}

/* Touch-specific styles for mobile devices */
@media (hover: none) and (pointer: coarse) {
    .video-card:hover {
        transform: none;
    }

    .video-card:active {
        transform: translateY(-4px);
        border-color: rgba(216, 168, 27, 1);
        box-shadow: 0 12px 35px rgba(216, 168, 27, 0.35);
    }
}

/* Video Modal Styles - Mobile-First */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: 9999;
    padding: 1rem;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.video-modal-close:hover,
.video-modal-close:focus {
    background: rgba(216, 168, 27, 0.9);
    border-color: rgba(216, 168, 27, 1);
    transform: scale(1.1);
    outline: none;
}

.video-modal-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
}

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

/* Social Media Follow Section Styles */
.social-follow-section {
    background: linear-gradient(135deg, #2B2823 0%, #3d3530 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.social-follow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23d8a81b" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.social-follow-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.social-follow-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 800;
}

.social-follow-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.social-buttons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.social-button {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.social-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #d8a81b;
    text-decoration: none;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.social-icon.facebook { background: linear-gradient(135deg, #1877f2, #42a5f5); }
.social-icon.youtube { background: linear-gradient(135deg, #ff0000, #ff5722); }
.social-icon.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }

.social-content h4 {
    color: #2B2823;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.social-content p {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.social-cta {
    background: rgba(216, 168, 27, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-cta h5 {
    color: #d8a81b;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.social-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* Unlock Section Styles */
.unlock-section {
    background: #fff;
    padding: 70px 0;
}

.unlock-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: #F7F7F7;
    border: 2px dashed #d8a81b;
    border-radius: 16px;
    padding: 3rem 2rem;
}

.unlock-locked-note {
    color: #6c757d;
    margin-top: 0.75rem;
    font-size: 1rem;
}

.btn-locked {
    background: #bbb !important;
    color: #fff !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.btn-locked:hover {
    background: #bbb !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-unlocked {
    background: #2B2823 !important;
    color: #d8a81b !important;
}

.btn-unlocked:hover {
    background: #000 !important;
    color: #ffd75a !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3) !important;
}

.instructions {
    margin-top: 2rem;
    color: #2B2823;
    text-align: center;
}

.instructions p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.instructions strong {
    color: #b7780d;
}

.checkmark {
    display: none;
    margin-left: 8px;
    color: #2e7d32;
    font-weight: bold;
}

/* Explore Cards */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: clamp(2rem, 4vw, 3.5rem);
}

.explore-card-new {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.explore-card-new:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-color: rgba(216, 168, 27, 0.3);
}

.explore-card-new .card-icon {
    font-size: clamp(3rem, 6vw, 4rem);
    text-align: center;
    padding: clamp(2rem, 4vw, 3rem) 0 clamp(1rem, 2vw, 1.5rem) 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
}

.explore-card-new .card-content {
    padding: 0 clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.explore-card-new h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #2B2823;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.explore-card-new p {
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    color: #666;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    flex-grow: 1;
}

.explore-card-new .btn-card-primary,
.explore-card-new .btn-card-secondary {
    display: block;
    text-align: center;
    padding: clamp(1rem, 2vw, 1.2rem) clamp(1.5rem, 3vw, 2rem);
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 18px 18px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-card-primary {
    background: linear-gradient(135deg, #d8a81b 0%, #b7780d 100%);
    color: #fff;
}

.btn-card-primary:hover {
    background: linear-gradient(135deg, #b7780d 0%, #8f5e0a 100%);
    transform: scale(1.02);
}

.btn-card-secondary {
    background: #f5f5f5;
    color: #2B2823;
}

.btn-card-secondary:hover {
    background: #d8a81b;
    color: #fff;
}

/* Course Access Banner Styles */
.limited-time-banner {
    background: linear-gradient(135deg, #d8a81b 0%, #b7780d 100%);
    padding: 1.2rem 1.5rem;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 999;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(216, 168, 27, 0.4);
}

.limited-time-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.banner-text p {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: #fff;
    margin: 0;
    opacity: 0.95;
    line-height: 1.5;
}

.banner-cta {
    flex-shrink: 0;
}

.btn-banner {
    background-color: #2B2823;
    color: #d8a81b;
    padding: 1.1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    border: 2px solid #2B2823;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-banner:hover {
    background-color: #fff;
    color: #2B2823;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-7, .col-md-10, .col-lg-4 {
    padding: 0 15px;
}

.col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-md-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.d-flex {
    display: flex;
}

.w-100 {
    width: 100%;
}

.g-4 {
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .col-lg-7, .col-md-10, .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-background-img {
        width: 100%;
        opacity: 0.2;
        mask-image: none;
        -webkit-mask-image: none;
    }
    .hero-free { text-align: center; }
    .hero-content { margin-left: auto; margin-right: auto; text-align: center; }
    .cta-group { justify-content: center; }
    .social-buttons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .limited-time-banner {
        padding: 1rem 1rem;
    }

    .banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .banner-text {
        min-width: auto;
    }

    .btn-banner {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .hero-free {
        min-height: 70vh;
        padding: 60px 0;
    }
    .cta-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    .btn-primary-gold {
        width: 100%;
        text-align: center;
    }
    .section-light, .section-gray {
        padding: clamp(40px, 8vw, 60px) 0;
    }

    .video-samples-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 20px 0.5rem;
        max-width: 500px;
    }

    .video-card {
        width: 100%;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .video-play-icon {
        width: 80px;
        height: 80px;
    }

    .video-modal {
        padding: 0.75rem;
    }

    .video-modal-content {
        width: 100%;
        border-radius: 4px;
    }

    .video-modal-close {
        top: -50px;
        right: 5px;
        font-size: 1.8rem;
        width: 36px;
        height: 36px;
        background: rgba(216, 168, 27, 0.95);
        border-color: rgba(216, 168, 27, 1);
    }

    .container {
        padding: 0 1rem;
    }

    .features-grid {
        gap: 1.5rem;
    }

    .explore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .explore-card-new .card-icon {
        font-size: 3.5rem;
        padding: 2rem 0 1rem 0;
    }

    .social-follow-section {
        padding: 50px 0;
    }
    .social-button {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .social-content h4 {
        font-size: 1.2rem;
    }

    .unlock-card {
        padding: 2rem 1.5rem;
    }
}
