@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Cairo:wght@300;400;600;700&family=Tajawal:wght@300;400;600;700&family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

html {
    direction: rtl;
}

body {
    background-color: #000000;
    font-family: 'Cairo', sans-serif;
    color: #C7A764;
    direction: rtl;
    text-align: right;
    padding-top: 70px;
}

/* Navbar */
nav {
    background-color: #000000;
    padding: 20px 40px;
    border-bottom: 2px solid #C7A764;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-direction: row-reverse;
}

nav ul li {
    color: #C7A764;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

nav ul li:hover {
    color: #E2C88C;
}

/* Navbar Links */
nav ul li a {
    color: #C7A764;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    color: #E2C88C;
    background: rgba(199, 167, 100, 0.1);
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}




/* Mobile Navbar Responsive */
@media (max-width: 768px) {
    nav {
        padding: 16px 20px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 14px;
        padding: 6px 10px;
    }
}

@media (max-width: 576px) {
    nav {
        padding: 12px 16px;
    }

    nav ul {
        gap: 12px;
        flex-direction: row-reverse;
        flex-wrap: wrap;
    }

    nav ul li {
        font-size: 13px;
    }

    nav ul li a {
        font-size: 13px;
        padding: 5px 8px;
    }

    nav ul li a:hover {
        background: rgba(199, 167, 100, 0.15);
    }
}

@media (max-width: 380px) {
    nav {
        padding: 10px 12px;
    }

    nav ul {
        gap: 8px;
    }

    nav ul li {
        font-size: 12px;
    }

    nav ul li a {
        font-size: 12px;
        padding: 4px 6px;
    }
}


/* Header */
header {
    background-color: #000000;
    padding: 60px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

header img {
    max-width: 230px;
    height: auto;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: #C7A764;
    letter-spacing: 2px;
}

.first_p {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    color: #E2C88C;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
}

.second_p {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    color: #C7A764;
    max-width: 700px;
    line-height: 2;
    font-weight: 400;
}

/* Button */
.booking_button {
    background-color: #000000;
    color: #C7A764;
    border: 2px solid #C7A764;
    padding: 15px 40px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    border-radius: 4px;
}

.booking_button:hover {
    background-color: #C7A764;
    color: #000000;
    transform: translateY(-2px);
}

.main-section {
    width: 100%;
    height: 2px;
    background-color: #9E814F;
    margin: 20px 0;
}

/* About Section */
.about {
    background-color: #000000;
    padding: 100px 40px;
    border-top: 2px solid #9E814F;
    border-bottom: 2px solid #9E814F;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about h2 {
    font-size: 48px;
    font-weight: 700;
    color: #C7A764;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, transparent, #C7A764, #E2C88C, #C7A764, transparent);
    margin: 0 auto;
}

.about-intro {
    font-family: 'Amiri', serif;
    font-size: 24px;
    color: #E2C88C;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: right;
}

.about-card {
    background-color: rgba(199, 167, 100, 0.05);
    border: 1px solid #9E814F;
    border-right: 3px solid #C7A764;
    padding: 40px;
    border-radius: 4px;
    transition: all 0.4s ease;
    position: relative;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: rgba(199, 167, 100, 0.08);
    border-radius: 4px;
    transition: width 0.4s ease;
    z-index: 0;
}

.about-card:hover {
    border-right: 3px solid #E2C88C;
    transform: translateY(-5px);
}

.about-card:hover::before {
    width: 100%;
}

.about-card p {
    font-family: 'Amiri', serif;
    font-size: 17px;
    color: #C7A764;
    line-height: 2;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.about-card .highlight {
    color: #E2C88C;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

/* Responsive */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about h2 {
        font-size: 36px;
    }

    .about-intro {
        font-size: 20px;
    }

    .about-card {
        padding: 30px;
    }

    .about-card p {
        font-size: 16px;
    }
}


/* Services Section (use raster images from img/services/) */
.services {
    background-color: #000000;
    padding: 80px 24px;
    border-bottom: 2px solid #9E814F;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-header {
    text-align: center;
    margin-bottom: 48px;
}

.services-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #C7A764;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.services-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, #C7A764, #E2C88C, #C7A764, transparent);
    margin: 0 auto 28px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: center;
    align-items: start;
}

.service-item {
    background-color: rgba(199,167,100,0.03);
    border: 1px solid rgba(199,167,100,0.06);
    padding: 22px 16px;
    border-radius: 10px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    cursor: default;
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(199,167,100,0.06);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(199,167,100,0.02);
    border: 1px solid rgba(199,167,100,0.08);
}

/* Use filter to shift raster images toward the gold palette.
   Best results with fairly neutral/monochrome source images. */
.service-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: grayscale(1) sepia(0.4) saturate(2) hue-rotate(10deg) brightness(0.95) contrast(0.95);
    transition: filter 0.25s ease, transform 0.25s ease;
    display: block;
}

.service-item:hover .service-img {
    transform: scale(1.08);
    filter: grayscale(0.1) sepia(0.6) saturate(3) hue-rotate(10deg) brightness(1.05) contrast(1);
}

.service-item h3 {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #C7A764;
    margin-top: 6px;
}

/* Responsive */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .service-icon {
        width: 64px;
        height: 64px;
    }

    .services-header h2 {
        font-size: 32px;
    }
}


/* Core Services (الخدمات الرئيسية) */
.core-services {
    background-color: #000000;
    padding: 100px 24px;
    border-top: 2px solid #9E814F;
    border-bottom: 2px solid #9E814F;
}

.core-container {
    max-width: 1200px;
    margin: 0 auto;
}

.core-header {
    text-align: center;
    margin-bottom: 50px;
}

.core-header h2 {
    font-size: 42px;
    color: #C7A764;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 700;
}

.core-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, #C7A764, #E2C88C, #C7A764, transparent);
    margin: 0 auto;
}

.core-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.core-card {
    background: linear-gradient(135deg, rgba(199,167,100,0.03) 0%, rgba(199,167,100,0.01) 100%);
    border: 1px solid rgba(199,167,100,0.08);
    padding: 32px 24px;
    border-radius: 12px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: right;
    overflow: hidden;
}

.core-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #C7A764, #E2C88C);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s ease;
}

.core-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, rgba(199,167,100,0.06) 0%, rgba(199,167,100,0.03) 100%);
    border-color: rgba(199,167,100,0.15);
    box-shadow: 0 16px 40px rgba(199,167,100,0.08);
}

.core-card:hover::before {
    transform: scaleX(1);
}

.core-card h4 {
    font-family: 'Tajawal', sans-serif;
    font-size: 20px;
    color: #C7A764;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.core-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #C7A764;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    line-height: 2;
}

.core-list li {
    position: relative;
    padding-right: 18px;
    padding-bottom: 8px;
    transition: color 0.25s ease;
}

.core-list li:last-child {
    padding-bottom: 0;
}

.core-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: #C7A764;
    border-radius: 50%;
    transition: all 0.25s ease;
}

.core-card:hover .core-list li {
    color: #E2C88C;
}

.core-card:hover .core-list li::before {
    background: #E2C88C;
    box-shadow: 0 0 8px rgba(226, 200, 140, 0.3);
}

/* Responsive */
@media (max-width: 992px) {
    .core-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .core-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 576px) {
    .core-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .core-header h2 {
        font-size: 28px;
    }

    .core-card {
        padding: 24px 18px;
    }

    .core-card h4 {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .core-list {
        font-size: 14px;
        line-height: 1.8;
    }
}



/* Why Kemet & Contact Section */
.why-kemet {
    background-color: #000000;
    padding: 80px 24px;
    border-top: 2px solid #9E814F;
    border-bottom: 2px solid #9E814F;
}

.why-kemet-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Why Kemet Content */
.why-kemet-content {
    text-align: right;
}

.why-kemet-content h2 {
    font-size: 40px;
    font-weight: 700;
    color: #C7A764;
    letter-spacing: 1px;
    margin-bottom: 16px;
}



.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.why-list li {
    font-family: 'Cairo', sans-serif;
    font-size: 17px;
    color: #C7A764;
    margin-bottom: 18px;
    padding-right: 20px;
    position: relative;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.why-list li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #E2C88C;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(226, 200, 140, 0.2);
    transition: all 0.3s ease;
}

.why-list li:hover {
    color: #E2C88C;
    padding-right: 28px;
}

.why-list li:hover::before {
    background: #C7A764;
    box-shadow: 0 0 8px rgba(199, 167, 100, 0.4);
}

/* Contact Content */
.contact-content {
    background: linear-gradient(135deg, rgba(199,167,100,0.04) 0%, rgba(158,129,79,0.02) 100%);
    border: 1px solid rgba(199,167,100,0.1);
    border-right: 3px solid #C7A764;
    padding: 40px 32px;
    border-radius: 14px;
    text-align: right;
}

.contact-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #C7A764;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.contact-divider {
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #C7A764, #E2C88C);
    margin-bottom: 28px;
    margin-right: auto;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(199,167,100,0.05);
    border: 1px solid rgba(199,167,100,0.08);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(226,200,140,0.08);
    border-color: rgba(226,200,140,0.15);
    transform: translateX(-6px);
}

.contact-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(199,167,100,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: rgba(226,200,140,0.15);
    transform: scale(1.1);
}

.contact-text {
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #C7A764;
    transition: color 0.3s ease;
    direction: ltr;
    text-align: left;
}

.contact-item:hover .contact-text {
    color: #E2C88C;
}

.contact-cta {
    background: linear-gradient(135deg, #C7A764, #E2C88C);
    color: #000000;
    border: none;
    padding: 16px 24px;
    font-family: 'Cairo', sans-serif;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.contact-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(199, 167, 100, 0.3);
}

.contact-cta:active {
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 992px) {
    .why-kemet-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-kemet-content h2 {
        font-size: 36px;
    }

    .contact-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .why-kemet {
        padding: 60px 16px;
    }

    .why-kemet-container {
        gap: 30px;
    }

    .why-kemet-content h2 {
        font-size: 28px;
    }

    .why-list li {
        font-size: 15px;
        margin-bottom: 14px;
    }

    .contact-content {
        padding: 28px 20px;
    }

    .contact-content h3 {
        font-size: 24px;
    }

    .contact-item {
        padding: 12px 14px;
    }

    .contact-text {
        font-size: 14px;
    }

    .contact-cta {
        padding: 14px 20px;
        font-size: 14px;
    }
}



/* Footer - cleaned & RTL-friendly */
.footer {
    background-color: #000000;
    border-top: 2px solid #9E814F;
    padding: 60px 24px 30px;
    direction: rtl;
    color: #C7A764;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Main columns: center content, responsive */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
    text-align: center;
    align-items: start;
}

/* Each section */
.footer-section {
    text-align: center;
}

/* Section titles */
.footer-section h5 {
    font-size: 18px;
    font-weight: 700;
    color: #C7A764;
    margin-bottom: 12px;
}

/* Paragraphs */
.footer-section p {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #C7A764;
    line-height: 1.9;
    margin: 0;
    text-align: center;
}

/* Links lists */
.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

/* Footer links - centered but keep RTL layout */
.footer-links li a {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #C7A764;
    text-decoration: none;
    transition: color 0.25s ease;
    display: inline-block;
    padding: 4px 6px;
}

.footer-links li a:hover {
    color: #E2C88C;
}

/* Contact numbers: show naturally (LTR) */
.footer-contact li a {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    color: #C7A764;
    text-decoration: none;
    transition: color 0.25s ease;
    display: inline-block;
    direction: ltr;
    text-align: left;
    padding-left: 6px;
}

.footer-contact li a:hover {
    color: #E2C88C;
}

/* Social icons centered */
.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(199, 167, 100, 0.08);
    border: 1px solid rgba(199, 167, 100, 0.18);
    border-radius: 50%;
    color: #C7A764;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.25s ease;
}

.social-icon:hover {
    background: #C7A764;
    color: #000;
    transform: translateY(-3px);
}

/* Divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #9E814F, transparent);
    margin: 28px 0;
}

/* Bottom area: stacked and centered */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-copyright,
.footer-developer {
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    margin: 0;
    color: #9E814F;
}

/* Developer link styling */
.developer-link {
    text-decoration: none;
}

.developer-link span {
    color: #E2C88C;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 40px 16px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-section h5 {
        font-size: 16px;
    }

    .footer-section p,
    .footer-links li a,
    .footer-contact li a {
        font-size: 13px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 11px;
    }

    .footer-divider {
        margin: 20px 0;
    }
}

