/* ===================================
   EVORA WEBSITE
   RESET + NAVBAR + HERO
=================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Cairo', sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fafafa;
    color:#222;
    overflow-x:hidden;
}

/* Inline SVG Universal Rules */
svg.icon-svg {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    transition: fill 0.3s ease;
}

/* "Why Evora" Section Icons - Styled in Brand Magenta */
.why-card svg.icon-svg {
    display: block;
    margin: 0 auto 20px;
    font-size: 55px;
    fill: #FF00FF; /* Elegant Magenta */
}

/* Contact Box Icons - Styled in Brand Cyan */
.contact-item svg.icon-svg {
    display: block;
    margin: 0 auto 15px;
    font-size: 50px;
    fill: #FF00FF; 
}

/* Inline text icons (Footer contact details) */
footer .footer-column p svg.inline-icon {
    margin-left: 8px;
    font-size: 18px;
    fill: #FF00FF; 
}

/* Floating WhatsApp Button */
.whatsapp-btn svg.icon-svg {
    font-size: 32px;
    fill: #ffffff; 
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:sticky;
    top:0;
    width:100%;
    height:90px;
    padding:0 5%;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(15px);
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.logo img{
    height:65px;
    display:block;
}

.navbar ul{
    display:flex;
    align-items:center;
    gap:30px;
    list-style:none;
}

.navbar ul li a{
    text-decoration:none;
    color:#222;
    font-weight:700;
    transition:.3s;
}

.navbar ul li a:hover{
    color:#d946ef;
}

.nav-btn{
    padding:14px 28px;
    border-radius:50px;
    background:linear-gradient(135deg,#d946ef,#3b82f6);
    color:#fff !important;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.nav-btn:hover{
    transform:translateY(-3px);
}

.menu-toggle{
    display:none;
    font-size:34px;
    cursor:pointer;
    font-weight:bold;
}

/* =========================
   HERO
========================= */

.hero{
    height:100vh;
    background:url("../images/hero.jpg") center center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
}

.hero-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    color:#fff;
}

.hero-content h1{
    font-size:72px;
    line-height:1.3;
    margin-bottom:20px;
}

.hero-content span{
    color:#d946ef;
}

.hero-content p{
    font-size:24px;
    line-height:1.8;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:16px 35px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-5px);
}

.primary-btn{
    background:linear-gradient(135deg,#d946ef,#3b82f6);
    color:#fff;
}

.secondary-btn{
    background:#fff;
    color:#222;
}

/* =========================
   SECTION GENERAL
========================= */

section{
    padding:100px 8%;
}

.section-header{
    text-align:center;
    margin-bottom:60px;
}

.section-header h2{
    font-size:55px;
    margin-bottom:10px;
    position:relative;
    display:inline-block;
    padding-bottom:15px;
}

.section-header h2::after{
    content:"";
    position:absolute;
    bottom:0;
    right:50%;
    transform:translateX(50%);
    width:80px;
    height:4px;
    background:linear-gradient(90deg,#d946ef,#3b82f6);
    border-radius:20px;
}

.section-header p{
    font-size:20px;
    color:#777;
}

/* =========================
   SERVICES
========================= */

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.service-card{
    background:#fff;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.service-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    transition:.5s;
}

.service-card:hover img{
    transform:scale(1.08);
}

.service-card h3{
    padding:20px 20px 10px;
    font-size:28px;
    text-align:center;
}

.service-card p{
    padding:0 20px 25px;
    text-align:center;
    line-height:1.8;
    color:#666;
}

/* =========================
   STUDIO
========================= */

.studio-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.studio-card{
    position:relative;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
}

.studio-card:hover{
    transform:translateY(-10px);
}

.studio-card img{
    width:100%;
    height:320px;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.studio-card:hover img{
    transform:scale(1.08);
}

.studio-card h3{
    position:absolute;
    bottom:0;
    width:100%;
    padding:15px;
    background:rgba(0,0,0,.7);
    color:#fff;
    text-align:center;
    font-size:18px;
}

/* =========================
   GALLERY
========================= */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:15px;
}

.gallery-grid img{
    width:100%;
    height:230px;
    object-fit:cover;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    transition:.4s;
}

.gallery-grid img:hover{
    transform:scale(1.08);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

/* =========================
   WHY EVORA
========================= */

.why-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:40px;
}

.why-card{
    background:#fff;
    padding:35px 25px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    transition:.4s;
    min-height:260px;
}

.why-card:hover{
    transform:translateY(-10px);
}

.why-card h3{
    font-size:26px;
    margin-bottom:15px;
}

.why-card p{
    line-height:1.8;
    color:#666;
}

/* =========================
   CONTACT
========================= */

.contact{
    background:#fafafa;
}

.contact-box{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    max-width:1100px;
    margin:auto;
}

/* تم تعديل الكروت هنا لتتناسب مع كونها روابط مستقلة مفعّلة */
.contact-item{
    display: block;
    background:#fff;
    padding:40px 25px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.08);
    transition:.3s;
    text-decoration: none;
    color: #222;
}

.contact-item:hover{
    transform:translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

.contact-item h3{
    margin-bottom:10px;
    font-size:24px;
}

.contact-item p{
    font-size:18px;
    color:#666;
}

/* =========================
   FOOTER
========================= */

footer{
    background:#111;
    color:#fff;
    padding:80px 8% 30px;
}

.footer-logo{
    text-align:center;
    margin-bottom:40px;
}

.footer-logo img{
    height:100px;
}

/* تنظيم حاوية الفوتر بنظام Grid متساوي المقاسات والمحاذاة */
.footer-container{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.footer-column h3{
    font-size:22px;
    margin-bottom:25px;
    color: #fff;
    position: relative;
    font-weight: 700;
}

/* تنسيق القوائم الداخلية لضمان المحاذاة التلقائية */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column p,
.footer-column ul li a{
    display:flex;
    align-items: center;
    color:#ccc;
    text-decoration:none;
    line-height:1.8;
    font-size: 16px;
    margin-bottom: 12px;
}

.footer-column ul li a:hover{
    color:#d946ef;
}

.footer-bottom{
    margin-top:50px;
    padding-top:20px;
    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
    color:#aaa;
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn{
    position:fixed;
    left:20px;
    bottom:20px;
    width:60px;
    height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#25D366;
    color:#fff;
    border-radius:50%;
    text-decoration:none;
    z-index:9999;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:scale(1.1);
}

/* =========================
   LIGHTBOX
========================= */

.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:20px;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:15px;
    box-shadow:0 15px 40px rgba(0,0,0,.4);
    transform: scale(.8);
    transition: .3s;
}

.close-lightbox{
    position:absolute;
    top:20px;
    right:30px;
    font-size:40px;
    color:white;
    cursor:pointer;
}

/* ===================================
   RESPONSIVE DESIGN (TABLET)
=================================== */

@media (max-width:992px){
    .services-grid,
    .why-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .studio-grid,
    .gallery-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .contact-box{
        grid-template-columns:1fr;
    }

    .footer-container{
        grid-template-columns:repeat(2,1fr);
        gap: 30px;
    }

    .hero-content h1{
        font-size:50px;
    }

    .hero-content p{
        font-size:20px;
    }
}

/* ===================================
   RESPONSIVE DESIGN (MOBILE)
=================================== */

@media (max-width:768px){
    .menu-toggle{
        display:block;
        font-size:32px;
        cursor:pointer;
        color:#222;
    }

    .navbar{
        background:transparent;
        box-shadow:none;
        border:none;
    }

    .logo img{
        height:55px;
    }

    .nav-btn{
        display:none;
    }

    nav{
        position:absolute;
        top:90px;
        left:15px;
        right:15px;
        background:#fff;
        border-radius:20px;
        padding:15px;
        box-shadow:0 10px 30px rgba(0,0,0,.12);
        opacity:0;
        visibility:hidden;
        transform:translateY(-15px);
        transition:.3s;
        z-index:999;
    }

    nav a{
        color: #222;
        transition: .3s ;
    }

    nav a:hover{
        color:#c44cff;
    }

    nav.active{
        opacity:1;
        visibility:visible;
        transform:translateY(0);
    }

    .navbar ul{
        display:flex;
        flex-direction:column;
        gap:15px;
        list-style:none;
    }

    .navbar ul li{
        width:100%;
    }

    .navbar ul li a{
        display:block;
        padding:16px;
        background:#f8f8f8;
        border-radius:14px;
        text-align:center;
        font-weight:700;
    }

    .hero{
        height:auto;
        min-height:80vh;
        padding:120px 20px 80px;
    }

    .hero-content h1{
        font-size:34px;
        line-height:1.4;
    }

    .hero-content p{
        font-size:16px;
        line-height:1.8;
    }

    .hero-buttons{
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    .btn{
        width:220px;
        text-align:center;
    }

    section{
        padding:70px 20px;
    }

    .section-header h2{
        font-size:36px;
    }

    .section-header p{
        font-size:16px;
    }

    .services-grid,
    .studio-grid,
    .gallery-grid,
    .why-grid,
    .contact-box{
        grid-template-columns:1fr;
    }

    .service-card h3{
        font-size:24px;
    }

    .why-card h3{
        font-size:22px;
    }

    .contact-item{
        padding:30px 20px;
    }

    .fade-up{
        opacity:0;
        transform:translateY(40px);
        transition:.8s;
    }

    .fade-up.show{
        opacity:1;
        transform:translateY(0);
    }

    /* توزيع الفوتر بشكل عمودي متناسق في الجوال */
    .footer-container{
        display:flex;
        flex-direction:column;
        gap:35px;
        text-align:center;
    }
    
    .footer-column p,
    .footer-column ul li a {
        justify-content: center;
    }

    .whatsapp-btn{
        width:55px;
        height:55px;
        font-size:28px;
        left:15px;
        bottom:15px;
    }
}