/**
 * Dark Glassmorphic Theme CSS
 * Deep obsidian canvas with frosted glass surfaces and ambient radial glow.
 */

/* ========================================
   BASE RESET & TYPOGRAPHY
   ======================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    background-color: var(--background-color);
    background-image:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--accent-color), transparent 86%) 0%, transparent 45%),
        radial-gradient(circle at 88% 58%, color-mix(in srgb, var(--secondary-color), transparent 87%) 0%, transparent 48%);
    background-attachment: fixed;
    font-family: var(--default-font);
    font-size: var(--bs-body-font-size, 15px);
    font-weight: var(--bs-body-font-weight, 400);
    color: var(--default-color);
    letter-spacing: 0.015em;
    overflow-x: hidden;
}

a {
    color: color-mix(in srgb, var(--accent-color), white 22%);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffffff;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

.text-muted {
    color: rgba(240, 243, 248, 0.65) !important;
}

/* ========================================
   HEADER (GLASSMORPHIC SCROLLED STATE)
   ======================================== */
.scrolled .header {
    --default-color: #f8fafc;
    --heading-color: #ffffff;
    background-color: var(--header-background-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.light-background {
    --background-color: #0b0d14;
    --surface-color: rgba(18, 22, 32, 0.78);
    --default-color: #d1d5db;
    --heading-color: #f8fafc;
}

.dark-background {
    --background-color: #090a0f;
    --default-color: #d1d5db;
    --heading-color: #ffffff;
    --surface-color: rgba(18, 22, 32, 0.72);
    --contrast-color: #ffffff;
    --header-background-color: rgba(13, 16, 24, 0.78);
}

/* ========================================
   GLOBAL SECTIONS
   ======================================== */
section,
.section {
    color: var(--default-color);
    background-color: transparent;
    padding: 72px 0;
    scroll-margin-top: 80px;
    overflow: clip;
    position: relative;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 56px;
    }
}

/* Section Titles */
.section-title {
    text-align: center;
    padding-bottom: 56px;
    position: relative;
}

.section-title h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 999px;
    box-shadow: 0 0 14px color-mix(in srgb, var(--accent-color), transparent 35%);
}

.section-title p {
    margin-bottom: 0;
    color: rgba(240, 243, 248, 0.68);
}

/* ========================================
   BUTTONS & FORM CONTROLS
   ======================================== */
.btn {
    border-radius: var(--border-radius) !important;
}

.btn-primary {
    --bs-btn-bg: var(--btn-primary-bg);
    --bs-btn-border-color: var(--btn-primary-bg);
    --bs-btn-color: var(--btn-primary-color, #ffffff);
    --bs-btn-hover-bg: var(--btn-primary-hover);
    --bs-btn-hover-border-color: var(--btn-primary-hover);
    --bs-btn-active-bg: var(--btn-primary-active);
    --bs-btn-active-border-color: var(--btn-primary-active);
    border-radius: var(--border-radius);
    box-shadow: 0 6px 24px -6px color-mix(in srgb, var(--accent-color), transparent 35%);
}

.btn-outline-primary {
    --bs-btn-color: var(--btn-outline-primary-color);
    --bs-btn-border-color: var(--btn-outline-primary-color);
    --bs-btn-hover-color: var(--btn-outline-primary-hover-color);
    --bs-btn-hover-bg: var(--btn-outline-primary-hover-bg);
    --bs-btn-hover-border-color: var(--btn-outline-primary-hover-bg);
    --bs-btn-active-bg: var(--btn-outline-primary-hover-bg);
    --bs-btn-active-border-color: var(--btn-outline-primary-hover-bg);
    border-radius: var(--border-radius);
}

.btn-outline-secondary {
    border-radius: var(--border-radius);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-control,
.form-select {
    border-radius: var(--border-radius) !important;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: rgba(240, 243, 248, 0.45);
}

.form-control:focus,
.form-select:focus {
    background-color: rgba(255, 255, 255, 0.09);
    border-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 72%);
}

/* ========================================
   GLASSMORPHIC CARDS & IMAGE OVERLAYS
   ======================================== */
.card,
.image-overlay {
    border-radius: var(--card-border-radius) !important;
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--accent-color), transparent 45%);
    box-shadow: 0 18px 40px -10px color-mix(in srgb, var(--accent-color), transparent 72%);
}

.card-title,
.card-body {
    color: #f8fafc;
}

.card .card-img-top,
.card-img-wrapper img {
    border-radius: var(--card-border-radius) var(--card-border-radius) 0 0 !important;
}

.card-img-top {
    object-fit: cover;
    height: 300px;
    transition: transform 0.45s ease;
}

.card-img-wrapper {
    overflow: hidden;
    position: relative;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* ========================================
   MODAL & LIST GROUP (DARK GLASS)
   ======================================== */
.modal {
    --bs-modal-bg: rgba(15, 18, 28, 0.96);
    --bs-modal-color: #f0f3f8;
    --bs-modal-border-color: rgba(255, 255, 255, 0.12);
}

.modal-content {
    background-color: rgba(15, 18, 28, 0.95);
    color: #f0f3f8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.modal .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.btn-close-modal .text-dark {
    color: #f8fafc !important;
}

.list-group {
    --bs-list-group-border-color: rgba(255, 255, 255, 0.08);
    --bs-list-group-bg: transparent;
    --bs-list-group-color: #e2e8f0;
}

.list-group-item svg {
    margin-right: 10px;
}

/* ========================================
   SCROLL TOP BUTTON
   ======================================== */
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius);
    box-shadow: 0 0 20px color-mix(in srgb, var(--accent-color), transparent 45%);
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: #ffffff;
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 15%);
    color: #ffffff;
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* ========================================
   LOADING STATES
   ======================================== */
.content-loading {
    opacity: 0.6;
    pointer-events: none;
}

.content-loaded {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* ========================================
   HERO SECTION (AMBIENT GLOW)
   ======================================== */
.hero-content {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.65);
}

.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero .hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.48) saturate(1.15);
    z-index: 1;
    transform: scale(1);
    animation: kenburns 25s ease-out infinite alternate;
}

.hero:before {
    content: "";
    background: linear-gradient(180deg, rgba(9, 10, 15, 0.25) 0%, rgba(9, 10, 15, 0.65) 55%, #090a0f 100%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

@keyframes kenburns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero h1 {
    margin: 0;
    font-size: calc(1.7rem + 4vw);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero p {
    margin: 8px 0 0 0;
    font-size: 24px;
    color: rgba(240, 243, 248, 0.85);
}

.hero p span {
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-color);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 34px;
    }
    .hero p {
        font-size: 19px;
    }
}

.altbanner {
    background: linear-gradient(-45deg,
        #090a0f,
        color-mix(in srgb, var(--accent-color), #090a0f 65%),
        color-mix(in srgb, var(--secondary-color), #090a0f 62%),
        #0d1018);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about .profile-img img {
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 0 40px color-mix(in srgb, var(--accent-color), transparent 82%);
    border-radius: var(--border-radius);
}

.about .content p {
    white-space: pre-line;
    line-height: 1.75;
    color: var(--default-color);
}

/* ========================================
   EVENTS SECTION
   ======================================== */
.event-content {
    padding: 16px;
}

.event-content p {
    white-space: pre-line;
    line-height: 1.65;
}

.event-img {
    aspect-ratio: 3/2 auto;
    max-width: 100%;
    max-height: 100vh;
}

/* ========================================
   VIDEOS SECTION
   ======================================== */
#videos {
    height: auto;
    width: 100%;
    background: rgba(13, 16, 24, 0.65);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 72px;
    position: relative;
}

#videos .videos-block {
    display: inline-block;
    height: auto;
    width: 100%;
}

#videos .videos-block .videos-info {
    position: relative;
    background: var(--surface-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    backdrop-filter: blur(14px);
    height: 100%;
}

.videos-block .videos-info img {
    width: 100%;
    max-width: 100%;
}

.videos-block .videos-info .videos-txt {
    padding: 18px 20px;
    position: relative;
}

.videos-block .videos-info .videos-txt a,
.videos-block .videos-info .videos-txt h4 a {
    display: block;
    font-size: 17px;
    line-height: 24px;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #f8fafc;
    transition: color 0.3s ease;
}

.videos-block .videos-info .videos-txt a:hover,
.videos-block .videos-info .videos-txt h4 a:hover {
    color: color-mix(in srgb, var(--accent-color), white 25%);
}

.videos-block .videos-info .videos-txt p {
    margin: 0;
    font-size: 13.5px;
    line-height: 22px;
    color: rgba(240, 243, 248, 0.65);
}

@media (max-width: 991px) {
    #videos .videos-block .videos-info {
        margin-bottom: 24px;
    }
}

/* ========================================
   POPULAR / TRENDING SECTION
   ======================================== */
#popular {
    height: auto;
    width: 100%;
    padding-bottom: 72px;
    position: relative;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent-color), #090a0f 74%),
        color-mix(in srgb, var(--secondary-color), #090a0f 78%));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.song-list .song {
    background-color: rgba(18, 22, 32, 0.72);
    color: #f8fafc;
    border: 1px solid rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(12px);
    margin: 6px 0;
    border-radius: var(--border-radius);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.song-list .song:hover {
    background-color: rgba(28, 34, 48, 0.88);
    border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
    transform: translateX(4px);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
#contact {
    height: auto;
    width: 100%;
}

.contact-details {
    list-style: none;
    margin: 0;
    padding: 0 0 0 10px;
}

.contact-details li {
    padding-bottom: 10px;
}

#contact textarea {
    min-height: 160px;
}

.php-email-form .error-message {
    display: none;
    color: #fff;
    background: rgba(239, 68, 68, 0.9);
    border-radius: var(--border-radius);
    text-align: left;
    padding: 15px;
    margin-bottom: 15px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #fff;
    background: rgba(16, 185, 129, 0.9);
    border-radius: var(--border-radius);
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.php-email-form .loading {
    display: none;
    background: rgba(18, 22, 32, 0.8);
    color: #f8fafc;
    border-radius: var(--border-radius);
    text-align: center;
    padding: 15px;
    margin-bottom: 15px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: rgba(255, 255, 255, 0.2);
    animation: animate-loading 1s linear infinite;
}

@keyframes animate-loading {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

blockquote {
    padding: 36px;
    background-color: rgba(18, 22, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--bs-primary, var(--accent-color));
    border-radius: var(--border-radius);
    margin: 30px 0;
}

/* ========================================
   FOOTER
   ======================================== */
.footer,
.footer.light-background {
    color: rgba(240, 243, 248, 0.72);
    background-color: #06070b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    text-align: center;
    padding: 36px 0;
    position: relative;
}

.footer .credits {
    font-size: 13px;
    padding-top: 5px;
}

/* ========================================
   SOCIAL LINKS
   ======================================== */
.list-social {
    display: flex;
    margin-top: 1rem;
}

.list-social li {
    margin-right: 20px;
}

.list-social li a,
.list-social li a svg,
.list-social li a i {
    color: rgba(240, 243, 248, 0.8);
    fill: rgba(240, 243, 248, 0.8);
    transition: all 0.25s ease;
    height: 30px;
    width: 30px;
    font-size: 30px;
}

.list-social li a:hover,
.list-social li a:hover svg,
.list-social li a:hover i {
    color: color-mix(in srgb, var(--accent-color), white 20%);
    fill: color-mix(in srgb, var(--accent-color), white 20%);
    transform: translateY(-2px);
}

.hero-merch .btn {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-merch .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--accent-color), transparent 45%) !important;
}

/* ========================================
   ARTICLES SLIDER
   ======================================== */
.articles-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.articles-slider-container {
    overflow: hidden;
    width: 100%;
}

.articles-slider {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.articles-slider .articles-item {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(18, 22, 32, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.slider-nav:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.08);
}

.slider-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.slider-prev { left: 0; }
.slider-next { right: 0; }

.slider-nav i {
    font-size: 24px;
}

@media (max-width: 991px) {
    .articles-slider .articles-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .articles-slider-wrapper {
        padding: 0 50px;
    }
    .slider-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .articles-slider .articles-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .articles-slider-wrapper {
        padding: 0 40px;
    }
    .slider-nav {
        width: 35px;
        height: 35px;
    }
}

/* ========================================
   NAVIGATION OVERRIDES
   ======================================== */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 12px 0;
        margin: 0;
        overflow-y: auto;
        z-index: 9998;
        background: var(--nav-mobile-background-color);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(9, 10, 15, 0.85);
        height: 100vh;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }
}

@media (min-width: 1200px) {
    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }
}

/* ========================================
   AOS & MODAL LAYOUT
   ======================================== */
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

.article-right-content {
    height: 80vh;
    overflow-y: auto;
}

@media (min-width: 992px) {
    .modal-body {
        display: flex;
        align-items: center;
    }
}

