/* Variables */
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #e5e5e5;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.text-center {
    text-align: center;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 50px;
    width: auto;
    border-radius: 12px; /* curved corners per user request */
    object-fit: cover;
    transition: var(--transition);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--text-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('./assets/Hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(10,10,10,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 1rem;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-transform: uppercase;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    border-radius: 4px;
    filter: grayscale(100%);
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.about-image:hover img {
    filter: grayscale(0%);
    transform: translateY(-10px);
}

.bio-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.bio-content p:last-child {
    margin-bottom: 0;
}

/* Music Section */
.music {
    background-color: #111;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.music-card {
    display: block;
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.music-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.music-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.music-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.music-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
}

.music-card:hover .music-hover {
    opacity: 1;
}

.music-info {
    padding: 1.5rem;
}

.music-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.music-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Generic content sections (Film, Jeries, Buy Music, Gallery, Videos, Collabs, Press) */
.alt-bg { background-color: #111; }

.section-intro {
    color: var(--text-muted);
    max-width: 700px;
    margin: -2rem 0 3rem;
    font-size: 1.05rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 1.8rem;
    transition: var(--transition);
}

.alt-bg .info-card { background: #161616; }

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.info-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.info-card .meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    display: block;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-card p:last-of-type { margin-bottom: 0; }

.card-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.card-links a {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
}

.card-links a:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

.placeholder-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 0.4rem 0.9rem;
    margin-top: 1rem;
}

/* Album Story Accordion */
.album-story {
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.album-story summary {
    cursor: pointer;
    list-style: none;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.album-story summary::-webkit-details-marker { display: none; }

.album-story summary .year-tag {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
}

.album-story summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--text-muted);
}

.album-story[open] summary::after {
    content: '\2212';
}

.album-story-body {
    padding: 0 2rem 2rem;
}

.album-story-body h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin: 1.5rem 0 0.6rem;
}

.album-story-body h4:first-child { margin-top: 0; }

.album-story-body p, .album-story-body li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.album-story-body ul {
    padding-left: 1.2rem;
}

html[dir="rtl"] .album-story-body ul {
    padding-left: 0;
    padding-right: 1.2rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
    filter: grayscale(60%);
    transition: var(--transition);
}

.gallery-grid img:hover {
    filter: grayscale(0%);
}

.gallery-credit {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

/* Video / Press lists */
.list-block {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.list-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1.3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.list-item .list-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.list-item .list-sub {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.list-item .year-tag {
    color: var(--text-muted);
    font-size: 0.9rem;
    min-width: 3.5rem;
}

/* Buy Music CTA */
.buy-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.buy-cta p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.buy-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2.5rem;
    background: var(--text-color);
    color: var(--bg-color);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
}

.buy-button:hover {
    background: var(--text-muted);
}

/* Footer Section */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.contact-email, .contact-phone {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-email:hover {
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.el7mz-link {
    color: var(--text-color);
    font-weight: 700;
    text-decoration: underline;
}

.el7mz-link:hover {
    color: var(--text-muted);
}

/* RTL Support */
html[dir="rtl"] {
    --font-main: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
}

html[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

html[dir="rtl"] .about-grid {
    grid-template-columns: 1.5fr 1fr;
}

html[dir="rtl"] .about-text {
    text-align: right;
}

html[dir="rtl"] .about-image {
    order: 2;
}

html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-socials {
    text-align: right;
}

html[dir="rtl"] .footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

html[dir="rtl"] .section-title::after {
    left: auto;
    right: 0;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

.animate-fade.visible {
    opacity: 1;
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    html[dir="rtl"] .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    html[dir="rtl"] .about-image {
        order: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(300px, 80%);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem;
        overflow-y: auto;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    html[dir="rtl"] .nav-links {
        right: auto;
        left: 0;
        flex-direction: column;
        align-items: flex-end;
        transform: translateX(-100%);
    }

    html[dir="rtl"] .nav-links.open {
        transform: translateX(0);
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 0;
    }
}
