/* ===========================
   GLOBAL SETTINGS
=========================== */

body {
    margin: 0;
    font-family: 'Tajawal', sans-serif;
    background: #ffffff;
    color: #0E1A2B;
    line-height: 1.8;
}

* {
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 70px 0;
    text-align: center;
}

h2 {
    font-size: 32px;
    color: #0E1A2B;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: "";
    width: 70px;
    height: 3px;
    background: #D4AF37;
    display: block;
    margin: 15px auto 0;
    border-radius: 3px;
}

.btn {
    padding: 12px 25px;
    background: #D4AF37;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #b9962f;
}

/* ===========================
   HEADER
=========================== */

.lux-header {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    transition: 0.35s;
}

.lux-header.shrink {
    padding: 6px 0;
    backdrop-filter: blur(18px);
    border-bottom-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 65px;
    transition: 0.3s;
}

.lux-header.shrink .logo {
    height: 50px;
}

/* NAV */

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #0E1A2B;
    transition: 0.3s;
}

nav a:hover {
    color: #D4AF37;
    text-shadow: 0 0 6px rgba(212,175,55,0.55);
}

/* LANGUAGE SWITCH */

.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 15px;
}

.lang-switch i {
    color: #D4AF37;
    font-size: 20px;
}

.lang-switch a {
    color: #0E1A2B;
    text-decoration: none;
}

.lang-switch a:hover,
.lang-switch .active {
    color: #D4AF37;
}

/* MOBILE MENU */

.mobile-menu {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #0E1A2B;
}

/* ===========================
   FLOATING MOBILE NAV
=========================== */

.mobile-floating-nav {
    display: none;
}

@media (max-width: 900px) {
    .mobile-floating-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        justify-content: space-around;
        padding: 12px 0;
        background: rgba(255,255,255,0.75);
        backdrop-filter: blur(14px);
        border-top: 1px solid rgba(212,175,55,0.4);
        z-index: 3000;
    }

    .mobile-floating-nav a {
        font-size: 24px;
        color: #0E1A2B;
    }
}

/* ===========================
   BACK TO TOP
=========================== */

#backToTop {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: #0E1A2B;
    border: 2px solid #D4AF37;
    color: #fff;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 3000;
    transition: 0.3s;
}

#backToTop:hover {
    background: #D4AF37;
    color: #0E1A2B;
}

/* ===========================
   HERO
=========================== */
/* ===========================
   HERO SECTION
=========================== */

.hero {
    background: url('../assets/images/hero_1920x1080.webp') center/cover no-repeat;
    height: 85vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* طبقة الظل فوق الخلفية */
.hero::after {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(14, 26, 43, 0.60);
    z-index: 1; /* تحت النص */
}

/* محتوى الهيرو فوق الظل */
.hero-content {
    position: relative;
    z-index: 2; /* فوق الظل */
    text-align: center;
    padding: 0 20px;
}

/* تحسين نص الهيرو */
.hero-content h1 {
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 1.3;
    text-shadow: 0 4px 10px rgba(0,0,0,0.65);  /* ظل فاخر */
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 15px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.55); /* ظل خفيف */
}

/* MOBILE HERO */
@media (max-width: 900px) {
    .hero {
        background: url('../assets/images/hero_mobile_900x1200.webp') center/cover no-repeat;
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}


/* ===========================
   ABOUT – PREMIUM CARDS
=========================== */

.about-section {
    background: #ffffff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 45px;
}

.about-card {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,1) 0%,
        rgba(255,250,240,0.9) 100%
    );
    padding: 35px 25px;
    border-radius: 14px;
    border: 2px solid rgba(212,175,55,0.45);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
    transition: 0.35s ease;
}

.about-card i {
    font-size: 55px;
    margin-bottom: 18px;
    color: #D4AF37;
}

.about-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #0E1A2B;
    font-weight: 700;
}

.about-card p {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
}

/* Highlight middle card */
.about-cards .about-card:nth-child(2) {
    transform: scale(1.06);
    border-color: rgba(212,175,55,0.70);
    box-shadow:
        0 12px 24px rgba(0,0,0,0.12),
        0 0 22px rgba(212,175,55,0.40);
}

.about-cards .about-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #D4AF37;
    box-shadow:
        0 10px 25px rgba(0,0,0,0.12),
        0 0 18px rgba(212,175,55,0.55);
}

.about-cards .about-card:nth-child(2):hover {
    transform: translateY(-10px) scale(1.10);
}

/* MOBILE ABOUT */
@media (max-width: 900px) {
    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-cards .about-card:nth-child(2) {
        transform: scale(1.00);
    }
}

/* ===========================
   SERVICES
=========================== */

.bg-light {
    background: #f6f6f6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.service-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #eee;
    transition: 0.3s;
}

.service-box:hover {
    transform: translateY(-6px);
    border-color: #D4AF37;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.service-box i {
    font-size: 45px;
    color: #D4AF37;
    margin-bottom: 10px;
}

.service-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   COLLECTIONS
=========================== */

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.collections-grid img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid rgba(212,175,55,0.35);
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
    transition: 0.35s;
}

.collections-grid img:hover {
    transform: scale(1.05);
    border-color: rgba(212,175,55,0.85);
}

@media (max-width: 900px) {
    .collections-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   WHY US
=========================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.why-grid div {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #eee;
    transition: 0.3s;
}

.why-grid div:hover {
    transform: translateY(-6px);
    border-color: #D4AF37;
}

.why-grid i {
    font-size: 45px;
    color: #4F6F51;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   TESTIMONIALS
=========================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    margin-top: 30px;
}

.testimonial-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid #eee;
    transition: 0.3s;
}

.testimonial-box:hover {
    transform: translateY(-6px);
    border-color: #D4AF37;
}

.testimonial-box i {
    font-size: 35px;
    color: #D4AF37;
    margin-bottom: 15px;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   GALLERY SLIDER
=========================== */

.myGallerySlider {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
}

.myGallerySlider .swiper-slide {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212,175,55,0.35);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.myGallerySlider .swiper-slide:hover {
    transform: scale(1.03);
    border-color: rgba(212,175,55,0.85);
}

.swiper-button-next,
.swiper-button-prev {
    color: #D4AF37;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #0E1A2B;
}

.swiper-pagination-bullet {
    background: #D4AF37;
    opacity: 0.8;
}

.swiper-pagination-bullet-active {
    background: #0E1A2B;
}

/* ===========================
   CONTACT FORM
=========================== */

.contact-form {
    width: 70%;
    margin: auto;
    text-align: right;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ccc;
    border-radius: 7px;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-form textarea {
    height: 150px;
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.error {
    color: #b30000;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ===========================
   SUCCESS POPUP
=========================== */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(6px);
    z-index: 5000;
}

.popup-box {
    background: #ffffffee;
    padding: 40px;
    width: 90%;
    max-width: 420px;
    border-radius: 18px;
    border: 2px solid #D4AF37;
    box-shadow: 0 8px 30px rgba(212,175,55,0.35);
    text-align: center;
    animation: popupZoom 0.45s ease;
}

@keyframes popupZoom {
    0% { transform: scale(0.6); opacity: 0; }
    60% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

.popup-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(212,175,55,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: iconPulse 1.5s infinite ease-in-out;
}

.popup-icon i {
    font-size: 55px;
    color: #D4AF37;
}

@keyframes iconPulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.12); opacity: 1; }
    100% { transform: scale(1); opacity: 0.9; }
}

.popup-btn {
    margin-top: 20px;
    width: 100%;
}

/* ===========================
   FOOTER
=========================== */

.footer {
    background: #0E1A2B;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    text-align: right;
}

.footer-col h3 {
    color: #D4AF37;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col p,
.footer-col a {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
    display: block;
}

.footer-col i {
    color: #D4AF37;
    margin-left: 8px;
    font-size: 18px;
}

.footer-col a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
}

.footer-bottom a {
    color: #D4AF37;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* FOOTER MOBILE */
@media(max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    iframe {
        height: 180px !important;
    }
}

/* ===========================
   RESPONSIVE NAV
=========================== */

@media (max-width: 900px) {

    nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: rgba(255,255,255,0.97);
        border-bottom: 1px solid rgba(212,175,55,0.4);
        padding: 15px 0;
        display: none;
        flex-direction: column;
        text-align: center;
        z-index: 2500;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    nav.open {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .contact-form {
        width: 100%;
    }
}
/* Fix gallery image scaling */
.myGallerySlider .swiper-slide {
    height: 320px; /* يمكن تغييره لـ 350 أو 400 حسب الذوق */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.myGallerySlider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* أهم سطر */
    object-position: center; /* يركز على منتصف الصورة */
    display: block;
    border-radius: 10px;
}
