/* === VARIABLES === */
:root {
    --primary-color: #ffeef0; /* Very soft light pink */
    --accent-color: #dfaeb4; /* Muted aesthetic pink */
    --accent-hover: #c48a91; /* Darker pink for hover states */
    --text-dark: #4a4a4a; /* Dark gray for elegant contrast */
    --text-light: #7a7a7a; /* Medium gray for secondary text */
    --bg-white: #ffffff;
    --bg-light: #fdfafb; /* Pastel off-white background */
    --shadow-color: rgba(223, 174, 180, 0.15); /* Pink tinted shadow */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease-in-out;
}

/* Arabic Typography & RTL support */
html[lang="ar"] {
    --font-heading: 'Amiri', serif;
    --font-body: 'Amiri', serif;
    direction: rtl;
}

/* === RESET & UTILITIES === */
html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

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

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 20px auto 40px;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px var(--shadow-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px var(--shadow-color);
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    padding: 20px 0;
}

.navbar.scrolled {
    padding: 12px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent-hover);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--accent-hover);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

html[lang="ar"] .nav-link {
    text-transform: none;
    letter-spacing: normal;
}

.lang-switch-btn {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-hover);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.lang-switch-btn:hover {
    background-color: var(--accent-color);
    color: white;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    min-height: 650px;
    background: url('jpg/hero.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft white/pink gradient overlay */
    background: linear-gradient(135deg, rgba(255, 240, 243, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%);
}

html[lang="ar"] .hero-overlay {
    background: linear-gradient(-135deg, rgba(255, 240, 243, 0.92) 0%, rgba(255, 255, 255, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    padding-top: 60px;
}

.hero-title {
    font-size: 4.5rem;
    color: var(--accent-hover);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-tagline {
    font-size: 1.6rem;
    font-weight: 300;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 35px;
}

.hero-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-address {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-dark);
}

.hero-address i {
    color: var(--accent-hover);
    font-size: 1.3rem;
}

/* === SERVICES SECTION === */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    border: 1px solid rgba(223, 174, 180, 0.15);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px var(--shadow-color);
}

.service-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-content {
    padding: 35px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--accent-hover);
}

.service-desc {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.service-detail {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: auto;
}

/* === CONTACT SECTION === */
.contact-content {
    display: flex;
    justify-content: space-between;
    background: var(--bg-white);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.04);
    border: 1px solid rgba(223, 174, 180, 0.1);
}

.contact-info {
    flex: 1.2;
    padding-right: 40px;
}

html[lang="ar"] .contact-info {
    padding-right: 0;
    padding-left: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-hover);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.info-item:hover .icon {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
}

.info-item h4 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.social-media {
    flex: 0.8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 1px solid rgba(0,0,0,0.06);
    padding-left: 50px;
}

html[lang="ar"] .social-media {
    border-left: none;
    border-right: 1px solid rgba(0,0,0,0.06);
    padding-left: 0;
    padding-right: 50px;
}

.social-media h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: var(--accent-hover);
}

.social-icons {
    display: flex;
    gap: 25px;
}

.social-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--accent-hover);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.social-icon:hover {
    transform: translateY(-6px);
    color: white;
    box-shadow: 0 10px 25px var(--shadow-color);
}

.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-icon.tiktok:hover { background: #000000; border-color: #000000; }

/* === FOOTER === */
footer {
    background: #faf7f7;
    color: var(--text-light);
    text-align: center;
    padding: 35px 0;
    border-top: 1px solid rgba(223, 174, 180, 0.2);
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        padding: 40px;
    }
    
    .contact-info {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    html[lang="ar"] .contact-info {
        padding-left: 0;
    }
    
    .social-media {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(0,0,0,0.06);
        padding-top: 40px;
    }
    
    html[lang="ar"] .social-media {
        border-right: none;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px 0;
        gap: 25px;
        box-shadow: 0 15px 20px rgba(0,0,0,0.05);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.4s ease-in-out;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    
    html[lang="ar"] .nav-links {
        left: auto;
        right: 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-tagline {
        font-size: 1.3rem;
    }
    
    .hero-address {
        flex-direction: column;
        gap: 5px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}
