:root {
    --color-dark-brown: #3E2723;
    /* Deep brown */
    --color-accent: #D4A574;
    /* Warm gold/tan */
    --color-white: #ffffff;
    --color-text-light: #e0e0e0;

    /* Arabic fonts */
    --font-serif: 'Alexandria', sans-serif;
    --font-sans: 'Alexandria', sans-serif;

    --padding-container: 4vw;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: rgb(0, 0, 0);
    color: var(--color-white);
    overflow-x: hidden;
    font-size: 20px;
    /* Further increased base font size */
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem var(--padding-container) 2rem var(--padding-container);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.desktop-nav {
    display: none;
    /* Hidden for now based on design showing 'MENU' */
}

.menu-toggle {
    cursor: pointer;
    z-index: 20;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-dark-brown);
    z-index: 15;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.close-menu {
    position: absolute;
    top: 2rem;
    left: var(--padding-container);
    /* Changed to left for RTL */
    cursor: pointer;
    font-size: 1.1rem;
    /* Increased */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 3rem;
    /* Increased */
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.mobile-nav a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--padding-container);
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6;
    /* Darken image slightly */
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(62, 39, 35, 0.3), rgba(62, 39, 35, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 10vh;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 6vw;
    /* Increased */
    line-height: 1.3;
    text-align: center;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: auto;
    /* Pushes footer down */
    margin-top: auto;
    /* Centers vertically with margin-bottom */
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 3rem;
    font-size: 1rem;
    /* Increased */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-light);
}


.hero-text {
    max-width: 450px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.explore-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .hero-footer {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        text-align: center;
    }

    .address {
        order: 2;
    }

    .hero-text {
        order: 1;
    }

    .explore-btn {
        order: 3;
    }
}

/* About Section */
.about {
    padding: 4rem var(--padding-container);
    background-color: var(--color-dark-brown);
    color: var(--color-white);
    position: relative;
}

.about-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.section-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

.asterisk-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
}

.about-title {
    font-family: var(--font-sans);
    font-size: 4.5vw;
    /* Increased */
    line-height: 1.5;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--color-accent);
}

.about-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.about-text-col {
    max-width: 30%;
}

.about-desc {
    font-size: 1.1rem;
    /* Increased */
    line-height: 1.6;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.read-more-btn {
    font-size: 1rem;
    /* Increased */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 2px;
}

.about-img-col {
    width: 40%;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    /* Increased rounding */
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-title {
        font-size: 2rem;
    }

    .about-grid {
        flex-direction: column;
        gap: 3rem;
        align-items: stretch;
    }

    .about-text-col {
        width: 100%;
        max-width: 100%;
        text-align: right;
    }

    .about-desc {
        text-align: right !important;
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: 0;
    }

    .about-img-col {
        width: 100%;
    }
}

/* Services Section */
.services {
    padding: 4rem var(--padding-container);
    background-color: var(--color-accent);
    color: var(--color-dark-brown);
}

.services .section-label {
    color: var(--color-dark-brown);
}

.services-header {
    margin-bottom: 4rem;
}

.services-title {
    font-family: var(--font-sans);
    font-size: 4vw;
    /* Increased */
    line-height: 1.5;
    font-weight: 700;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .services-title {
        font-size: 2rem;
    }
}

.services-desc {
    max-width: 600px;
    margin-left: auto;
    font-size: 1.1rem;
    /* Increased */
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background-color: var(--color-dark-brown);
    color: var(--color-accent);
    padding: 2.5rem;
    border-radius: 2.5rem;
    /* Increased rounding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 420px;
    position: relative;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-name {
    font-family: var(--font-sans);
    font-size: 2.2rem;
    /* Increased */
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
}

.service-desc {
    font-size: 1.1rem;
    /* Increased */
    line-height: 1.6;
    color: rgba(212, 165, 116, 0.9);
    margin-bottom: auto;
    flex-grow: 1;
}

.service-btn {
    width: 5.5rem;
    height: 5.5rem;
    background-color: var(--color-accent);
    border: none;
    border-top-left-radius: 2rem;
    border-bottom-right-radius: 2.5rem;

    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 0;
    right: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: var(--color-dark-brown);
    z-index: 5;
}

/* Inverted Corner Effect - Top */
.service-btn::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: 0;
    width: 2rem;
    height: 2rem;
    border-bottom-right-radius: 50%;
    box-shadow: 0.5rem 0.5rem 0 0.5rem var(--color-accent);
    background: transparent;
    pointer-events: none;
}

/* Inverted Corner Effect - Left */
.service-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -2rem;
    width: 2rem;
    height: 2rem;
    border-bottom-right-radius: 50%;
    box-shadow: 0.5rem 0.5rem 0 0.5rem var(--color-accent);
    background: transparent;
    pointer-events: none;
}

.service-btn i {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: rotate(-45deg);
}

.service-btn:hover {
    background-color: #E5C9A0;
}

.service-btn:hover::before,
.service-btn:hover::after {
    box-shadow: 0.5rem 0.5rem 0 0.5rem #E5C9A0;
}

.service-btn:hover i {
    transform: rotate(0deg);
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-title {
        font-size: 2.5rem;
    }

    .services-desc {
        margin-left: 0;
    }

    .service-card {
        min-height: auto;
    }
}

/* Philosophy Section */
.philosophy {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 var(--padding-container);
    overflow: hidden;
}

.philosophy-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.philosophy-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.333);
    z-index: 2;
}

.philosophy-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.philosophy-quote {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.philosophy-author {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* Gallery Section */
.gallery {
    padding: 6rem var(--padding-container);
    background-color: var(--color-dark-brown);
    color: var(--color-white);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.gallery-title {
    font-family: var(--font-sans);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.5;
}

.view-all-btn {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--color-white);
    padding-bottom: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.gallery-item {
    display: flex;
    flex-direction: column;
}

.gallery-img-wrapper {
    position: relative;
    border-radius: 2rem;
    /* Increased rounding */
    overflow: hidden;
    margin-bottom: 1.5rem;
    aspect-ratio: 3/4;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--color-white);
    transform: rotate(-45deg);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-name {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.gallery-desc {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Process Section */
.process {
    padding: 8rem var(--padding-container);
    background-color: var(--color-white);
    color: var(--color-dark-brown);
}

.process-header {
    margin-bottom: 5rem;
}

.process .section-label {
    color: var(--color-dark-brown);
    display: block;
    margin-bottom: 2rem;
}

.process-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.5;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.process-step {
    position: relative;
    padding-top: 2rem;
}

.step-icon {
    font-size: 4rem;
    color: var(--color-accent);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.step-title {
    font-family: var(--font-sans);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark-brown);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .step-title {
        font-size: 1.4rem;
    }

    .step-icon {
        font-size: 3rem;
    }
}

.step-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
}

/* Testimonials Section */
.testimonials {
    padding: 8rem var(--padding-container);
    background-color: var(--color-accent);
    color: var(--color-dark-brown);
}

.testimonials-header {
    margin-bottom: 4rem;
}

.testimonials .section-label {
    color: var(--color-dark-brown);
    display: block;
    margin-bottom: 2rem;
}

.testimonials-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.testimonial-card {
    background-color: var(--color-dark-brown);
    color: var(--color-accent);
    padding: 3rem;
    border-radius: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-stars {
    display: flex;
    gap: 0.3rem;
    font-size: 3rem;
    color: var(--color-accent);
    justify-content: start;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.6;
    font-style: normal;
    font-family: var(--font-sans);
    flex-grow: 1;
}

.author-name {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.author-location {
    font-size: 1.1rem;
    opacity: 0.7;
}

/* CTA Section */
.cta {
    padding: 8rem var(--padding-container);
    background-color: var(--color-dark-brown);
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-sans);
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--color-accent);
}

.cta-desc {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    color: var(--color-text-light);
}

.cta-button {
    display: inline-block;
    padding: 1.5rem 4rem;
    background-color: var(--color-accent);
    color: var(--color-dark-brown);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}


.cta-button:hover {
    background-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(219, 246, 120, 0.5);
}

/* Responsive adjustments for new sections */
@media (max-width: 900px) {
    body {
        font-size: 18px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .process-title,
    .testimonials-title,
    .cta-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {

    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    background-color: #000000;
    /* Darker shade */
    color: var(--color-white);
    padding: 4rem var(--padding-container) 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Additional Mobile Responsiveness */
@media (max-width: 768px) {
    .service-name {
        font-size: 1.6rem !important;
    }

    .service-desc {
        font-size: 1rem !important;
    }

    .philosophy-quote {
        font-size: 1.8rem !important;
    }

    .gallery-title {
        font-size: 2rem !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .process-title {
        font-size: 2rem !important;
    }

    .testimonials-title {
        font-size: 2rem !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 1.1rem !important;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .cta-title {
        font-size: 2.5rem !important;
    }

    .cta-desc {
        font-size: 1.2rem !important;
    }

    .cta-button {
        font-size: 1.1rem !important;
        padding: 1.2rem 3rem !important;
    }
}