/* ===========================
   GLOBAL
=========================== */
:root {
    --primary: #8A1E24;      /* عنّابي الشعار */
    --primary-soft: #C36B72;
    --accent: #D9B36C;       /* ذهبي لطيف */
    --gold: #D4AF37;         /* ذهبي رئيسي */
    --gold-dark: #c79c2f;    /* ذهبي داكن */
    --dark: #241414;
    --bg-soft: #FFF7F0;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Tajawal', sans-serif;
    background: #ffffff;
    color: var(--dark);
    line-height: 1.8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 70px 0;
    text-align: center;
}

h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: "";
    width: 70px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin: 15px auto 0;
    border-radius: 4px;
}

/* ===========================
   HEADER
=========================== */
.lam-header {
    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 1px solid rgba(138,30,36,0.15);
    transition: 0.3s;
}

.lam-header.shrink {
    padding: 6px 0;
    box-shadow: 0 5px 18px rgba(0,0,0,0.07);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 64px;
    transition: 0.3s;
}

.lam-header.shrink .logo {
    height: 50px;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--dark);
    transition: 0.3s;
}

nav a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px rgba(138,30,36,0.25);
}

/* LANGUAGE SWITCH */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 14px;
}

.lang-switch i {
    color: var(--primary);
    font-size: 18px;
}

.lang-switch a,
.lang-switch span {
    color: var(--dark);
    text-decoration: none;
}

.lang-switch .active {
    color: var(--primary);
}

/* MOBILE MENU ICON */
.mobile-menu {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--dark);
}

/* ===========================
   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: 10px 0;
        background: rgba(255,255,255,0.95);
        border-top: 1px solid rgba(138,30,36,0.2);
        backdrop-filter: blur(10px);
        z-index: 2200;
    }

    .mobile-floating-nav a {
        font-size: 22px;
        color: var(--dark);
    }
}

/* ===========================
   BACK TO TOP
=========================== */
#backToTop {
    position: fixed;
    bottom: 80px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 2px solid var(--accent);
    color: #fff;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2300;
    transition: 0.3s;
}

#backToTop:hover {
    background: var(--accent);
    color: var(--dark);
}

/* ===========================
   HERO
=========================== */
.hero {
    background: url('../assets/images/hero_home.webp') center/cover no-repeat;
    
    height: 80vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(36,20,20,0.63);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 38px;
    margin-bottom: 15px;
    line-height: 1.35;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 19px;
    margin-bottom: 20px;
    max-width: 700px;
    margin-inline: auto;
    text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}

.btn-main {
    padding: 12px 26px;
    background: var(--primary);
    color: #fff;
    border-radius: 7px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid transparent;
    transition: 0.3s;
}

.btn-main:hover {
    background: #fff;
    color: var(--primary);
    border-color: var(--primary);
}

/* MOBILE HERO */
@media (max-width: 900px) {
    .hero {
        height: 70vh;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* ===========================
   ABOUT – CARDS
=========================== */
.about-section {
    background: #ffffff;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    margin-top: 40px;
}

.about-card {
    background: linear-gradient(135deg, #fff 0%, #fff7f1 100%);
    padding: 30px 22px;
    border-radius: 14px;
    border: 1px solid rgba(138,30,36,0.25);
    box-shadow: 0 8px 22px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: center;
}

.about-card i {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--primary);
}

.about-card h3 {
    font-size: 21px;
    margin-bottom: 10px;
    color: var(--dark);
}

.about-card p {
    font-size: 15px;
    color: #4d3d3d;
}

.about-card.highlight {
    transform: scale(1.04);
    border-color: rgba(217,179,108,0.8);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.1),
        0 0 16px rgba(217,179,108,0.6);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow:
        0 10px 24px rgba(0,0,0,0.12),
        0 0 16px rgba(138,30,36,0.45);
}

@media (max-width: 900px) {
    .about-cards {
        grid-template-columns: 1fr;
    }

    .about-card.highlight {
        transform: scale(1.0);
    }
}

/* ===========================
   PRODUCTS
=========================== */
.bg-soft {
    background: var(--bg-soft);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    margin-top: 35px;
}

.product-card {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e9dede;
    transition: 0.3s;
    text-align: center;
}

.product-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 12px;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   WHY US
=========================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    margin-top: 30px;
}

.why-grid div {
    background: #fff;
    padding: 22px;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.why-grid i {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--primary-soft);
}

.why-grid div:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   GALLERY SLIDER
=========================== */
.lamGallerySlider {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 55px;
}

.lamGallerySlider .swiper-slide {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(138,30,36,0.25);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transition: 0.3s;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lamGallerySlider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--accent);
}

/* ===========================
   CONTACT
=========================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 35px;
    text-align: right;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 16px;
}

.contact-form textarea {
    height: 140px;
    resize: none;
}

.error {
    color: #b30000;
}

/* ===========================
   FOOTER  (NEW GOLD VERSION)
=========================== */
.footer {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

/* الشعار + النص جنباً */
.footer-info-flex {
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-logo {
    width: 90px;
}

.footer-about {
    font-size: 15px;
    line-height: 1.9;
    max-width: 360px;
    color: #fff;
}

/* الخريطة */
.footer-map h3 {
    color: #fff;
    margin-bottom: 12px;
}

/* الفوتر السفلي */
.footer-bottom {
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.25);
    padding-top: 15px;
    font-size: 14px;
}

.footer-bottom a {
    color: #fff;
    font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {

    nav {
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        text-align: center;
        padding: 15px 0;
        display: none;
        border-bottom: 1px solid #ccc;
    }

    nav.open { display: flex; }

    .mobile-menu { display: block; }

    .about-cards,
    .products-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }

    .footer-info-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-map iframe {
        height: 180px !important;
    }
}

/* FLOATING NAV */
@media (max-width: 900px) {
    .mobile-floating-nav {
        display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        width: 100%;
        background: rgba(255,255,255,0.9);
        padding: 10px 0;
        z-index: 2000;
    }
}

/* BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 90px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 2px solid var(--gold);
    border-radius: 50%;
    color: #fff;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
