@import url('fonts.css');

/* ملف التصميم (CSS) - ألوان هادئة وتصميم أنيق لمركز تجميل */
:root {
    --primary-color: #A58B70;
    /* Soft Warm Gold/Beige - Extremely luxurious */
    --secondary-color: #2F2A26;
    /* Deep brownish black for text */
    --bg-color: #FAF9F6;
    /* Premium Ivory/Off-white instead of plain white */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Dancing Script', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar - Premium Design */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: #F1F1F1;
    border-left: 1px solid #EAE5DE;
}

::-webkit-scrollbar-thumb {
    background: #2F2A26;
    /* Deep dark color for maximum visibility */
    border-radius: 10px;
    border: 3px solid #F1F1F1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Firefox Support */
* {
    scrollbar-width: auto;
    scrollbar-color: #2F2A26 #F1F1F1;
}

body {
    font-family: var(--font-body);
    color: var(--secondary-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* تنسيقات الشريط العلوي (الهيدر) */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-logo);
    color: var(--primary-color);
    font-size: 36px;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-book-nav {
    border: 1px solid var(--primary-color);
    padding: 10px 22px;
    border-radius: 2px;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: all 0.4s ease;
}

.btn-book-nav:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* Social Nav Icons */
.social-nav {
    display: flex;
    gap: 15px;
    margin-left: 20px;
    border-left: 1px solid #EAE5DE;
    padding-left: 20px;
}

.social-nav a {
    font-size: 16px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.social-nav a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* الهيرو - الصورة الرئيسية */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1)), url('https://images.pexels.com/photos/3985331/pexels-photo-3985331.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    /* للتعويض عن الشريط العلوي الثابت */
}

.hero-content {
    max-width: 600px;
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
    color: #333;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
}

/* الأزرار العامة */
.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.4s, transform 0.2s, box-shadow 0.4s;
}

.btn-primary:hover {
    background-color: #8c735b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(165, 139, 112, 0.3);
}

.w-100 {
    width: 100%;
}

/* الأقسام (Sections) */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

/* قسم الخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 2px;
    border: 1px solid #EAE5DE;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(165, 139, 112, 0.15);
}

.service-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: brightness(0.95);
    transition: filter 0.4s ease;
}

.service-card:hover img {
    filter: brightness(1.05);
}

.service-card h3 {
    font-family: var(--font-heading);
    margin: 25px 0 10px;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--secondary-color);
}

.service-card p {
    padding: 0 25px 30px;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

/* Video Section */
.video-section {
    background-color: var(--bg-color);
    padding: 80px 0;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: #000;
    border: 1px solid #EAE5DE;
}

.video-container video {
    width: 100%;
    display: block;
}

/* قسم الحجز - Booking */
.bg-light {
    background-color: #f7edea;
    /* درجة وردي/لحمي فاتح جداً */
}

.booking-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.booking-info {
    flex: 1;
    min-width: 300px;
    padding: 50px;
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-info h2 {
    color: #fff;
    margin-bottom: 20px;
}

.booking-info p {
    font-size: 18px;
    opacity: 0.9;
}

.booking-form-box {
    flex: 1.5;
    min-width: 300px;
    padding: 50px;
}

/* الحقول (Inputs) */
.input-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

input,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    background: #fafafa;
    transition: border 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
}

/* شبكة الأوقات (اختيار الساعة) */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.time-slot.available {
    background: #fafafa;
    border: 1px solid #ddd;
    cursor: pointer;
    color: var(--secondary-color);
}

.time-slot.available:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.time-slot.selected {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 10px rgba(209, 168, 156, 0.4);
}

.time-slot.booked {
    background: #e9ecef;
    color: #adb5bd;
    border-color: #dee2e6;
    cursor: not-allowed;
    text-decoration: line-through;
    font-size: 11px;
    padding: 10px 0;
}

/* رسائل الحجز */
#form-msg {
    margin-bottom: 15px;
    font-size: 14px;
    display: none;
    padding: 10px;
    border-radius: 4px;
}

.msg-success {
    background: #d4edda;
    color: #155724;
    display: block !important;
}

.msg-error {
    background: #f8d7da;
    color: #721c24;
    display: block !important;
}


/* الفوتر - Footer */
.footer {
    background: #2b2b2b;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-brand h2 {
    font-family: var(--font-logo);
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 5px;
}

.footer-brand p {
    font-family: var(--font-logo);
    font-size: 18px;
    color: #fff;
    opacity: 0.9;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 13px;
}

/* تجاوب التصميم (Responsive) */
@media (max-width: 768px) {
    .navbar {
        background: transparent;
        box-shadow: none;
        padding: 10px 0;
    }

    .nav-links,
    .social-nav {
        display: none !important;
    }

    .nav-content {
        justify-content: center;
    }

    .logo {
        font-size: 28px;
        background: rgba(255, 255, 255, 0.7);
        padding: 5px 25px;
        border-radius: 50px;
        backdrop-filter: blur(8px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid rgba(165, 139, 112, 0.2);
    }

    .hero-title {
        font-size: 32px;
    }

    .booking-wrapper {
        flex-direction: column;
    }

    .booking-info,
    .booking-form-box {
        padding: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Mobile Floating Navbar (Unorganized/Asymmetrical Style) */
    .mobile-booking-bar {
        display: flex;
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        width: calc(100% - 40px);
        max-width: 350px;
        pointer-events: none;
    }

    .mobile-btn-container {
        pointer-events: auto;
        background: var(--primary-color);
        padding: 18px 30px;
        border-radius: 60px 20px 60px 20px;
        /* Unique non-standard shape */
        box-shadow: 0 10px 25px rgba(165, 139, 112, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        animation: float 3s ease-in-out infinite;
        border: 2px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
    }

    .mobile-btn-container a {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    @keyframes float {
        0% {
            transform: translateY(0px) rotate(0deg);
        }

        50% {
            transform: translateY(-10px) rotate(1deg);
        }

        100% {
            transform: translateY(0px) rotate(0deg);
        }
    }
}

@media (min-width: 769px) {
    .mobile-booking-bar {
        display: none !important;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 30px;
    left: 40px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(165, 139, 112, 0.2);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    /* Shown via JS */
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-cookie-accept {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 20px;
        right: 20px;
        bottom: 120px;
        /* Above mobile booking bar */
        max-width: none;
        padding: 20px;
    }
}