/* ===== FORTISSIMO MUSIC WEBSITE ===== */

:root {
    --gold: #C9A84C;
    --gold-light: #E8C76A;
    --gold-dark: #8B6914;
    --black: #0A0A0A;
    --dark: #111111;
    --dark-2: #1a1a1a;
    --dark-3: #222222;
    --text-light: #f0e6d3;
    --text-muted: #aaa;
}

/* Override Bootstrap text-muted for dark theme */
.text-muted {
    color: #aaa !important;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--black);
    color: var(--text-light);
    padding-top: 80px;
    margin: 0;
}

/* ===== NAVBAR ===== */
.fortissimo-navbar {
    background: rgba(0,0,0,0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--gold);
    transition: all 0.3s ease;
    z-index: 1050;
}

    .fortissimo-navbar.scrolled {
        background: rgba(0,0,0,1) !important;
        box-shadow: 0 4px 20px rgba(201,168,76,0.3);
    }

.brand-text {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold) !important;
    letter-spacing: 1px;
}

    .brand-text small {
        display: block;
        font-size: 0.7rem;
        color: var(--text-muted);
        font-weight: 400;
        letter-spacing: 3px;
    }

.navbar-nav .nav-link {
    color: #ccc !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
    position: relative;
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--gold);
        transition: width 0.3s;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--gold) !important;
    }

        .navbar-nav .nav-link:hover::after {
            width: 100%;
            right: 0;
        }

/* ===== GOLD BUTTON ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #000 !important;
    font-weight: 700;
    border: none;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

    .btn-gold:hover {
        background: linear-gradient(135deg, var(--gold-light), var(--gold));
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(201,168,76,0.4);
        color: #000 !important;
    }

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline-gold:hover {
        background: var(--gold);
        color: #000;
        transform: translateY(-2px);
    }

/* ===== HERO ===== */
.hero-main {
    background: var(--dark);
    overflow: hidden;
}

.hero-gallery-img {
    width: 100%;
    height: 75vh;
    min-height: 350px;
    max-height: 750px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: var(--dark);
}

/* ����� ������ */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 10;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2.2rem;
    height: 2.2rem;
    background-color: rgba(0,0,0,0.55);
    border-radius: 50%;
    background-size: 55%;
    border: 1.5px solid rgba(201,168,76,0.55);
    transition: all 0.2s;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(201,168,76,0.7);
    border-color: var(--gold);
}

/* ������ */
.carousel-indicators {
    bottom: 10px;
    z-index: 10;
}

    .carousel-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        border: none;
        background-color: rgba(255,255,255,0.4);
        margin: 0 3px;
        transition: all 0.25s;
    }

    .carousel-indicators .active {
        background-color: var(--gold);
        transform: scale(1.35);
    }

/* ��� ���� �������� + ������ */
.hero-bio-section {
    background: var(--dark-2);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

.hero-bio-inner {
    display: flex;
    direction: rtl;
    min-height: 340px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.hero-dr-col {
    width: 32%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.hero-dr-frame {
    border: 2px solid rgba(201,168,76,0.45);
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 240px;
}

.hero-dr-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-bio-col {
    flex: 1;
    padding: 2.5rem 1rem 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.hero-bio-col::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/piano-bg.svg');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

.hero-bio-col > * {
    position: relative;
    z-index: 1;
}

.hero-bio-text {
    color: #bbb;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .hero-bio-inner {
        flex-direction: column;
        min-height: unset;
    }

    .hero-dr-col {
        width: 100%;
        padding: 1.5rem 2rem 0.5rem;
    }

    .hero-dr-frame {
        max-width: 180px;
        margin: 0 auto;
    }

    .hero-dr-img {
        height: auto;
    }

    .hero-bio-col {
        padding: 1.5rem;
    }
}

.hero-label {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
}

.hero-name {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.1rem;
}

.hero-name-en {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 0;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: flex-end;
}

.hero-badge {
    background: rgba(201,168,76,0.07);
    border: 1px solid rgba(201,168,76,0.22);
    color: var(--gold-light);
    padding: 0.18rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
}

/* Responsive carousel */
@media (max-width: 575px) {
    .hero-gallery-img {
        height: 45vh;
        min-height: 220px;
    }
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.2rem;
        font-weight: 900;
        color: var(--gold);
        margin-bottom: 0.5rem;
    }

    .section-title p {
        color: var(--text-muted);
        font-size: 1.1rem;
    }

.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 0.8rem auto;
}

/* ===== SECTION BACKGROUNDS ===== */
.section-dark {
    background: var(--dark);
    padding: 5rem 0;
}

.section-darker {
    background: var(--dark-2);
    padding: 5rem 0;
}

.section-darkest {
    background: var(--black);
    padding: 5rem 0;
}

/* ===== VISION SECTION ===== */
.vision-card {
    background: linear-gradient(135deg, var(--dark-3), var(--dark-2));
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
    height: 100%;
}

    .vision-card:hover {
        border-color: var(--gold);
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(201,168,76,0.15);
    }

.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #000;
}

/* ===== VIDEO SECTION ===== */
.video-card {
    background: var(--dark-3);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.2);
    transition: all 0.3s;
}

    .video-card:hover {
        border-color: var(--gold);
        box-shadow: 0 10px 30px rgba(201,168,76,0.2);
    }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.video-card-body {
    padding: 1.5rem;
    text-align: center;
}

    .video-card-body h4 {
        color: var(--gold);
        font-weight: 700;
        margin-bottom: 0.5rem;
    }

/* ===== EVENT CARDS ===== */
.event-card {
    background: var(--dark-3);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}

    .event-card:hover {
        border-color: var(--gold);
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    }

.event-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.event-card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gold);
}

.event-card-body {
    padding: 1.5rem;
    text-align: right;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    font-size: 0.85rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.event-card-body h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-location {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== PHOTO GALLERY ===== */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(201,168,76,0.2);
    cursor: pointer;
    aspect-ratio: 2/3;
    width: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--gold);
    font-size: 2rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox.active {
    display: flex;
}

.gallery-lightbox img {
    max-height: 90vh;
    max-width: 90vw;
    border-radius: 6px;
    border: 2px solid rgba(201,168,76,0.4);
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    left: 30px;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 992px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .photo-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ===== CERTIFICATES GALLERY ===== */
.cert-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 320px));
    justify-content: center;
    gap: 20px;
}

.cert-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(201,168,76,0.2);
    cursor: pointer;
    background: #000;
}

.cert-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    display: block;
}

.cert-item:hover img {
    transform: scale(1.03);
}

.cert-item:hover .gallery-overlay {
    opacity: 1;
}

/* ===== MAP SECTION ===== */
.map-section iframe {
    filter: grayscale(80%) invert(90%) hue-rotate(180deg);
    transition: filter 0.3s;
}

    .map-section iframe:hover {
        filter: grayscale(0%) invert(0%);
    }

/* ===== CONTACT FORM ===== */
.contact-form-card {
    background: var(--dark-3);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-control, .form-select {
    background: var(--dark-2);
    border: 1px solid rgba(201,168,76,0.3);
    color: #fff;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-family: 'Cairo', sans-serif;
    text-align: right;
}

    .form-control:focus, .form-select:focus {
        background: var(--dark-2);
        border-color: var(--gold);
        color: #fff;
        box-shadow: 0 0 0 0.2rem rgba(201,168,76,0.2);
    }

    .form-control::placeholder {
        color: #666;
    }

.form-label {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

/* ===== CONTACT INFO BOXES ===== */
.contact-info-box {
    background: var(--dark-3);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

    .contact-info-box:hover {
        border-color: var(--gold);
        transform: translateY(-4px);
    }

    .contact-info-box .icon {
        font-size: 2rem;
        color: var(--gold);
        margin-bottom: 0.8rem;
    }

/* ===== ADMIN PANEL ===== */
.admin-sidebar {
    background: var(--dark-3);
    min-height: 100vh;
    border-left: 2px solid rgba(201,168,76,0.2);
    padding: 2rem 0;
}

    .admin-sidebar .nav-link {
        color: #ccc !important;
        padding: 0.8rem 1.5rem;
        border-right: 3px solid transparent;
        transition: all 0.3s;
    }

        .admin-sidebar .nav-link:hover,
        .admin-sidebar .nav-link.active {
            color: var(--gold) !important;
            background: rgba(201,168,76,0.05);
            border-right-color: var(--gold);
        }

.admin-stat-card {
    background: var(--dark-3);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

    .admin-stat-card:hover {
        border-color: var(--gold);
    }

    .admin-stat-card .stat-number {
        font-size: 2.5rem;
        font-weight: 900;
        color: var(--gold);
    }

.table-dark-custom {
    background: var(--dark-3);
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
}

    .table-dark-custom th {
        background: rgba(201,168,76,0.15);
        color: var(--gold);
        border-color: rgba(201,168,76,0.1);
        padding: 1rem;
    }

    .table-dark-custom td {
        border-color: rgba(201,168,76,0.05);
        padding: 0.8rem 1rem;
        vertical-align: middle;
    }

/* ===== CV PAGE ===== */
.cv-timeline {
    position: relative;
    padding-right: 2rem;
}

    .cv-timeline::before {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--gold), transparent);
    }

.cv-item {
    position: relative;
    margin-bottom: 2rem;
    padding-right: 2rem;
}

    .cv-item::before {
        content: '';
        position: absolute;
        right: -7px;
        top: 6px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--gold);
        border: 2px solid var(--dark);
    }

.cv-year {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ===== ABOUT PAGE ===== */
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: right;
    flex-direction: row-reverse;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.footer-dark {
    background: var(--dark-3);
    border-top: 2px solid rgba(201,168,76,0.2);
}

.text-gold {
    color: var(--gold) !important;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.4rem;
    transition: color 0.3s;
}

    .footer-links a:hover {
        color: var(--gold);
    }

.social-links {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(201,168,76,0.1);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s;
}

    .social-link:hover {
        background: var(--gold);
        color: #000;
        transform: translateY(-3px);
    }

.map-container iframe {
    width: 100%;
    height: 150px;
    border: none;
    border-radius: 8px;
}

/* ===== STATS COUNTER ===== */
.stat-item {
    text-align: center;
}

    .stat-item .number {
        font-size: 3rem;
        font-weight: 900;
        color: var(--gold);
        line-height: 1;
    }

    .stat-item .label {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-top: 0.3rem;
    }

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark) 100%);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    padding: 4rem 0 3rem;
    text-align: center;
}

    .page-hero h1 {
        font-size: 2.5rem;
        font-weight: 900;
        color: var(--gold);
    }

    .page-hero p {
        color: var(--text-muted);
        font-size: 1.1rem;
    }

/* ===== UTILITIES ===== */
.text-gold {
    color: var(--gold) !important;
}

.bg-dark-custom {
    background: var(--dark-2) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* ===== FOUNDER IMAGE ===== */
.founder-img-wrapper {
    position: relative;
    display: inline-block;
}

.founder-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    border-radius: 20px;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.15);
    transition: transform 0.4s ease;
}

    .founder-img:hover {
        transform: scale(1.02);
    }

.founder-img-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(201,168,76,0.3);
    border-radius: 20px;
    z-index: -1;
}

.founder-img-placeholder {
    width: 100%;
    max-width: 340px;
    height: 420px;
    background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
    border: 3px solid var(--gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: rgba(201,168,76,0.3);
    margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
    }

    body {
        padding-top: 70px;
    }

    .section-dark, .section-darker, .section-darkest {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .hero-slide-content h1 {
        font-size: 1.8rem;
    }
}
