@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700;900&display=swap');

:root {
    --primary-red: #8a1515;
    --primary-dark: #5e0e0e;
    --text-main: #2c2c2c;
    --text-light: #555555;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;

    /* Modern UI Variables */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --radius-lg: 24px;
    --radius-md: 16px;
}

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

body {
    font-family: 'Rubik', sans-serif;
    direction: rtl;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

/* --- Typography --- */
h1, h2, h3 { font-weight: 700; margin-bottom: 1rem; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; color: var(--primary-red); position: relative; display: inline-block; }
p { margin-bottom: 1rem; opacity: 0.9; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--primary-red); margin: 15px auto 0; border-radius: 2px;
}

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

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.95); /* Slightly more opaque for mobile visibility */
    backdrop-filter: blur(10px);
    position: sticky; top: 0; z-index: 1000; padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Added shadow so it's visible on white */
}
.nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { font-weight: 900; font-size: 1.5rem; color: var(--primary-red); }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 500; font-size: 1.05rem; }
.nav-links a:hover { color: var(--primary-red); }

/* HAMBURGER MENU (Hidden on Desktop) */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-red);
    cursor: pointer;
}

/* --- Hero (Desktop) --- */
.hero {
    height: 95vh;
    position: relative; display: flex; align-items: center;
    justify-content: flex-start; overflow: hidden;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 0; 
    object-position: top left; /* Desktop Focus */
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
    background: linear-gradient(to left, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0) 80%);
}
.hero-content {
    position: relative; z-index: 2; width: 50%; margin-right: 5%; 
    text-align: right; color: var(--white);
}
.hero h1 { 
    font-size: 4rem; line-height: 1.1; margin-bottom: 1.5rem; color: var(--white);
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero p { 
    font-size: 1.3rem; margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-footer { 
    margin-top: 2rem; font-weight: 700; color: var(--white); font-size: 1.4rem;
    border-right: 4px solid var(--primary-red); padding-right: 15px;
}

/* --- About Section --- */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { font-size: 1.1rem; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* --- Song Section (Desktop Layout) --- */
.song-section {
    background-color: #f8f8f8;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.song-container {
    display: grid;
    /* Column 1 (Right): Story Text | Column 2 (Left): Player & Lyrics */
    grid-template-columns: 1.2fr 0.8fr; 
    gap: 5rem;
    align-items: start;
}

/* Right Column: Story */
.song-info {
    text-align: right;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}
.song-info p { margin-bottom: 1.2rem; }

/* Left Column: Wrapper */
.lyrics-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Player Styling */
.audio-player-container {
    margin-bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
}
.play-button {
    background: var(--primary-red); color: white;
    border: none; padding: 10px 25px; border-radius: 50px;
    font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: 0.3s;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 15px rgba(138, 21, 21, 0.2);
}
.play-button:hover {
    background: var(--primary-dark); transform: scale(1.05);
}

/* Image Styling */
.muscle-drawing-decor {
    width: 200px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    mix-blend-mode: multiply; 
}

/* Lyrics Styling */
.lyrics-content h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.lyrics-text {
    font-size: 1.2rem;
    font-style: italic;
    line-height: 2;
    color: #333;
    white-space: pre-line;
}

/* --- Stories Grid --- */
.stories-section { background: var(--white); }
.stories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.story-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    transition: all 0.3s ease; cursor: pointer; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm); border: 1px solid transparent; height: 100%;
}
.story-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(138, 21, 21, 0.1); }
.story-image-wrapper { height: 220px; width: 100%; overflow: hidden; position: relative; }
.story-image-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center; transition: transform 0.6s;
}
.story-card:hover .story-image-wrapper img { transform: scale(1.05); }
.story-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.story-content h3 { font-size: 1.25rem; margin-bottom: 1rem; line-height: 1.4; }
.read-more { color: var(--primary-red); font-weight: 700; font-size: 0.95rem; margin-top: auto; }

/* --- Carousel --- */
.carousel-section {
    background: var(--bg-light); padding: 5rem 0; 
    overflow: hidden; white-space: nowrap; position: relative;
    direction: ltr; 
}
.marquee { display: inline-flex; gap: 30px; animation: scroll 80s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee-item {
    width: 350px; height: 240px; flex-shrink: 0;
    border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-md); background: #fff;
}
.marquee img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.5s; }
.marquee-item:hover img { transform: scale(1.05); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Media Grid --- */
.media-section { background: var(--white); }
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.media-item {
    background: var(--white); padding: 1.5rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 1.5rem;
    transition: 0.3s; border: 1px solid var(--bg-light);
}
.media-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.media-thumbnail { flex-shrink: 0; width: 110px; height: 110px; border-radius: 12px; overflow: hidden; }
.media-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.media-content h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.media-content p { font-size: 0.95rem; color: var(--text-light); margin: 0; }

/* --- Form Section (Red Design) --- */
.form-section {
    background-color: var(--primary-red);
    padding: 6rem 0;
    color: var(--white);
    text-align: center;
}
.form-container { max-width: 600px; margin: 0 auto; }
.form-title {
    font-size: 2.5rem; line-height: 1.2; margin-bottom: 3rem;
    color: var(--white); font-weight: 700;
}
.form-title::after { display: none; } 
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 0; }
.form-group { text-align: right; margin-bottom: 1.5rem; }
.form-group label {
    display: block; margin-bottom: 0.5rem; font-weight: 700;
    font-size: 1.1rem; color: var(--white);
}
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem; border: none; border-radius: 10px;
    font-family: 'Rubik', sans-serif; font-size: 1rem;
    background: var(--white); color: #333; transition: 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #aaa; }
.form-group input:focus, .form-group textarea:focus {
    outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,0.3);
}
.btn-submit {
    background-color: #222; color: var(--white); border: none;
    padding: 1rem; width: 100%; border-radius: 10px;
    font-size: 1.3rem; font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s, background-color 0.2s;
    font-family: 'Rubik', sans-serif;
}
.btn-submit:hover { background-color: #000; transform: translateY(-2px); }

/* --- Footer --- */
footer { background: var(--text-main); color: rgba(255,255,255,0.7); padding: 3rem 0; text-align: center; }

/* --- Mobile Responsiveness (FULL FIX) --- */
@media (max-width: 768px) {

/* --- MOBILE MENU (Modern Glass & Animation) --- */
.hamburger { 
    display: block; 
    font-size: 1.8rem; /* Slightly smaller, more elegant */
    opacity: 0.8;
} 

/* 1. Make the main navbar transparent/glassy on mobile */
.navbar {
    background: rgba(255, 255, 255, 0.6); /* Very transparent */
    backdrop-filter: blur(12px); /* heavy blur effect (Glassmorphism) */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: none; /* Remove shadow to keep it light */
}

/* 2. The Dropdown Menu (Floating Card Style) */
.nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; 
    left: 10px; /* Floating gap from left */
    width: calc(100% - 20px); /* Floating gap from right */
    
    /* Glassy Card Look */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 10px 40px rgba(0,0,0,0.15); /* Soft premium shadow */
    border: 1px solid rgba(255, 255, 255, 0.5);
    
    padding: 0.5rem;
    text-align: center;
    gap: 5px;
    
    /* 3. The Animation Setup */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98); /* Start slightly higher and smaller */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Smooth "Apple-like" ease */
}

/* When Open */
.nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px) scale(1); /* Slide down and expand to full size */
}

/* Links inside */
.nav-links a {
    padding: 0.8rem 0;
    border-bottom: none; /* Remove harsh lines */
    border-radius: 10px;
    font-weight: 500;
    color: var(--text-main);
    transition: background 0.2s;
}

/* Active touch state for links */
.nav-links a:active {
    background: rgba(0,0,0,0.05);
}
    
    /* --- HERO FIX: Split View + Centered & Zoomed Image --- */
    .hero { 
        height: auto; 
        min-height: 100vh;
        flex-direction: column; 
        justify-content: flex-start;
        padding: 0;
        background: var(--white);
    }
    
    .hero-bg {
        position: relative;
        width: 100%;
        height: 50vh; 
        z-index: 0;
        /* THE FIX: Zoom in 15% and shift focus left/down to center face */
        object-fit: cover;
        transform: scale(1.15); 
        object-position: 35% 20%; 
    }
    .hero::before { display: none; }

    .hero-content { 
        width: 100%; margin-right: 0; text-align: center; 
        padding: 2.5rem 1.5rem; 
        background: var(--white); color: var(--text-main);
        box-shadow: 0 -20px 30px rgba(0,0,0,0.05);
        position: relative; z-index: 2;
        margin-top: -20px;
        border-radius: 20px 20px 0 0;
    }
    .hero h1 { font-size: 2rem; color: var(--primary-red); text-shadow: none; margin-bottom: 1.5rem; }
    .hero p { font-size: 1.1rem; line-height: 1.6; color: var(--text-main); text-shadow: none; display: block; }
    .hero-footer { border-right: none; border-bottom: 3px solid var(--primary-red); padding-right: 0; padding-bottom: 5px; margin-top: 2rem; color: var(--text-main); display: inline-block; }

    /* --- Sections --- */
    section { padding: 4rem 0; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-img { order: -1; max-height: 300px; }

    /* --- SONG SECTION (Stacked & Clean) --- */
    .song-section {
        padding-top: 3rem;
        border-top: 10px solid #f0f0f0;
    }
    
    .song-container {
        display: flex;
        flex-direction: column; 
        gap: 1.5rem;
    }

    /* Move Player to TOP */
    .lyrics-wrapper {
        order: -1; 
        margin-bottom: 0;
        width: 100%;
    }

    /* Hide Image & Lyrics */
    .mobile-hide { display: none !important; }
    
    .song-info {
        text-align: center;
        padding: 0 1rem;
    }

    /* --- General Mobile --- */
    .marquee-item { width: 300px; height: 200px; }
    .media-item { flex-direction: column; align-items: flex-start; }
    .media-thumbnail { width: 100%; height: 200px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-title { font-size: 1.8rem; }
}