/* ===========================
   GLOBAL
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{

    scroll-behavior:smooth;

}


body{

    font-family:'Cairo',sans-serif;

    background:#ffffff;

    color:#222;

    overflow-x:hidden;

    line-height:1.8;

}


.container{

    width:92%;

    max-width:1400px;

    margin:auto;

}


img{

    max-width:100%;

    display:block;

}



/* ===========================
        HEADER
=========================== */


header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:9999;

    background:rgba(10,15,25,.45);

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.08);

}



header .container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:95px;

}



/* ===========================
        LOGO
=========================== */


.logo{

    display:inline-flex;

    align-items:center;

}



.logo img{

    width:100%;

    height:220px;

    object-fit:contain;

    object-position:left center;

    background:transparent;

    transition:.3s;

    filter:
    drop-shadow(0 0 12px rgba(0,150,255,.35))
    drop-shadow(0 0 30px rgba(0,150,255,.20));

}



.logo img:hover{

    transform:scale(1.05);

}




/* ===========================
        NAVBAR
=========================== */


nav{

    flex:1;

    display:flex;

    justify-content:flex-end;

}



nav ul{

    display:flex;

    list-style:none;

    gap:45px;

}



nav a{

    color:#fff;

    text-decoration:none;

    font-size:17px;

    font-weight:700;

    transition:.3s;

    position:relative;

}



nav a:hover{

    color:#d4af37;

}



nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:#d4af37;

    transition:.3s;

}



nav a:hover::after{

    width:100%;

}




/* ===========================
        HERO
=========================== */


.hero{

    height:100vh;


    background:

    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),

    url("assets/images/hero123.jpg");


    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    position:relative;

}



.hero-content{

    color:#fff;

    width:85%;

    max-width:900px;

    animation:fadeUp 1.2s ease;

}



.hero-content h1{

    font-size:72px;

    font-weight:800;

    margin-bottom:20px;

}



.hero-content p{

    font-size:24px;

    margin-bottom:35px;

}



.btn{

    display:inline-block;

    padding:16px 42px;

    background:#d4af37;

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

    transition:.4s;

}



.btn:hover{

    background:#fff;

    color:#111;

    transform:translateY(-3px);

}
/* ===========================
        SECTIONS
=========================== */

section{

    padding:100px 0;

    scroll-margin-top:110px;

}


section h2{

    text-align:center;

    font-size:42px;

    margin-bottom:35px;

    color:#111;

    font-weight:800;

}


section h2::after{

    content:"";

    display:block;

    width:80px;

    height:4px;

    background:#d4af37;

    margin:15px auto;

    border-radius:50px;

}


.about p,
.printing p,
.contact p{

    text-align:center;

    font-size:20px;

    color:#666;

}



/* ===========================
        CARDS
=========================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

    margin-top:50px;

}


.card{

    background:#fff;

    padding:40px 25px;

    border-radius:25px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

}


.card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 40px rgba(0,0,0,.15);

}


.card h3{

    font-size:25px;

    margin-bottom:15px;

}



/* ===========================
    EQUIPMENT GALLERY
=========================== */

.equipment-categories{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

    margin-top:50px;

}


.equipment-box{

    background:#fff;

    padding:30px;

    border-radius:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    border-top:4px solid #d4af37;

}


.equipment-box:hover{

    transform:translateY(-10px);

}


.equipment-box h3{

    text-align:center;

    font-size:25px;

    margin-bottom:25px;

}


.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:15px;

}


.gallery img{

    width:100%;

    height:200px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s;

    cursor:pointer;

}


.gallery img:hover{

    transform:scale(1.05);

}
/* ===========================
        CONTACT
=========================== */

.contact{

    background:#101114;

}


.contact h2,
.contact p{

    color:#fff;

}



/* ===========================
        FOOTER
=========================== */

footer{

    background:#050505;

    color:#aaa;

    text-align:center;

    padding:25px;

}



/* ===========================
        SCROLLBAR
=========================== */

::-webkit-scrollbar{

    width:10px;

}


::-webkit-scrollbar-track{

    background:#111;

}


::-webkit-scrollbar-thumb{

    background:#d4af37;

    border-radius:30px;

}



/* ===========================
        ANIMATION
=========================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* ===========================
        MOBILE
=========================== */

@media(max-width:900px){

    header .container{

        flex-direction:column;

        height:auto;

        padding:15px 0;

    }

    .logo{

        width:320px;

        margin-bottom:15px;

    }

    .logo img{

        height:50px;

    }

    nav{

        width:100%;

        justify-content:center;

    }

    nav ul{

        gap:14px;

        flex-wrap:wrap;

        justify-content:center;

    }

    .hero-content h1{

        font-size:45px;

    }

    .hero-content p{

        font-size:18px;

    }

}

@media(max-width:500px){

    .logo{

        width:250px;

    }

    .logo img{

        height:45px;

    }

    nav a{

        font-size:13px;

    }

    .hero-content h1{

        font-size:35px;

    }

}
/* ===========================
        ABOUT STORY
=========================== */

.about-story{

    display:flex;

    flex-direction:column;

    gap:50px;

    margin-top:50px;

}


.story-item{

    display:flex;

    align-items:center;

    gap:35px;

    max-width:1000px;

    margin:auto;

}


.story-item img{

    width:260px;

    height:160px;

    object-fit:cover;

    border-radius:20px;

    flex-shrink:0;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}


.story-item h3{

    font-size:26px;

    margin-bottom:10px;

    color:#111;

}


.story-item p{

    font-size:17px;

    color:#666;

    line-height:1.8;

}


@media(max-width:700px){

    .story-item{

        flex-direction:column;

        text-align:center;

    }

    .story-item img{

        width:90%;

        height:180px;

    }

}



/* ===========================
        LIGHTBOX
=========================== */

.lightbox{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.90);

    justify-content:center;

    align-items:center;

    z-index:99999;

}


.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

    box-shadow:0 0 30px rgba(0,0,0,.5);

}


.close-lightbox{

    position:absolute;

    top:20px;

    right:40px;

    color:#fff;

    font-size:50px;

    cursor:pointer;

    user-select:none;

}


.zoom-img,

.lightbox-link img{

    cursor:pointer;

    transition:.3s;

}


.zoom-img:hover,

.lightbox-link img:hover{

    transform:scale(1.03);

}
/* ===========================
      FACTORY MEDIA
=========================== */


.factory-images{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-top:40px;

}


.factory-images img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:20px;

    cursor:pointer;

}



.factory-videos{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:20px;

    margin-top:40px;

}



.video-item{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

}



.video-open{

    width:50%;

    height:160px;

    object-fit:cover;

    display:block;

    background:#111;

}



.play-icon{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    width:55px;

    height:55px;

    border-radius:50%;

    background:rgba(0,0,0,.65);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:25px;

}



.video-lightbox{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.9);

    z-index:999999;

    justify-content:center;

    align-items:center;

}



.video-lightbox video{

    width:80%;

    max-height:80%;

    border-radius:20px;

}



.close-video{

    position:absolute;

    top:25px;

    right:45px;

    color:white;

    font-size:50px;

    cursor:pointer;

}



@media(max-width:1100px){

    .factory-videos{

        grid-template-columns:repeat(4,1fr);

    }

}



@media(max-width:700px){

    .factory-images{

        grid-template-columns:1fr;

    }


    .factory-videos{

        grid-template-columns:repeat(2,1fr);

    }

}
/* ===========================
        HERO
=========================== */


.hero{

    height:100vh;

    background:

    linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.45)
    ),

    url("assets/images/hero123.jpg");


    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    position:relative;

}



.hero-content{

    color:#fff;

    width:85%;

    max-width:900px;

    animation:fadeUp 1.2s ease;

}



.hero-content h1{

    font-size:72px;

    font-weight:800;

    margin-bottom:20px;

}



.hero-content p{

    font-size:24px;

    margin-bottom:35px;

}



.btn{

    display:inline-block;

    padding:16px 42px;

    background:#d4af37;

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-size:18px;

    font-weight:bold;

    transition:.4s;

}



.btn:hover{

    background:#fff;

    color:#111;

    transform:translateY(-3px);

}



/* ===========================
        SECTIONS
=========================== */


section{

    padding:100px 0;

    scroll-margin-top:110px;

}



section h2{

    text-align:center;

    font-size:42px;

    margin-bottom:35px;

    color:#111;

    font-weight:800;

}



section h2::after{

    content:"";

    display:block;

    width:80px;

    height:4px;

    background:#d4af37;

    margin:15px auto;

    border-radius:50px;

}



.about p,
.printing p,
.contact p{

    text-align:center;

    font-size:20px;

    color:#666;

}



/* ===========================
        ABOUT STORY
=========================== */


.about-story{

    display:flex;

    flex-direction:column;

    gap:50px;

    margin-top:50px;

}



.story-item{

    display:flex;

    align-items:center;

    gap:35px;

    max-width:1000px;

    margin:auto;

}



.story-item img{

    width:260px;

    height:160px;

    object-fit:cover;

    border-radius:20px;

    flex-shrink:0;

    box-shadow:0 10px 25px rgba(0,0,0,.12);

}



.story-item h3{

    font-size:26px;

    margin-bottom:10px;

    color:#111;

}



.story-item p{

    font-size:17px;

    color:#666;

    line-height:1.8;

}



/* ===========================
      PRINTING MACHINES
=========================== */


.machine-gallery{

    margin-top:50px;

}



/* الصورة الكبيرة الأولى */


.main-machine{

    width:70%;

    max-width:850px;

    margin:0 auto 50px;

    text-align:center;

}



.main-machine img{

    width:100%;

    height:420px;

    object-fit:cover;

    border-radius:25px;

    cursor:pointer;

}



.machine-title{

    margin-top:18px;

    font-size:28px;

    font-weight:800;

    color:#0077cc;

}



/* باقي الصور 3 صفوف × عمودين */


.machines-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:40px;

}



.machine-box{

    text-align:center;

}



.machine-box img{

    width:100%;

    height:280px;

    object-fit:cover;

    border-radius:22px;

    cursor:pointer;

    transition:.4s;

}



.machine-box img:hover,
.main-machine img:hover{

    transform:scale(1.04);

}



.machine-box h3{

    margin-top:18px;

    font-size:23px;

    font-weight:800;

    color:#d4af37;

}
/* ===========================
        EQUIPMENT GALLERY
=========================== */


.equipment-categories{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

    margin-top:50px;

}


.equipment-box{

    background:#fff;

    padding:30px;

    border-radius:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    border-top:4px solid #d4af37;

}


.equipment-box:hover{

    transform:translateY(-10px);

}


.equipment-box h3{

    text-align:center;

    font-size:25px;

    margin-bottom:25px;

}


.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:15px;

}


.gallery img{

    width:100%;

    height:200px;

    object-fit:cover;

    border-radius:15px;

    transition:.4s;

    cursor:pointer;

}


.gallery img:hover{

    transform:scale(1.05);

}




/* ===========================
        FACTORY MEDIA
=========================== */


.factory-images{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

    margin-top:40px;

}


.factory-images img{

    width:100%;

    height:220px;

    object-fit:cover;

    border-radius:20px;

    cursor:pointer;

}



/* الفيديوهات */


.factory-videos{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:25px;

    margin-top:40px;

}



.video-item{

    position:relative;

    overflow:hidden;

    border-radius:20px;

    cursor:pointer;

}



.video-open{

    width:100%;

    height:120px;

    object-fit:cover;

    display:block;

    background:#111;

}



.video-item video{

    pointer-events:none;

}



.play-icon{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    width:60px;

    height:60px;

    border-radius:50%;

    background:rgba(0,0,0,.65);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

}



/* ===========================
        LIGHTBOX
=========================== */


.lightbox{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.90);

    justify-content:center;

    align-items:center;

    z-index:99999;

}



.lightbox img{

    max-width:90%;

    max-height:90%;

    border-radius:20px;

}



.close-lightbox{

    position:absolute;

    top:20px;

    right:40px;

    color:#fff;

    font-size:50px;

    cursor:pointer;

}




.video-lightbox{

    display:none;

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:rgba(0,0,0,.9);

    z-index:999999;

    justify-content:center;

    align-items:center;

}



.video-lightbox video{

    width:80%;

    max-height:80%;

    border-radius:20px;

}



.close-video{

    position:absolute;

    top:25px;

    right:45px;

    color:#fff;

    font-size:50px;

    cursor:pointer;

}



/* ===========================
        CONTACT & FOOTER
=========================== */


.contact{

    background:#101114;

}


.contact h2,
.contact p{

    color:#fff;

}



footer{

    background:#050505;

    color:#aaa;

    text-align:center;

    padding:25px;

}



/* ===========================
        ANIMATION
=========================== */


@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(50px);

    }


    to{

        opacity:1;

        transform:translateY(0);

    }

}
/* ===========================
        SCROLLBAR
=========================== */


::-webkit-scrollbar{

    width:10px;

}


::-webkit-scrollbar-track{

    background:#111;

}


::-webkit-scrollbar-thumb{

    background:#d4af37;

    border-radius:30px;

}



/* ===========================
        IMAGE EFFECT
=========================== */


.zoom-img{

    cursor:pointer;

    transition:.3s;

}



.zoom-img:hover{

    transform:scale(1.03);

}



/* ===========================
        MOBILE
=========================== */


@media(max-width:900px){


    header .container{

        flex-direction:column;

        height:auto;

        padding:15px 0;

    }



    .logo{

        width:320px;

        margin-bottom:15px;

    }



    .logo img{

        height:50px;

    }



    nav{

        width:100%;

        justify-content:center;

    }



    nav ul{

        gap:14px;

        flex-wrap:wrap;

        justify-content:center;

    }



    .hero-content h1{

        font-size:45px;

    }



    .hero-content p{

        font-size:18px;

    }



    .story-item{

        flex-direction:column;

        text-align:center;

    }



    .story-item img{

        width:90%;

        height:180px;

    }



    /* صورة الماكينة الرئيسية في الموبايل */


    .main-machine{

        width:95%;

    }



    .main-machine img{

        height:260px;

    }



    /* صور الماكينات */


    .machines-grid{

        grid-template-columns:1fr;

        gap:30px;

    }



    .machine-box img{

        height:230px;

    }



    .machine-title{

        font-size:22px;

    }



    .factory-images{

        grid-template-columns:1fr;

    }



    .factory-videos{

        grid-template-columns:repeat(2,1fr);

    }


}



@media(max-width:500px){


    .logo{

        width:250px;

    }



    .logo img{

        height:45px;

    }



    nav a{

        font-size:13px;

    }



    .hero-content h1{

        font-size:35px;

    }



    .factory-videos{

        grid-template-columns:1fr;

    }



    section h2{

        font-size:32px;

    }



    .machine-box h3{

        font-size:20px;

    }


}
/* ===========================
        CONTACT PAGE
=========================== */

.contact-page{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("assets/images/hero123.jpg");

    background-size:cover;

    background-position:center;

    padding:120px 20px 60px;

    overflow:hidden;

}


/* حركة خفيفة للخلفية */

.contact-page::before{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    background:#d4af37;

    filter:blur(180px);

    opacity:.25;

    animation:glow 6s infinite alternate;

}


@keyframes glow{

    from{

        transform:translate(-100px,-50px);

    }

    to{

        transform:translate(100px,50px);

    }

}



/* الكارت الزجاجي */

.contact-card{

    position:relative;

    z-index:2;

    width:650px;

    max-width:95%;

    padding:60px 50px;

    text-align:center;


    background:rgba(255,255,255,.12);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);


    border:1px solid rgba(255,255,255,.25);

    border-radius:30px;


    box-shadow:

    0 25px 70px rgba(0,0,0,.5);


    animation:showCard 1s ease;

    transition:.5s;

}



/* حركة دخول */

@keyframes showCard{

    from{

        opacity:0;

        transform:translateY(50px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* حركة عند الوقوف عليه */

.contact-card:hover{

    transform:translateY(-10px);

    box-shadow:

    0 35px 90px rgba(0,0,0,.7);

}



/* العنوان */

.contact-card h2{

    color:#fff;

    font-size:45px;

    font-weight:800;

    margin-bottom:15px;

}



.contact-card h2::after{

    content:"";

    display:block;

    width:90px;

    height:4px;

    background:#d4af37;

    margin:18px auto;

    border-radius:20px;

}



/* الكلام */

.contact-card p{

    color:#eee;

    font-size:21px;

    margin:12px 0;

}



/* الزر */

.contact-card .btn{

    display:inline-block;

    margin-top:30px;

    padding:15px 35px;


    background:#d4af37;

    color:#111;

    font-size:18px;

    font-weight:700;


    border-radius:50px;

    text-decoration:none;


    transition:.4s;


    box-shadow:0 10px 30px rgba(212,175,55,.4);

}



.contact-card .btn:hover{

    background:#fff;

    color:#111;

    transform:scale(1.08);

    box-shadow:0 15px 40px rgba(255,255,255,.3);

}