/* =====================================================
   الإعدادات العامة
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: #faf9f7;
    color: #292725;
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}

.section {
    padding: 100px 0;
}


/* =====================================================
   العناوين
===================================================== */

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-heading > span {
    display: inline-block;
    color: #b18443;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 10px;
    position: relative;
}

.section-heading > span::before,
.section-heading > span::after {
    content: "";
    width: 35px;
    height: 1px;
    background: #b18443;
    position: absolute;
    top: 50%;
}

.section-heading > span::before {
    right: calc(100% + 12px);
}

.section-heading > span::after {
    left: calc(100% + 12px);
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 800;
}

.section-heading h2 strong {
    color: #b18443;
    display: block;
}

.section-heading p {
    color: #77716b;
}


/* =====================================================
   Header
===================================================== */

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: .3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.header.scrolled .logo {
    color: #292725;
}

.logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #c99a53, #8f6530);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(177,132,67,.25);
}

.logo strong {
    display: block;
    font-size: 21px;
    line-height: 1.1;
}

.logo small {
    display: block;
    font-size: 10px;
    opacity: .75;
    letter-spacing: 1px;
}


/* Navigation */

.nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav a {
    color: white;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: .3s;
}

.header.scrolled .nav a {
    color: #333;
}

.nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    width: 0;
    height: 2px;
    background: #c99a53;
    transition: .3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


/* WhatsApp */

.nav-whatsapp {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #25d366;
    color: white;
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
}

.nav-whatsapp i {
    font-size: 18px;
}


/* Menu button */

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    color: white;
    font-size: 25px;
    cursor: pointer;
}

.header.scrolled .menu-toggle {
    color: #333;
}


/* =====================================================
   Hero
===================================================== */

.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(22,18,14,.85),
            rgba(22,18,14,.50),
            rgba(22,18,14,.25)
        ),
        url("../images/1.jpg") center/cover no-repeat;

    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 20% 50%,
            rgba(190,145,75,.25),
            transparent 35%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 720px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e1bc7c;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero h1 span {
    display: block;
    color: #d6ab66;
}

.hero p {
    max-width: 650px;
    font-size: 18px;
    color: rgba(255,255,255,.84);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 25px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    transition: .3s;
}

.btn-primary {
    background: #b18443;
    color: white;
}

.btn-primary:hover {
    background: #8e672f;
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.5);
    color: white;
}

.btn-outline:hover {
    background: white;
    color: #333;
}

.btn-white {
    background: white;
    color: #5f4726;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 55px;
}

.hero-features div {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.85);
    font-size: 13px;
}

.hero-features i {
    color: #d6ab66;
}

.scroll-down {
    position: absolute;
    bottom: 25px;
    right: 50%;
    transform: translateX(50%);
    color: white;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,100% {
        transform: translate(50%, 0);
    }

    50% {
        transform: translate(50%, 8px);
    }

}


/* =====================================================
   About
===================================================== */

.about {
    background: #faf9f7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image > img,
.no-image {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 10px;
}

.no-image {
    background: #ebe7df;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #888;
}

.no-image i {
    font-size: 55px;
    margin-bottom: 10px;
}

.experience-box {
    position: absolute;
    left: -25px;
    bottom: 35px;
    background: #b18443;
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,.15);
}

.experience-box strong {
    display: block;
    font-size: 25px;
}

.experience-box span {
    font-size: 12px;
}

.mini-title {
    color: #b18443;
    font-size: 14px;
    font-weight: 700;
}

.about-content h3 {
    font-size: 38px;
    line-height: 1.4;
    margin: 12px 0 20px;
}

.about-content h3 span {
    color: #b18443;
    display: block;
}

.about-content p {
    color: #77716b;
    margin-bottom: 16px;
}

.about-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.about-list div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.about-list i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eee3d0;
    color: #9a7035;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}


/* =====================================================
   Services
===================================================== */

.services {
    background:
        linear-gradient(
            135deg,
            #25211d,
            #3c3329
        );
    color: white;
}

.section-heading.light p {
    color: #c7c1ba;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
    padding: 35px 30px;
    border-radius: 10px;
    overflow: hidden;
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-7px);
    background: rgba(255,255,255,.09);
    border-color: rgba(214,171,102,.4);
}

.service-icon {
    width: 58px;
    height: 58px;
    background: #b18443;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 22px;
}

.service-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.service-card p {
    color: #c4bdb5;
    font-size: 13px;
}

.service-number {
    position: absolute;
    left: 20px;
    bottom: 5px;
    font-size: 65px;
    font-weight: 800;
    color: rgba(255,255,255,.025);
}


/* =====================================================
   Gallery
===================================================== */

.gallery {
    background: #f4f1ec;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 320px;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #ddd;
}

.gallery-item:nth-child(1) {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 45%,
        rgba(0,0,0,.75)
    );
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px;
    color: white;
    opacity: 0;
    transition: .3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.view-image {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #b18443;
    color: white;
    cursor: pointer;
    font-size: 15px;
}

.empty-gallery {
    background: white;
    border-radius: 12px;
    padding: 80px 20px;
    text-align: center;
    color: #777;
}

.empty-gallery i {
    font-size: 60px;
    color: #b18443;
    margin-bottom: 15px;
}


/* =====================================================
   Why Us
===================================================== */

.why-us {
    background: white;
}

.why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.why-content h2 {
    font-size: 38px;
    line-height: 1.4;
    margin: 12px 0 20px;
}

.why-content h2 strong {
    display: block;
    color: #b18443;
}

.why-content p {
    color: #77716b;
    margin-bottom: 30px;
}

.why-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-item {
    padding: 25px;
    background: #faf9f7;
    border: 1px solid #eee9e1;
    border-radius: 9px;
    display: flex;
    gap: 15px;
}

.why-icon {
    flex: 0 0 48px;
    height: 48px;
    background: #eee3d0;
    color: #a17538;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.why-item p {
    font-size: 12px;
    color: #817b74;
    margin: 0;
}


/* =====================================================
   CTA
===================================================== */

.cta {
    padding: 85px 0;
    background:
        linear-gradient(
            110deg,
            #8d6530,
            #c09654
        );
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: auto;
}

.cta-content > span {
    font-size: 14px;
    opacity: .85;
}

.cta h2 {
    font-size: 43px;
    line-height: 1.4;
    margin: 10px 0;
}

.cta h2 strong {
    color: #fff4dd;
}

.cta p {
    margin-bottom: 25px;
    opacity: .9;
}


/* =====================================================
   Contact
===================================================== */

.contact {
    background: #faf9f7;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px;
    background: white;
    border: 1px solid #eee9e1;
    border-radius: 9px;
    transition: .3s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,.07);
}

.contact-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 12px;
    background: #eee3d0;
    color: #a17538;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.contact-card div:nth-child(2) {
    flex: 1;
}

.contact-card span {
    display: block;
    font-size: 12px;
    color: #999;
}

.contact-card strong {
    display: block;
    font-size: 14px;
}

.whatsapp-card .contact-icon {
    background: #e5f8ec;
    color: #25d366;
}


/* =====================================================
   Footer
===================================================== */

.footer {
    background: #211e1b;
    color: white;
    padding: 70px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 20px;
}

.footer-about p {
    color: #aaa39c;
    font-size: 13px;
    max-width: 330px;
}

.footer h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #e2b96e;
}

.footer-links,
.footer-services,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a,
.footer-services span,
.footer-contact a {
    color: #aaa39c;
    font-size: 13px;
    transition: .3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #e2b96e;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #88817a;
    font-size: 11px;
}


/* =====================================================
   WhatsApp Floating
===================================================== */

.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 29px;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(37,211,102,.35);
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37,211,102,.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37,211,102,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37,211,102,0);
    }

}


/* =====================================================
   Image Modal
===================================================== */

.image-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.image-modal.show {
    display: flex;
}

.modal-content {
    max-width: 1000px;
    max-height: 90vh;
    text-align: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 5px;
}

#modalTitle {
    color: white;
    margin-top: 10px;
    font-size: 14px;
}

.modal-close,
.modal-prev,
.modal-next {
    position: absolute;
    border: none;
    background: rgba(255,255,255,.12);
    color: white;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
}

.modal-close {
    top: 25px;
    left: 25px;
}

.modal-prev {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-next {
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-close:hover,
.modal-prev:hover,
.modal-next:hover {
    background: #b18443;
}


/* =====================================================
   Responsive
===================================================== */

@media (max-width: 1000px) {

    .nav {
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 800px) {

    .section {
        padding: 75px 0;
    }

    .nav {
        position: absolute;
        top: calc(100% + 5px);
        right: 4%;
        left: 4%;
        background: white;
        border-radius: 10px;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 15px 40px rgba(0,0,0,.12);
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        color: #333 !important;
        padding: 8px 5px;
    }

    .nav a::after {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-whatsapp {
        display: none;
    }

    .hero {
        background-position: center;
    }

    .hero h1 {
        font-size: 46px;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 15px;
    }

    .about-grid,
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .experience-box {
        left: 15px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 550px) {

    .section-heading h2 {
        font-size: 30px;
    }

    .hero {
        min-height: 750px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .about-image > img,
    .no-image {
        height: 400px;
    }

    .about-content h3,
    .why-content h2 {
        font-size: 30px;
    }

    .about-list {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }

    .gallery-item {
        height: 280px;
    }

    .why-items {
        grid-template-columns: 1fr;
    }

    .cta h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 18px 0;
        text-align: center;
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        left: 15px;
        bottom: 15px;
    }

}