* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #F7F4EF;
    color: #3B2E25;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background 0.4s ease, color 0.4s ease;
}

main {
    flex: 1;
}

/* ================= NAV ================= */
header {
    padding: 15px 30px;
    background: #EADCCB;
    transition: background 0.4s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav a {
    text-decoration: none;
    margin-left: 15px;
    color: #3B2E25;
    font-weight: bold;
    transition: 0.3s;
}

.nav a:hover {
    color: #D4AF37;
}

button {
    border: none;
    background: #D4AF37;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #B8962E;
    transform: scale(1.05);
}

/* ================= HERO (مُوَحَّد) ================= */
.hero {
    text-align: center;
    padding: 100px 20px;
    animation: fadeUp 1.2s ease;
    width: 100%;
    box-sizing: border-box;

    /* التوسيط باستخدام flex */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* تنسيق MEEM الاستثنائي */
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(85px, 18vw, 150px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 25px;
    margin: 0;
    padding: 0;
    line-height: 1.05;
    display: inline-block;

    /* تدرج ذهبي */
    background: linear-gradient(to right, #D4AF37, #E6C76A, #B8962E, #D4AF37);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* حركات الظهور واللمعان */
    animation: shineText 3s linear infinite, revealHero 1.5s ease-out;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* حركة اللمعان السائل */
@keyframes shineText {
    to { background-position: 200% center; }
}

/* حركة الظهور عند فتح الصفحة */
@keyframes revealHero {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); filter: blur(15px); }
    100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

/* توسع وتوهج عند التحويم */
.hero h1:hover {
    letter-spacing: 35px;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
}

/* باقي عناصر الهيرو */
.hero h3 {
    font-weight: 300;
    margin-top: 10px;
}

.tagline {
    margin-top: 20px;
    font-size: 20px;
    opacity: 0.8;
}

.mainBtn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 35px;
    background: #D4AF37;
    color: white;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}

.mainBtn:hover {
    transform: translateY(-5px);
    background: #B8962E;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* ================= CARDS & FEATURES ================= */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 50px 20px;
}

.card {
    background: #EADCCB;
    padding: 25px;
    border-radius: 20px;
    width: 250px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.4s ease;
    color: #3B2E25;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ================= EXAMPLES ================= */
.examples {
    text-align: center;
    padding: 50px 20px;
}

.examples-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.example-card {
    width: 220px;
}

.example-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #E6C76A;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: 0.4s ease;
}

.example-card img:hover {
    transform: scale(1.08) rotate(3deg);
}

.example-card h4 {
    margin-top: 15px;
    font-size: 18px;
    color: #D4AF37;
}
/* ================= ABOUT PAGE ================= */
.about {
    padding: 50px 20px;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.about h1 {
    color: #D4AF37;
    margin-bottom: 20px;
}

.about p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* ================= SOCIAL ICONS ================= */
.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: white;
    color: #E6C76A;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s ease;
}

.icon:hover {
    transform: translateY(-8px) scale(1.1);
    color: white;
}

.icon.whatsapp:hover { background: #25d366; }
.icon.nstagram:hover { background: #e1306c; }
.icon.tiktok:hover { background: #000; }
.icon.snapchat:hover { background: #fffc00; color: #000; }
.icon.facebook:hover { background: #1877f2; }

/* ================= MAP SECTION ================= */
.map-section {
    margin-top: 50px;
}

.map-section h3 {
    color: #D4AF37;
    margin-bottom: 20px;
}

.map-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* ================= DARK MODE ================= */
.dark {
    background: #1F1A17;
    color: #F5EFE6;
}

.dark header {
    background: #3A2E26;
}

.dark .hero h1,
.dark .about h1,
.dark .map-section h3,
.dark .example-card h4 {
    color: #D4AF37;  /* لون احتياطي، لكن التدرج سيطبق */
}

.dark .hero h1 {
    /* تدرج الوضع الداكن */
    background: linear-gradient(to right, #D4AF37, #F5EFE6, #F0C75E, #D4AF37);
    background-size: 200% auto;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
}

.dark .nav a {
    color: #F5EFE6;
}

.dark .card,
.dark .icon {
    background: #3A2E26;
    color: #CBB89D;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.dark .icon:hover {
    color: white;
}

.dark .mainBtn,
.dark button {
    background: #D4AF37;
}

.dark .mainBtn:hover,
.dark button:hover {
    background: #F0C75E;
}

.dark .map-container iframe {
    filter: sepia(50%) contrast(90%) brightness(80%);
    opacity: 0.8;
}

/* ================= FOOTER ================= */
footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    opacity: 0.6;
    font-size: 14px;
}

/* ================= RESPONSIVE (مُوَحَّد) ================= */
@media (max-width: 768px) {
    .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(90px, 18vw, 250px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: clamp(10px, 2vw, 25px);
    margin: 0;
    padding: 0;
    line-height: 1.05;
    display: inline-block;
    background: linear-gradient(to right, #D4AF37, #E6C76A, #B8962E, #D4AF37);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 3s linear infinite, revealHero 1.5s ease-out;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1:hover {
    letter-spacing: clamp(15px, 3vw, 35px);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
}

    .features {
        flex-direction: column;
        align-items: center;
    }

    .about p {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 60px 20px;  /* تقليل padding للشاشات الصغيرة */
    }

    .h.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(90px, 18vw, 250px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: clamp(10px, 2vw, 25px);
    margin: 0;
    padding: 0;
    line-height: 1.05;
    display: inline-block;
    background: linear-gradient(to right, #D4AF37, #E6C76A, #B8962E, #D4AF37);
    background-size: 200% auto;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 3s linear infinite, revealHero 1.5s ease-out;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    transition: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero h1:hover {
    letter-spacing: clamp(15px, 3vw, 35px);
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.8));
}

    .example-card {
        width: 140px;
    }

    .example-card img {
        height: 140px;
    }

    .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .about p {
        font-size: 16px;
    }
}