/* ==========================================================
   BARCRAFT ACADEMY — CINEMATIC PUBLIC CSS PACK v1.0
   Clean, modern, premium dark–gold UI
   ========================================================== */


/* ------------------------------
   BRAND COLORS
   ------------------------------ */
:root {
    --gold: #D4AF37;
    --gold-light: #f5d46a;
    --dark-bg: #0e0e0e;
    --glass-bg: rgba(255,255,255,0.06);
    --glass-border: rgba(212,175,55,0.18);
}


/* ------------------------------
   GLOBAL PAGE BACKGROUND
   ------------------------------ */
body {
    background: #0b0b0b;
    color: #e5e5e5;
    overflow-x: hidden;
}



/* ==========================================================
   CINEMATIC SCROLL REVEAL
   ========================================================== */
.cinematic-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
    transition: all .8s cubic-bezier(.16,.84,.44,1);
}

.cinematic-reveal.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}



/* ==========================================================
   GLASSMORPHISM CARD
   ========================================================== */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all .35s ease;
}

.glass-card:hover {
    background: rgba(255,255,255,0.10);
    border-color: rgba(212,175,55,0.40);
    transform: scale(1.03);
    box-shadow:
            0 0 25px rgba(212,175,55,0.35),
            0 0 45px rgba(212,175,55,0.25);
}



/* ==========================================================
   GOLD BUTTONS (final version)
   ========================================================== */

/* Gold button */
.btn-gold {
    background: var(--gold);
    color: #000;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(212,175,55,0.20);
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-gold:hover {
    background: var(--gold-light);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(212,175,55,0.45);
}

/* Outline gold */
.btn-outline-gold {
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 500;
    padding: 11px 24px;
    border-radius: 10px;
    transition: all .25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(212,175,55,0.45);
}

/* Button entry cinematic animation */
.btn-gold, .btn-outline-gold {
    animation: fadeInButtons .55s ease forwards;
    opacity: 0;
}

@keyframes fadeInButtons {
    0% { opacity: 0; transform: translateY(10px) scale(0.94); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}



/* ==========================================================
   PARALLAX HERO
   ========================================================== */
.parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}



/* ==========================================================
   PAGINATION (gold cinematic)
   ========================================================== */
.pagination-wrapper nav > div > span,
.pagination-wrapper nav > div > a {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212,175,55,0.15);
    color: var(--gold);
    padding: 8px 14px;
    border-radius: 8px;
}

.pagination-wrapper nav > div > span {
    background: var(--gold);
    color: #000;
}



/* ==========================================================
   SLIDER BASICS (coverflow-ready)
   ========================================================== */
.myCoursesSwiper,
.myCoursesSwiper .swiper-wrapper,
.myCoursesSwiper .swiper-slide {
    overflow: visible !important;
}

.myCoursesSwiper .swiper-slide {
    display: flex;
    justify-content: center;
}

.course-card {
    width: 90%;
    max-width: 330px;
    border-radius: 20px;
    transition: .35s ease;
}

/* Active card */
.myCoursesSwiper .swiper-slide-active .course-card {
    transform: scale(1.07);
    box-shadow:
            0 0 25px rgba(212,175,55,0.35),
            0 0 45px rgba(212,175,55,0.20);
}

/* Next/prev */
.myCoursesSwiper .swiper-slide-next .course-card,
.myCoursesSwiper .swiper-slide-prev .course-card {
    transform: scale(0.92);
    opacity: 0.85;
}



/* ==========================================================
   TYPOGRAPHY
   ========================================================== */
.section-title {
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 15px rgba(212,175,55,0.35);
}



/* ==========================================================
   MISC FIXES
   ========================================================== */

/* No strange scroll wobble */
html, body {
    scroll-behavior: smooth;
}

/* Remove unwanted horizontal scroll */
* {
    box-sizing: border-box;
}



/* ==========================================================
   END OF BARCRAFT CINEMATIC PACK
   ========================================================== */
