* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F5F1EA;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background-color: #F5F1EA;
}

.logo {
    font-size: 30px;
    font-weight: bold;
    color: #22201D;
    letter-spacing: 2px;
}

.logo span {
    color: #B49A78;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #B49A78;
}

.language {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
}
/* ===== HERO SECTION ===== */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    gap: 50px;
}

.hero-content {
    width: 45%;
}

.subtitle {
    color: #B49A78;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 25px;
    font-weight: bold;
}

.hero-content h1 {
    font-size: 58px;
    line-height: 1.15;
    color: #22201D;
    margin-bottom: 25px;
}

.description {
    color: #777;
    font-size: 16px;
    line-height: 1.8;
    max-width: 420px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.primary-btn {
    background-color: #22201D;
    color: white;
    border: none;
    padding: 16px 30px;
    cursor: pointer;
    transition: 0.3s;
}

.primary-btn:hover {
    background-color: #B49A78;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #22201D;
    padding: 16px 30px;
    cursor: pointer;
    transition: 0.3s;
}

.secondary-btn:hover {
    background-color: #22201D;
    color: white;
}

.hero-image {
    width: 52%;
    height: 570px;
    background-image:
        linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.15)),
        url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1200');

    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image span {
    position: absolute;
    bottom: 25px;
    right: 25px;
    color: white;
    font-size: 12px;
    letter-spacing: 3px;
}
/* HERO IMPROVEMENTS */

.hero {
    min-height: 80vh;
    padding-top: 40px;
}

.hero-image {
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.hero-content h1 {
    font-family: Georgia, serif;
    font-weight: 500;
    letter-spacing: -2px;
}

.primary-btn,
.secondary-btn {
    font-size: 14px;
    letter-spacing: 1px;
}
/* PROJECTS SECTION */

.projects {
    padding: 100px 8%;
    background: #FFFFFF;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header p {
    color: #B49A78;
    letter-spacing: 3px;
    font-size: 13px;
}

.section-header h2 {
    font-size: 42px;
    margin: 15px 0;
    font-family: Georgia, serif;
}

.section-header span {
    color: #777;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.project-card h3 {
    margin-top: 18px;
    font-size: 20px;
}

.project-card p {
    color: #888;
    margin-top: 8px;
    font-size: 14px;
}/* SERVICES SECTION */

.services {
    padding: 100px 8%;
    background-color: #F5F1EA;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: #FFFFFF;
    padding: 35px 25px;
    min-height: 230px;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-card h3 {
    color: #B49A78;
    font-size: 18px;
    margin-bottom: 30px;
}

.service-card h4 {
    font-size: 19px;
    margin-bottom: 15px;
    color: #22201D;
}

.service-card p {
    color: #777;
    line-height: 1.7;
    font-size: 14px;
}/* ABOUT SECTION */

.about {
    padding: 110px 8%;
    display: flex;
    align-items: center;
    gap: 80px;
    background: #FFFFFF;
}

.about-image {
    width: 50%;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-content {
    width: 50%;
}

.about-content h2 {
    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1.3;
    margin: 20px 0;
    color: #22201D;
}

.about-content p:not(.subtitle) {
    color: #777;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 15px;
}

.about-content button {
    margin-top: 15px;
}/* CONTACT SECTION */

.contact {
    padding: 100px 8%;
    background: #22201D;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.contact-content {
    max-width: 550px;
}

.contact-content h2 {
    font-family: Georgia, serif;
    font-size: 48px;
    line-height: 1.3;
    margin: 20px 0;
}

.contact-content > p:not(.subtitle) {
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 30px;
}

.whatsapp-btn {
    display: inline-block;
    background: #B49A78;
    color: white;
    padding: 16px 28px;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-btn:hover {
    background: white;
    color: #22201D;
}

.contact-info {
    border-left: 1px solid #B49A78;
    padding-left: 35px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    color: #bbb;
    margin-bottom: 12px;
}/* FOOTER */

.footer {
    background: #171613;
    color: white;
    padding: 60px 8% 25px;
    text-align: center;
}

.footer-logo {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 3px;
}

.footer-logo span {
    color: #B49A78;
}

.footer-logo p {
    font-size: 13px;
    color: #999;
    margin-top: 10px;
    font-weight: normal;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #B49A78;
}

.footer-bottom {
    border-top: 1px solid #393630;
    padding-top: 25px;
    color: #888;
    font-size: 12px;
}
/* RESPONSIVE DESIGN */

@media (max-width: 992px) {

    .navbar {
        padding: 20px 4%;
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero {
        padding: 50px 5%;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 35px;
        padding: 70px 5%;
    }

    .contact {
        padding: 70px 5%;
    }
}

@media (max-width: 600px) {

    .navbar {
        justify-content: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-content,
    .hero-image {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .hero-image {
        height: 350px;
    }

    .projects-container,
    .services-container {
        grid-template-columns: 1fr;
    }

    .about {
        flex-direction: column;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about-image img {
        height: 350px;
    }

    .about-content h2 {
        font-size: 34px;
    }

    .contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-content h2 {
        font-size: 36px;
    }

    .contact-info {
        border-left: none;
        border-top: 1px solid #B49A78;
        padding: 25px 0 0;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}
/* Arabic RTL Design */

html[dir="rtl"] {
    direction: rtl;
}

html[dir="rtl"] body {
    text-align: right;
    font-family: Tahoma, Arial, sans-serif;
}

html[dir="rtl"] .navbar {
    direction: rtl;
}

html[dir="rtl"] .nav-links {
    direction: rtl;
}

html[dir="rtl"] .hero {
    direction: rtl;
}

html[dir="rtl"] .hero-content {
    text-align: right;
}

html[dir="rtl"] .hero-buttons {
    justify-content: flex-start;
    flex-direction: row-reverse;
}

html[dir="rtl"] .projects,
html[dir="rtl"] .services {
    direction: rtl;
}

html[dir="rtl"] .section-header {
    text-align: center;
}

html[dir="rtl"] .project-card,
html[dir="rtl"] .service-card {
    text-align: right;
}

html[dir="rtl"] .about {
    direction: rtl;
}

html[dir="rtl"] .about-content {
    text-align: right;
}

html[dir="rtl"] .contact {
    direction: rtl;
}

html[dir="rtl"] .contact-content,
html[dir="rtl"] .contact-info {
    text-align: right;
}

html[dir="rtl"] .footer {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .footer-links {
    direction: rtl;
}/* NAVBAR IMPROVEMENTS */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-links a {
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #B49A78;
}

.language button {
    cursor: pointer;
    transition: 0.3s ease;
}

.language button:hover,
.language button.active {
    color: #B49A78;
}
/* CARD HOVER EFFECTS */

.project-card,
.service-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.project-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.project-card img {
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.primary-btn,
.secondary-btn,
.whatsapp-btn {
    transition: all 0.3s ease;
}

.primary-btn:hover,
.whatsapp-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.secondary-btn:hover {
    background: #B49A78;
    color: white;
}
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}
#backToTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    background: #B49A78;
    color: white;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    display: none;
    z-index: 999;
}
.project-card {
    cursor: pointer;
}
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    padding: 30px;
}

.project-modal img {
    max-width: 80%;
    max-height: 70vh;
    object-fit: contain;
}

.project-modal h2 {
    margin-top: 20px;
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 40px;
    cursor: pointer;
}
#modalDescription {
    color: #ddd;
    font-size: 16px;
    max-width: 600px;
    text-align: center;
    line-height: 1.8;
    margin-top: 15px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.projects-grid .project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.projects-grid .project-card {
    overflow: hidden;
    border-radius: 10px;
}
/* ===============================
   PROJECT FILTERS
================================ */

.project-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 35px auto 40px;
    padding: 0 20px;
}

.filter-btn {
    padding: 11px 24px;
    border: 1px solid #B49A78;
    background: transparent;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #B49A78;
    color: white;
}

.project-card {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card.hidden {
    display: none;
}

html[dir="rtl"] .project-filters {
    direction: rtl;
}

@media (max-width: 600px) {
    .project-filters {
        gap: 8px;
    }

    .filter-btn {
        padding: 9px 16px;
        font-size: 12px;
    }
}
/* ===============================
   PROJECT SEARCH
================================ */

.project-search {
    max-width: 550px;
    margin: 0 auto 30px;
    padding: 0 15px;
}

.project-search input {
    width: 100%;
    padding: 16px 22px;
    border: 1px solid #D8C8B4;
    border-radius: 30px;
    background: #F5F1EA;
    color: #22201D;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.project-search input:focus {
    border-color: #B49A78;
    box-shadow: 0 0 12px rgba(180, 154, 120, 0.2);
}

.project-search input::placeholder {
    color: #999;
}

html[dir="rtl"] .project-search input {
    text-align: right;
}

@media (max-width: 600px) {
    .project-search {
        width: 100%;
    }

    .project-search input {
        padding: 14px 18px;
        font-size: 14px;
    }
}