:root {
    --primary-color: #0f172a;
    /* Deep Navy */
    --accent-color: #fbbf24;
    /* Vibrant Gold */
    --accent-hover: #f59e0b;
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(251, 191, 36, 0.2);
    --card-bg: #1e293b;
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-small {
    max-width: 800px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
    font-family: 'Amiri', serif;
    font-weight: 700;
}

.gold {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    right: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}




/* Album Section */
.album {
    padding: 100px 0;
    background: #0f172a;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.video-item {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.video-item video,
.tiktok-iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* Default to match MP4 videos */
    object-fit: cover;
    background: #000;
    border: none;
}

/* Specific adjustment for TikTok if you want it to show full vertical */
.tiktok-container {
    position: relative;
    width: 100%;
    /* We keep the 16:9 container but let the iframe handle its internal aspect ratio */
}

.video-info {
    padding: 20px;
    text-align: center;
}

.video-info h4 {
    color: var(--accent-color);
    margin: 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.7)),
        url('https://images.unsplash.com/photo-1514525253344-a81d12960682?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(transparent, var(--primary-color));
}

.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5rem);
    margin-bottom: 10px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--accent-color);
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(251, 191, 36, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-color);
    margin-right: 15px;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
}

/* Stats */
.stats {
    padding: 60px 0;
    background: var(--card-bg);
    margin-top: -50px;
    position: relative;
    z-index: 5;
    border-radius: 20px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
}

.stat-item .label {
    color: var(--text-muted);
    font-weight: 600;
}

/* About Section */
.about {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--gradient-gold);
    color: var(--primary-color);
    padding: 20px;
    border-radius: 15px;
    font-weight: 900;
    font-size: 1.2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--primary-color);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    bottom: -10px;
    right: 0;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.features-list {
    list-style: none;
    margin-top: 30px;
}

.features-list li {
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: var(--accent-color);
}

/* Band Section */
.band {
    padding: 100px 0;
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 40px;
    display: block;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    background: rgba(251, 191, 36, 0.1);
}

.card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Timeline */
.achievements {
    padding: 100px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--accent-color);
    top: 0;
    bottom: 0;
    right: 50%;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    right: 0;
    text-align: left;
}

.timeline-item:nth-child(even) {
    right: 50%;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 30px;
    right: -10px;
    z-index: 10;
    box-shadow: 0 0 15px var(--accent-color);
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-content {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
}

/* Services */
.service-box {
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    background: var(--card-bg);
    transition: var(--transition);
}

.service-box:hover {
    background: var(--gradient-gold);
}

.service-box:hover h5,
.service-box:hover p,
.service-box:hover i {
    color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Contact */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-color) 0%, #1e293b 100%);
}

.contact-card {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

.form-group {
    margin-bottom: 20px;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #0f172a;
    color: white;
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 50px 0;
    background: #020617;
    border-top: 1px solid #1e293b;
}

.designer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Section */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 10px 0;
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        padding: 20px;
        border-bottom: 2px solid var(--accent-color);
        gap: 15px;
        text-align: center;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        color: var(--accent-color);
        font-size: 1.8rem;
    }

    .hero {
        height: auto;
        min-height: 80vh;
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-content h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-secondary {
        margin-right: 0;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .stats {
        margin-top: 0;
        border-radius: 0;
        padding: 40px 0;
    }

    .grid-4,
    .grid-3,
    .grid-2,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about {
        padding: 50px 0;
    }

    .about-image img {
        box-shadow: 10px 10px 0 var(--accent-color);
    }

    .experience-badge {
        padding: 10px 15px;
        font-size: 1rem;
        bottom: -10px;
        right: -10px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline::before {
        right: 15px;
    }

    .timeline-item {
        width: 100%;
        text-align: right !important;
        padding: 20px 40px 20px 10px;
    }

    .timeline-dot {
        right: 6px !important;
        left: auto !important;
    }

    .timeline-item:nth-child(even) {
        right: 0;
    }

    .contact-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}