/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Roboto:wght@400;500&display=swap');

/* Reset بسيط */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* خلفية فخمة داكنة */
body {
    background: radial-gradient(circle at top, #1f2933 0%, #050012 45%, #000000 100%);
    font-family: 'Roboto', sans-serif;
    color: #e5e7eb;
    min-height: 100vh;
}

/* Helpers */
.text-gold {
    color: #D4AF37;
    font-family: 'Playfair Display', serif;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #f9fafb;
    letter-spacing: .04em;
}

/* صفحة تسجيل الدخول */
.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}
.login-card {
    background: rgba(15,23,42,0.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(212,175,55,0.45);
    padding: 2.4rem 2.1rem;
    border-radius: 22px;
    box-shadow: 0 26px 60px rgba(0,0,0,0.75);
    max-width: 380px;
    width: 100%;
}
.login-card h3 {
    font-family: 'Playfair Display', serif;
    color: #f9fafb;
    margin-bottom: 1.5rem;
    text-align: center;
}
.login-card input {
    background: rgba(15,23,42,0.95);
    border: 1px solid rgba(148,163,184,0.8);
    color: #f9fafb;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    margin-bottom: 0.9rem;
}
.login-card input::placeholder { color: #9ca3af; }
.login-card button {
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 0.7rem;
    font-weight: 600;
    color: #111827;
    background: linear-gradient(135deg,#f97316,#D4AF37);
    box-shadow: 0 18px 45px rgba(0,0,0,0.7);
}

/* لوحة الإدارة */
.admin-wrapper {
    max-width: 950px;
    margin: 3rem auto;
    padding: 0 1rem 3rem;
}
.admin-card {
    background: linear-gradient(145deg, rgba(15,23,42,0.98), rgba(3,7,18,0.98));
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,0.28);
    padding: 1.6rem 1.5rem 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.8);
}
.admin-card h4 {
    font-family: 'Playfair Display', serif;
    color: #f9fafb;
}
.form-control,
.form-select {
    background-color: rgba(15,23,42,0.95);
    border: 1px solid rgba(148,163,184,0.7);
    color: #e5e7eb;
}
.form-control::placeholder { color: #9ca3af; }
.btn-gradient {
    background: linear-gradient(135deg,#f97316,#D4AF37);
    border: none;
    color: #111827;
    font-weight: 600;
    border-radius: 999px;
}
.preview-thumb {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
}

/* كروت المنتجات في الشبكة */
.product-card {
    background: linear-gradient(150deg, rgba(15,23,42,0.96), rgba(0,0,0,0.98));
    border: 1px solid rgba(212,175,55,0.22);
    border-radius: 20px;
    padding: 1.3rem 1rem 1.4rem;
    text-align: center;
    box-shadow: 0 22px 55px rgba(0,0,0,0.85);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(0,0,0,0.95);
    border-color: rgba(212,175,55,0.55);
}
.product-card h5 {
    color: #f9fafb;
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}
.product-card p {
    margin-bottom: 0.6rem;
    color: #9ca3af;
}

/* حجم ومنظور صور المنتجات في الشبكة */
.product-card img {
    width: 100%;
    max-width: 260px;
    height: 340px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    margin: 0 auto 12px;
    box-shadow: 0 22px 65px rgba(0,0,0,0.9);
}
.product-card .btn {
    border-radius: 999px;
    padding: 0.45rem 1.4rem;
    font-size: 0.9rem;
}

/* سلايدر الهيرو (مثل الصورة التي أرسلتها) */
.hero-section {
    padding-top: 2.5rem;
}
.swiper {
    width: 100%;
    height: 540px;
    padding-top: 1.5rem;
}
.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* بطاقة السلايدر + الصورة */
.slider-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 70px rgba(0,0,0,0.95);
}
.slider-card img {
    width: 100%;
    max-width: 420px;
    height: 520px;
    object-fit: cover;
    display: block;
}

/* الاسم + السعر داخل الصورة مع طبقة داكنة شفافة */
.slider-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.9rem 1.2rem 1.1rem;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.6) 45%,
        rgba(0,0,0,0) 100%
    );
    color: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.slider-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    margin: 0;
}
.slider-info span {
    font-weight: 600;
    color: #D4AF37;
}

/* نقاط السلايدر */
.swiper-pagination-bullet {
    background: rgba(148,163,184,0.7);
}
.swiper-pagination-bullet-active {
    background: #1d4ed8;
}

/* زر واتساب العائم */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.55);
    z-index: 1000;
    color: white;
    font-size: 24px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .admin-wrapper { margin-top: 2rem; }
}
@media (max-width: 768px) {
    .swiper { height: 420px; }
    .slider-card img {
        max-width: 320px;
        height: 420px;
    }
    .product-card img {
        max-width: 220px;
        height: 300px;
    }
    .login-card {
        padding: 2rem 1.6rem;
    }
}
@media (max-width: 480px) {
    .swiper { height: 380px; }
    .slider-card img {
        max-width: 280px;
        height: 360px;
    }
}