/*
 * Rawan Beauty House - Main Stylesheet
 * Version: 3.0 (Cleaned & Renewed)
 * Date: 2025-11-16
 */


/* --- 1. Root Variables (Color Palette & Fonts) --- */
:root {
    /* Color Palette (Brown/Gold/Beige) */
    --color-bg: #fdfaf6;            /* خلفية بيج كريمي (دافئ) */
    --color-white: #ffffff;
    --color-brown-dark: #4a2c2a;    /* بني داكن (للعناوين والنصوص) */
    --color-brown-medium: #6c584c;  /* بني متوسط (للنصوص الفرعية) */
    --color-gold: #b08d57;          /* ذهبي/بني فاتح (للأزرار والروابط) */
    --color-gold-hover: #9c7b4a;    /* ذهبي أغمق (للـ hover) */
    --color-beige-medium: #e0daca;  /* بيج متوسط (للحدود) */
    --color-beige-light: #f5f0e9;   /* بيج فاتح (لخلفيات الأقسام) */

    /* Functional Colors */
    --color-error: #e63946;         /* أحمر للخطأ */
    --color-success: #2a9d8f;       /* أخضر للنجاح */

    /* Fonts */
    --font-display: 'Playfair Display', serif; /* للعناوين والفخامة */
    --font-primary: 'Inter', sans-serif;       /* للنصوص والوضوح */

    /* Sizing & Effects */
    --border-radius: 8px;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* --- 2. Global Styles (Body, Headings, Links) --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-brown-medium); /* النص الافتراضي */
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--color-brown-dark);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.75rem; } /* 44px */
h2 { font-size: 2.25rem; } /* 36px */
h3 { font-size: 1.5rem; }  /* 24px */
h4 { font-size: 1.25rem; } /* 20px */

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem; /* 16px (Padding للموبايل) */
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem; /* 24px (Padding للديسكتوب) */
    }
}

/* --- 3. Main Layout (Header, Main, Footer) --- */

/* --- Header / Navbar --- */
.header {
    background-color: var(--color-white);
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem; /* 28px */
    font-weight: 700;
    color: var(--color-brown-dark);
}
.logo:hover {
    color: var(--color-brown-dark);
}

.nav-links-desktop {
    display: none; /* (Mobile First) */
}

@media (min-width: 992px) {
    .nav-links-desktop {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-brown-medium);
    padding: 0.5rem 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.nav-link.active {
    color: var(--color-brown-dark);
    font-weight: 600;
    border-bottom-color: var(--color-gold);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-cart-btn {
    position: relative;
    color: var(--color-brown-dark);
    padding: 0.5rem;
    transition: color 0.3s ease;
}
.nav-cart-btn:hover {
    color: var(--color-gold);
}

#cart-item-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-size: 0.75rem; /* 12px */
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

#mobile-menu-button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-brown-dark);
    padding: 0.5rem;
}

@media (min-width: 992px) {
    #mobile-menu-button {
        display: none;
    }
}

#mobile-menu {
    /* (Alpine.js يتحكم بالـ display) */
    background-color: var(--color-white);
    box-shadow: var(--shadow-medium);
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    border-top: 1px solid var(--color-beige-light);
}

.nav-link-mobile {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-brown-medium);
    font-weight: 500;
    border-bottom: 1px solid var(--color-beige-light);
}
.nav-link-mobile:last-child {
    border-bottom: none;
}
.nav-link-mobile:hover {
    background-color: var(--color-beige-light);
}
.nav-link-mobile.active {
    background-color: var(--color-beige-light);
    color: var(--color-gold);
    font-weight: 600;
}

/* --- Main Content --- */
.main-content {
    /* [تعديل] كل صفحة تحدد الـ padding الخاص بها */
    /* (app.blade.php لا يحتوي على .container) */
    min-height: 70vh;
}

.page-section {
    /* هذا هو الـ padding الافتراضي للصفحات */
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .page-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* --- Global Footer Styles (Updated for Readability) --- */
.footer {
    background-color: #2c1e1a;
    color: #e6e6e6; /* لون أفتح قليلاً للقراءة */
    padding-top: 4rem;
    margin-top: 5rem;
    border-top: 3px solid #c0a172;
    /* إلغاء تحديد خط خاص، ليأخذ خط الموقع الأساسي */
    font-family: inherit;
    font-size: 0.9rem; /* حجم خط أساسي أكبر */
}

/* --- Grid System --- */
.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.9fr 1.7fr 1.1fr 1.1fr;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- Column Headings --- */
.footer-title {
    /* استخدام خط الموقع الطبيعي */
    font-family: inherit;
    color: #fff;
    font-size: 1.4rem; /* تكبير العنوان */
    font-weight: 700; /* عريض واضح */
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 45px;
    height: 3px; /* خط أسمك قليلاً */
    background-color: #c0a172;
}

/* --- Column 1: About & Location --- */
.footer-text {
    font-size: 1rem; /* خط أكبر */
    color: #ccc;
    line-height: 1.8; /* تباعد أسطر مريح */
    margin-bottom: 1.2rem;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c0a172;
    font-size: 1.1rem; /* تكبير النص */
    font-weight: 600;
    margin-bottom: 15px;
}

.location-row svg {
    flex-shrink: 0;
}

.address-text {
    padding-top: 2px;
}

.map-container {
    width: 100%;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}
.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0%); /* إلغاء الفلتر لتكون الخريطة واضحة */
}

/* --- Column 2: Links --- */
.footer-menu {
    list-style: none;
    padding: 0;
}
.footer-menu li {
    margin-bottom: 14px; /* مسافة أكبر بين الروابط */
}
.footer-menu a {
    color: #ddd;
    text-decoration: none;
    font-size: 1.05rem; /* تكبير الروابط */
    transition: all 0.3s ease;
    display: inline-block;
}
.footer-menu a:hover {
    color: #c0a172;
    padding-right: 5px; /* حركة لليمين بدل الـ transform */
}

/* --- Column 3: Contact --- */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px; /* تكبير الحشوة */
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem; /* تكبير الخط */
    transition: all 0.3s;
    background: rgba(255,255,255,0.02);
}

.contact-item svg {
    color: #c0a172;
    width: 20px;
    height: 20px;
}

.contact-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: #c0a172;
}

.contact-item.whatsapp:hover {
    border-color: #25D366;
}
.contact-item.whatsapp:hover svg {
    color: #25D366;
}

/* Working Hours */
.hours-box {
    font-size: 0.95rem; /* تكبير الخط */
    color: #bbb;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
    margin-top: 15px;
}
.hours-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}
.hours-header svg {
    color: #c0a172;
}
.hours-box .h-value {
    display: block;
    margin-bottom: 5px;
    color: #eee;
    padding-right: 28px;
}
.hours-box .h-note {
    display: block;
    color: #999;
    padding-right: 28px;
    font-size: 0.9rem;
}

/* --- Column 4: Social --- */
.social-section {
    margin-bottom: 1.8rem;
}
.mt-3 { margin-top: 1.8rem; }

.social-head {
    display: block;
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 12px;
    font-weight: 600;
}

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

.social-icons a {
    width: 42px; /* أيقونات أكبر قليلاً */
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #c0a172;
    transform: translateY(-3px);
}

/* --- Footer Bottom --- */
.footer-bottom {
    text-align: center;
    padding: 30px 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-bottom .copyright {
    font-size: 0.95rem; /* تكبير */
    color: #bbb;
    margin: 0;
}

.footer-bottom .credits {
    font-size: 0.9rem; /* تكبير */
    color: #999;
    margin: 0;
}

.footer-bottom .dev-name {
    color: #c0a172;
    font-weight: bold;
    font-family: inherit; /* نفس خط الموقع */
}

/* --- 4. Re-usable Components (Buttons, Forms, Cards) --- */

/* --- Buttons --- */
.btn {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    padding: 0.85rem 1.75rem; /* 14px 28px */
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-size: 1rem; /* 16px */
    line-height: 1.5;

    /* (لضمان ظهور الأيقونات داخل الأزرار) */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: var(--shadow-light);
}
.btn-primary:hover {
    background-color: var(--color-gold-hover);
    border-color: var(--color-gold-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background-color: var(--color-brown-dark);
    border-color: var(--color-brown-dark);
    color: var(--color-white);
}
.btn-secondary:hover {
    background-color: var(--color-brown-medium);
    border-color: var(--color-brown-medium);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-gold);
    color: var(--color-gold);
}
.btn-outline:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-full {
    width: 100%;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-brown-dark);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--color-beige-medium);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    background-color: var(--color-white);
    color: var(--color-brown-dark);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-beige-medium);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    cursor: pointer;
}
.form-check:hover {
    border-color: var(--color-gold);
}
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    accent-color: var(--color-gold);
}
.form-check label {
    margin-bottom: 0;
    font-weight: 500;
    cursor: pointer;
}


/* --- 5. Page: Store (Product Grid & Filters) --- */

.store-header {
    text-align: center;
    padding: 2rem 1rem 3rem 1rem;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-bottom: 3rem;
}
.store-header h1 {
    font-size: 2.5rem;
}

.store-layout {
    display: grid;
    grid-template-columns: 1fr; /* (Mobile First) */
    gap: 2rem;
}

@media (min-width: 992px) {
    .store-layout {
        grid-template-columns: 280px 1fr; /* (Sidebar + Grid) */
        gap: 2.5rem;
    }
}

.store-sidebar {
    position: sticky;
    top: 100px; /* 80px (header) + 20px (gap) */
    align-self: start;
}

.sidebar-widget {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}
.sidebar-widget h4 {
    font-size: 1.25rem;
    border-bottom: 2px solid var(--color-beige-medium);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.category-list {
    list-style: none;
}
.category-list li {
    margin-bottom: 0.5rem;
}
.category-list a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--color-brown-medium);
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.category-list a:hover {
    background-color: var(--color-beige-light);
    color: var(--color-gold);
}
.category-list a.active {
    background-color: var(--color-beige-light);
    color: var(--color-gold);
    font-weight: 600;
}

/* --- Product Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 للموبايل */
    gap: 1rem;
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* --- Product Card (v2) --- */
.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.product-card-image {
    position: relative; /* (لوضع الزر) */
    width: 100%;
    padding-top: 100%; /* (لجعل الصورة مربعة) */
    overflow: hidden;
}
.product-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.product-add-btn {
    position: absolute;
    bottom: -50px; /* (مخفي افتراضياً) */
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--color-brown-dark);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover .product-add-btn {
    bottom: 15px; /* (إظهار عند الـ hover) */
}

.product-add-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.product-card-content {
    padding: 1.25rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card-title {
    font-size: 1.1rem;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--color-brown-dark);
    margin-bottom: 0.25rem;
}

.product-card-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gold);
}


/* --- 6. Page: Cart --- */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr; /* (Mobile First) */
    gap: 2rem;
}

@media (min-width: 992px) {
    .checkout-layout {
        grid-template-columns: 2fr 1fr;
        gap: 2.5rem;
    }
}

.cart-items {
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow-x: auto; /* (لجدول الموبايل) */
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* (للموبايل) */
}
.cart-table th,
.cart-table td {
    padding: 1rem;
    text-align: right;
    border-bottom: 1px solid var(--color-beige-light);
}
.cart-table th {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-brown-medium);
    text-transform: uppercase;
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-product img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
.cart-product-title {
    font-weight: 600;
    color: var(--color-brown-dark);
}

.cart-quantity-input {
    width: 70px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid var(--color-beige-medium);
    border-radius: var(--border-radius);
    font-weight: 600;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: var(--color-error);
    cursor: pointer;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.cart-remove-btn:hover {
    opacity: 1;
}

.cart-summary {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    align-self: start;
    position: sticky;
    top: 100px;
}
.cart-summary h3 {
    border-bottom: 2px solid var(--color-beige-medium);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-brown-dark);
    border-top: 1px solid var(--color-beige-medium);
    padding-top: 1rem;
}


/* --- 7. Page: Checkout --- */
/* (تستخدم نفس layout السلة) */
.checkout-form {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}
.checkout-form h3 {
    margin-top: 2rem;
    border-bottom: 2px solid var(--color-beige-medium);
    padding-bottom: 0.5rem;
}
.checkout-form small {
    font-size: 0.9rem;
    color: var(--color-brown-medium);
}

/* --- 8. Page: About (New Design) --- */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.about-intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow-medium);
}
@media (min-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }
}

.service-card { /* (Re-used from old design, good) */
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--color-gold);
}
.service-card .icon {
    color: var(--color-gold);
    margin-bottom: 1rem;
}
.service-card h3 {
    color: var(--color-brown-dark);
}

.section-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .section-grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- 9. Page: Order Success --- */
/* (تستخدم ستايلات inline، لكن يمكننا إضافة كلاس) */
.success-box {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}
.success-box-icon {
    color: var(--color-success);
    width: 80px;
    height: 80px;
    stroke-width: 1.5;
}


/* --- 10. New Homepage Design (v3) --- */

/* --- Helpers --- */
.section-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.section-title-v2 {
    font-size: 2rem;
    text-align: center;
    color: var(--color-brown-dark);
}
.section-subtitle-v2 {
    font-size: 1.1rem;
    text-align: center;
    max-width: 600px;
    margin: 0.5rem auto 2.5rem auto;
    color: var(--color-brown-medium);
}

/* --- Hero Slider (v3) --- */
.hero-slider {
    width: 100%;
    height: 90vh; /* ارتفاع 90% من الشاشة للموبايل */
    max-height: 600px; /* تحديد سقف للارتفاع */
    position: relative;
    overflow: hidden;
    background-color: var(--color-beige-medium);
    /* (إزالة الحواف الدائرية للموبايل ليكون ملء الشاشة) */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.2));
}
.slide-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    color: var(--color-white);
}
.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}
.slide-subtitle {
    font-size: 1rem;
    color: var(--color-beige-light);
    margin: 1rem auto 2rem auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
    max-width: 500px;
}
.slider-nav-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
}
.slider-nav-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slider-nav-dots button.active {
    background-color: var(--color-white);
    transform: scale(1.2);
}

/* --- Slider Transitions (Alpine) --- */
.slide-enter { transition: opacity 0.5s ease-in-out; }
.slide-enter-start { opacity: 0; }
.slide-enter-end { opacity: 1; }
.slide-leave { transition: opacity 0.5s ease-in-out; }
.slide-leave-start { opacity: 1; }
.slide-leave-end { opacity: 0; }

/* --- Home Pillars (Services/Store) --- */
.home-pillars-grid {
    display: grid;
    grid-template-columns: 1fr; /* (Mobile First) */
    gap: 2rem;
}
.pillar-card-v2 {
    display: block;
    text-decoration: none;
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all 0.3s ease;
}
.pillar-card-v2:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}
.pillar-image-v2 img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0;
}
.pillar-content-v2 {
    padding: 2rem;
}
.pillar-title-v2 {
    font-size: 1.75rem;
    color: var(--color-brown-dark);
}
.pillar-description-v2 {
    font-size: 1rem;
    color: var(--color-brown-medium);
    margin: 0.5rem 0 1.5rem 0;
}
.pillar-link-v2 {
    font-weight: 600;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}
.pillar-card-v2:hover .pillar-link-v2 {
    color: var(--color-brown-dark);
}

/* --- Home Featured Products (Grid v2) --- */
.home-products-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 للموبايل */
    gap: 1.5rem;
}

/* --- Home Intro (Simple) --- */
.home-intro-simple {
    display: grid;
    grid-template-columns: 1fr; /* (Mobile First) */
    gap: 2rem;
    align-items: center;
}
.home-intro-simple-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}
.home-intro-simple-content {
    text-align: center; /* (Mobile First) */
}
.home-intro-simple-content p {
    font-size: 1.1rem;
    color: var(--color-brown-medium);
    line-height: 1.8;
    max-width: 600px;
    margin: 1.5rem auto;
}

/* --- Testimonials Section --- */
.testimonials-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.testimonial-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    border-top: 4px solid var(--color-gold);
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-brown-medium);
    margin-bottom: 1.5rem;
    position: relative;
    padding-right: 2rem; /* (RTL) */
}
.testimonial-text::before {
    content: '”';
    position: absolute;
    top: -10px;
    right: -5px; /* (RTL) */
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-beige-medium);
    z-index: 1;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author span {
    font-weight: 600;
    color: var(--color-brown-dark);
}

/* --- 11. Toast Notification --- */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 0.75rem;

    transform: translateX(calc(100% + 2rem));
    transition: transform 0.4s ease-in-out;
}
.toast-notification.active {
    transform: translateX(0);
}

/* (أنواع التوست) */
#toast-notification.success {
    background-color: var(--color-success);
    color: var(--color-white);
}
#toast-notification.error {
    background-color: var(--color-error);
    color: var(--color-white);
}


/* --- 12. Media Queries (Desktop) --- */

@media (min-width: 768px) {
    /* (تعديلات التصميم الجديد للديسكتوب) */
    .section-container {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero-slider {
        /* (لجعله ليس ملء الشاشة على الديسكتوب) */
        max-height: 600px;
        border-radius: var(--border-radius);
        margin-top: 2rem;
    }

    .slide-content {
        bottom: auto;
        top: 50%;
        left: auto;
        right: 10%; /* (RTL) */
        transform: translateY(-50%);
        width: 45%;
        text-align: right; /* (RTL) */
    }
    .slide-title {
        font-size: 3.25rem;
    }
    .slide-subtitle {
        font-size: 1.1rem;
    }
    .slider-nav-dots {
        left: auto;
        right: 10%; /* (RTL) */
        bottom: 30px;
        transform: none;
    }

    .home-pillars-grid {
        grid-template-columns: 1fr 1fr; /* (Desktop) */
        gap: 2.5rem;
    }

    .home-products-grid-v2 {
        grid-template-columns: repeat(4, 1fr); /* 4 للديسكتوب */
    }

    .home-intro-simple {
        grid-template-columns: 1fr 1fr; /* (Desktop) */
        gap: 3rem;
    }
    .home-intro-simple-content {
        text-align: right; /* (Desktop) */
    }
    .home-intro-simple-content p {
        margin: 1.5rem 0;
    }

    .testimonials-section {
        grid-template-columns: repeat(3, 1fr); /* 3 أعمدة */
    }
}

