/* ======================================== */
/* RESET */
/* ======================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Manrope',sans-serif;

    background:#ffffff;

    color:#1d1d1f;

    overflow-x:hidden;

}

img{

    width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

button{

    border:none;

    cursor:pointer;

    font-family:inherit;

}

.container{

    width:90%;

    max-width:1400px;

    margin:auto;

}

/* ======================================== */
/* COLORS */
/* ======================================== */

:root{

    --white:#ffffff;

    --light:#f7f7f7;

    --gray:#777777;

    --dark:#171717;

    --gold:#B88A3B;

    --transition:.35s ease;

}

/* ======================================== */
/* LOADER */
/* ======================================== */

#loader{

    position:fixed;

    inset:0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.8s;

}

.loader-logo{

    text-align:center;

}

.loader-logo h1{

    font-size:42px;

    letter-spacing:6px;

}

.loader-logo span{

    color:var(--gold);

    letter-spacing:3px;

}

/* ======================================== */
/* HEADER */
/* ======================================== */

#header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

    background:rgba(255,255,255,.85);

    backdrop-filter:blur(20px);

    border-bottom:1px solid rgba(0,0,0,.05);

}

#header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:90px;

}

.logo{

    font-size:24px;

    font-weight:800;

    color:var(--dark);

    letter-spacing:2px;

}

nav ul{

    display:flex;

    gap:40px;

}

nav a{

    color:var(--dark);

    font-weight:600;

    transition:var(--transition);

}

nav a:hover{

    color:var(--gold);

}

/* ======================================== */
/* MOBILE MENU */
/* ======================================== */

#menu-btn{

    display:none;

    flex-direction:column;

    gap:6px;

    cursor:pointer;

}

#menu-btn span{

    width:28px;

    height:2px;

    background:#111;

}

/* ======================================== */
/* HERO */
/* ======================================== */

#hero{

    min-height:100vh;

    display:flex;

    align-items:center;

    padding:120px 8%;

}

.hero-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

    width:100%;

}

.hero-tag{

    color:var(--gold);

    letter-spacing:4px;

    font-size:14px;

}

.hero-left h1{

    font-size:110px;

    line-height:.9;

    margin:25px 0;

    font-weight:800;

}

.hero-left p{

    font-size:24px;

    color:#555;

    line-height:1.7;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:50px;

}

.primary-btn{

    background:#111;

    color:white;

    padding:18px 42px;

    border-radius:60px;

    transition:var(--transition);

}

.primary-btn:hover{

    transform: translateY(-2px) scale(1.03);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}
.secondary-btn{

    border:2px solid #111;

    color:#111;

    padding:18px 42px;

    border-radius:60px;

    transition:var(--transition);

}

.secondary-btn:hover{

    transform: translateY(-2px);

    background:#111;

    color:white;

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.hero-right{

    display:flex;
    justify-content:center;
    align-items:center;

}

.hero-right img{
    width:100%;
    max-width:500px;
    aspect-ratio:4/5;
    object-fit:cover;

    border-radius:36px;

    border:1px solid rgba(184,138,59,.15);

    box-shadow:
        0 30px 80px rgba(0,0,0,.12);
}

.hero-right img:hover{

    box-shadow:
        0 35px 90px rgba(0,0,0,.18);

}

.scroll-indicator{

    position:absolute;

    bottom:35px;

    left:50%;

    transform:translateX(-50%);

}

.scroll-indicator span{

    width:2px;

    height:70px;

    background:#999;

    display:block;

}

/* ======================================== */
/* SECTION TITLE */
/* ======================================== */

section{

    padding:120px 8%;

}

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--gold);

    letter-spacing:4px;

    font-size:14px;

    font-weight:700;

}

.section-title h2{

    font-size:52px;

    margin-top:15px;

    font-weight:800;

}

/* ======================================== */
/* STORY */
/* ======================================== */

#story{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:70px;

    align-items:center;

    background:#fafafa;

}

.story-image img{

    border-radius:30px;

}

.story-content span{

    color:var(--gold);

    letter-spacing:3px;

    font-size:14px;

}

.story-content h2{

    font-size:58px;

    margin:20px 0;

    line-height:1.1;

}

.story-content p{

    color:#666;

    line-height:2;

    font-size:18px;

    margin-bottom:40px;

    max-width:550px;

}

/* ======================================== */
/* TIMELINE */
/* ======================================== */

.timeline{

    max-width:900px;

    margin:auto;

    position:relative;

}

.timeline::before{

    content:"";

    position:absolute;

    left:70px;

    top:0;

    bottom:0;

    width:2px;

    background:#ddd;

}

.timeline-item{

    display:flex;

    gap:40px;

    margin-bottom:60px;

    position:relative;

}

.year{

    width:70px;

    font-weight:800;

    color:var(--gold);

    flex-shrink:0;

}

.content{

    background:white;

    padding:30px;

    border-radius:20px;

    box-shadow:0 15px 45px rgba(0,0,0,.05);

    transition:.35s;

}

.content:hover{

    transform:translateY(-8px);

}

.content h3{

    margin-bottom:12px;

    font-size:26px;

}

.content p{

    color:#666;

    line-height:1.8;

}

/* ======================================== */
/* TV SECTION */
/* ======================================== */

#tv{

    background:#f8f8f8;

}

.tv-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.tv-card{

    overflow:hidden;

    border-radius:24px;

    background:white;

    transition:.3s ease;

    box-shadow:0 15px 35px rgba(0,0,0,.05);

}

.tv-card:hover{

    box-shadow:0 18px 40px rgba(0,0,0,.10);

}

.tv-card img{

    height:340px;

    object-fit:cover;

}

.tv-info{

    padding:28px;

}

.tv-info h3{

    font-size:24px;

    margin-bottom:12px;

}

.tv-info p{

    color:#666;

}

/* ======================================== */
/* GALLERY */
/* ======================================== */

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:20px;

}

.gallery-grid img{

    border-radius:22px;

    cursor:pointer;

    transition:.45s;

    height:420px;

    object-fit:cover;

}

.gallery-grid img:hover{

    transform:none;

}

/* ======================================== */
/* AWARDS */
/* ======================================== */

#awards{

    background:#fafafa;

}

.awards-list{

    max-width:900px;

    margin:auto;

}

.award-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:35px 0;

    border-bottom:1px solid #e5e5e5;

    gap:40px;

}

.award-year{

    font-size:42px;

    font-weight:800;

    color:var(--gold);

    min-width:120px;

}

.award-item h3{

    font-size:28px;

    margin-bottom:10px;

}

.award-item p{

    color:#666;

    line-height:1.8;

}

/* ======================================== */
/* NEWS */
/* ======================================== */

.news-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.news-card{

    overflow:hidden;

    border-radius:24px;

    background:white;

    transition:.35s;

    box-shadow:0 12px 30px rgba(0,0,0,.06);

}

.news-card:hover{

    box-shadow:0 18px 40px rgba(0,0,0,.10);

}

.news-card img{

    height:260px;

    object-fit:cover;

}

.news-content{

    padding:30px;

}

.news-content span{

    color:var(--gold);

    font-size:14px;

    letter-spacing:2px;

}

.news-content h3{

    margin:18px 0;

    font-size:26px;

}

.news-content p{

    color:#666;

    line-height:1.8;

}

/* ======================================== */
/* CONTACT */
/* ======================================== */

#contact{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.contact-left img{

    border-radius:30px;

}

.contact-right span{

    color:var(--gold);

    letter-spacing:3px;

}

.contact-right h2{

    font-size:56px;

    margin:20px 0;

}

.contact-right p{

    color:#666;

    line-height:1.8;

    margin-bottom:35px;

}

.contact-right form{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.contact-right input,

.contact-right textarea{

    padding:20px;

    border:1px solid #ddd;

    border-radius:16px;

    font-size:16px;

    font-family:inherit;

    outline:none;

    transition:.3s;

}

.contact-right input:focus,

.contact-right textarea:focus{

    border-color:var(--gold);

}

.contact-right textarea{

    min-height:180px;

    resize:vertical;

}

.contact-right button{

    padding:18px;

    background:#111;

    color:white;

    border-radius:50px;

    font-size:17px;

    transition:.35s;

}

.contact-right button:hover{

    transform:translateY(-4px);

}

/* ======================================== */
/* FOOTER */
/* ======================================== */

footer{

    background:#111;

    color:white;

    text-align:center;

    padding:80px 8%;

}

footer h2{

    font-size:40px;

    letter-spacing:4px;

}

footer p{

    margin-top:15px;

    color:#bbb;

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:40px 0;

}

.footer-social a{

    width:55px;

    height:55px;

    border:1px solid rgba(255,255,255,.2);

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    transition:.35s;

}

.footer-social a:hover{

    background:var(--gold);

    border-color:var(--gold);

}

.copyright{

    margin-top:30px;

    font-size:14px;

}

/* ======================================== */
/* BACK TO TOP */
/* ======================================== */

#topBtn{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#111;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    opacity:0;

    pointer-events:none;

    transition:.35s;

}

#topBtn.show{

    opacity:1;

    pointer-events:auto;

}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media(max-width:1000px){

.hero-container,
#story,
#contact{

grid-template-columns:1fr;

}

.hero-left{

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.hero-left h1{

font-size:70px;

}

.tv-grid,
.news-grid,
.gallery-grid{

grid-template-columns:1fr;

}

.award-item{

flex-direction:column;

align-items:flex-start;

}

nav{

display:none;

}

#menu-btn{

display:flex;

}

}

@media(max-width:600px){

.hero-left h1{

font-size:52px;

}

.section-title h2{

font-size:38px;

}

.story-content h2,
.contact-right h2{

font-size:40px;

}

}
nav a.active{

    color:var(--gold);

    font-weight:700;

}

nav a{

    position:relative;

}

nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:.35s;

}

nav a:hover::after,
nav a.active::after{

    width:100%;

}

.gallery-grid img{

    transition:.5s;

}

html{

    scroll-padding-top:100px;

}

/* ======================================== */
/* GALLERY LIGHTBOX */
/* ======================================== */

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:99999;

}

#lightbox.show{

    opacity:1;

    visibility:visible;

}

#lightbox img{

    width:90%;

    max-width:1000px;

    border-radius:20px;

    box-shadow:0 20px 60px rgba(0,0,0,.5);

}

#closeLightbox{

    position:absolute;

    top:30px;

    right:40px;

    color:white;

    font-size:50px;

    cursor:pointer;

    user-select:none;

}



/* ========================================
   REVEAL ANIMATION
======================================== */

.reveal{

    opacity:0;

    transform:translateY(80px);

    transition:1s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}


/* ======================================== */
/* MOBILE RESPONSIVE */
/* ======================================== */

@media (max-width:1000px){

    /* القائمة */
    nav{
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background: #fff;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        transition: left .4s ease;
        z-index: 998;
        overflow-y: auto;
    }

    nav.active{
        left: 0;
    }

    nav ul{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 50px 0;
    }

    nav ul li{
        width: 100%;
        text-align: center;
    }

    nav ul li a{
        display: block;
        font-size: 20px;
        padding: 12px 0;
    }

    /* زر القائمة */
    #menu-btn{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 35px;
        cursor: pointer;
        z-index: 9999;
    }

    #menu-btn span{
        width: 30px;
        height: 3px;
        background: #111;
        border-radius: 20px;
        transition: .35s;
    }
    /* ============================= */
/* HAMBURGER ANIMATION */
/* ============================= */

#menu-btn.active span:nth-child(1){

    transform:translateY(9px) rotate(45deg);

}

#menu-btn.active span:nth-child(2){

    opacity:0;

}

#menu-btn.active span:nth-child(3){

    transform:translateY(-9px) rotate(-45deg);

}

    /* الأقسام */
    .hero-container,
    #story,
    #contact{
        grid-template-columns:1fr;
    }

    .hero-left{
        text-align:center;
    }

    .hero-buttons{
        justify-content:center;
        flex-wrap:wrap;
    }

    .hero-left h1{
        font-size:70px;
    }

    .tv-grid,
    .gallery-grid,
    .news-grid{
        grid-template-columns:1fr;
    }

    .award-item{
        flex-direction:column;
        align-items:flex-start;
    }

}

/* ======================================== */
/* SMALL MOBILE */
/* ======================================== */

@media (max-width:600px){

    .hero-left h1{
        font-size:52px;
    }

    .section-title h2{
        font-size:38px;
    }

    .story-content h2,
    .contact-right h2{
        font-size:40px;
    }

}

/* ========================================
   MOBILE MENU OVERLAY
======================================== */

#nav-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(6px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:997;

}

#nav-overlay.active{

    opacity:1;

    visibility:visible;

}


/* زر القائمة يتحول إلى X */

#menu-btn.active span:nth-child(1){

    transform:translateY(8px) rotate(45deg);

}

#menu-btn.active span:nth-child(2){

    opacity:0;

}

#menu-btn.active span:nth-child(3){

    transform:translateY(-8px) rotate(-45deg);

}

/* ============================= */
/* MENU OVERLAY */
/* ============================= */

#nav-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(5px);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:997;

}

#nav-overlay.active{

    opacity:1;

    visibility:visible;

}

/* ========================================
   MOBILE MENU ANIMATION
======================================== */

@media (max-width:1000px){

    nav ul li{

        opacity:0;

        transform:translateY(20px);

        transition:.4s ease;

    }

    nav.active ul li{

        opacity:1;

        transform:translateY(0);

    }

    nav.active ul li:nth-child(1){transition-delay:.05s;}
    nav.active ul li:nth-child(2){transition-delay:.10s;}
    nav.active ul li:nth-child(3){transition-delay:.15s;}
    nav.active ul li:nth-child(4){transition-delay:.20s;}
    nav.active ul li:nth-child(5){transition-delay:.25s;}
    nav.active ul li:nth-child(6){transition-delay:.30s;}
    nav.active ul li:nth-child(7){transition-delay:.35s;}
    nav.active ul li:nth-child(8){transition-delay:.40s;}

}

/* ===========================
   HERO IMAGE
=========================== */

.hero-image img{

    border-radius:24px;

    box-shadow:
        0 25px 60px rgba(0,0,0,.18);

    transition:.5s ease;

}

.hero-image img:hover{

    transform:translateY(-8px) scale(1.02);

    box-shadow:
        0 35px 80px rgba(0,0,0,.22);

}

.hero-line{
    width:90px;
    height:3px;
    background:#B88A3B;
    margin:30px 0;
    border-radius:20px;
}

@media(max-width:1000px){

.hero-line{
    margin:30px auto;
}

}
.developer-credit {
    margin-top: 18px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.5px;
}

.developer-credit a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.developer-credit a:hover {
    opacity: 0.6;
}