/* =====================================================
   ROOT VARIABLES & RESET
===================================================== */
:root {
    --primary-color: #D97706;
    --primary-dark: #b45309;
    --accent-gold: #EAAB00;
    --dark-color: #121212;
    --dark-brown: #1a110b;
    --cream-bg: #F9F8F3;
    --page-bg: #F5F3ED;
    --text-muted: #777;
    --text-light: #aaa;
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--page-bg);
    overflow-x: hidden;
    color: #1a1a1a;
}

img {
    max-width: 100%;
    display: block;
}

/* =====================================================
    UTILITIES
===================================================== */
.section-padding {
    padding: 80px 0;
}

.section-title h2 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-title span,
.text-accent {
    color: var(--primary-color);
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* =====================================================
   BUTTONS
===================================================== */
.btn-order {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-block;
    transition: background var(--transition), transform var(--transition);
}

.btn-order:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: scale(1.05);
}

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
    margin-bottom: 100px;

    padding: 15px 0;
    transition: background 0.4s ease, padding 0.4s ease;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {

    color: var(--primary-color) !important;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 6px 12px !important;
    transition: color var(--transition);
}

.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color) !important;
}

/* Collapsed mobile menu styling */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(18, 18, 18, 0.97);
        padding: 16px 20px;
        border-radius: 12px;
        margin-top: 10px;
    }

    .navbar-nav .nav-item {
        padding: 4px 0;
    }

    .navbar-nav .btn-order {
        margin-top: 8px;
    }
}




.app-container {
    display: flex;
    align-items: flex-start; /* هذا يضمن أن السايدبار والمحتوى والسلة يبدأون من الأعلى */
    gap: 20px;
}
/* =====================================================
    1. SIDEBAR (يسار)
===================================================== */
.sidebar {
    width: 250px;
    min-width: 250px;
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--coffee-dark);
    margin-bottom: 35px;
    padding-left: 10px;
}



.nav-item.active {
    background-color: var(--bg-light);
    color: var(--coffee-dark);
    font-weight: 600;
}


.logout-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    color: var(--text-light);
    padding: 12px 16px;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
}

.logout-btn:hover {
    color: #DE3B3B;
}


/* =====================================================
    4. CONTACT PAGE STYLING (صفحة منفصلة)
===================================================== */
.contact-page-container {
    max-width: 1200px;
    margin: 120px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
}

.contact-header-section {

    text-align: center;
    margin-bottom: 50px;
}

.contact-header-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: #121212;
    margin-bottom: 12px;
}

.contact-header-section h2 span {
    color: var(--primary-color);
}

.contact-header-section p {
    color: var(--text-muted);
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* توزيع العمودين */
.contact-content-wrapper {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

/* 1. كارت المعلومات (اليمين) */
.contact-info-card {
    flex: 1;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #ECEAE6;
    display: flex;
    flex-direction: column;
}

.contact-info-card h3 {
    font-size: 32px;
    font-weight: 700;
    color: #1a110b;
    margin-bottom: 8px;
}

.contact-info-card .info-subtitle {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.info-links-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon-box {
    width: 46px;
    height: 46px;
    background: #FDF8F0;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-text-box span {
    display: block;
    font-size: 15px;
    color:#d97706;
    margin-bottom: 2px;
}

.info-text-box a,
.info-text-box p {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: var(--transition);
}

.info-text-box a:hover {
    color: var(--primary-color);
}

/* السوشيال ميديا داخل الكارت */
.social-box {
    margin-top: 40px;
    border-top: 1px solid #F0EFEF;
    padding-top: 20px;
}

.social-box span {
    font-size: 17px;
    color:#d97706;
    display: block;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #121212;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* 2. كارت الـ Form (اليسار) */
.contact-form-card {
    flex: 1.5;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #ECEAE6;
}

.form-row-two {
    display: flex;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #FDFDFD;
    border: 1px solid #ECEAE6;
    padding: 14px 16px;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.05);
}

/* زر الإرسال الاحترافي الأسود المتناسق مع تصميمك */
.submit-contact-btn {
    width: 100%;
    background-color: #121212;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.submit-contact-btn:hover {
    background-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
}

/* التجاوب مع الشاشات (Responsive) */
@media (max-width: 991.98px) {
    .contact-content-wrapper {
        flex-direction: column;
        /* تحويلهم فوق بعض في الشاشات الصغيرة */
    }

    .contact-form-card,
    .contact-info-card {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .form-row-two {
        flex-direction: column;
        /* حقول الاسم والموبايل تصبح رأسية على الموبايل */
        gap: 0;
    }

    .contact-header-section h2 {
        font-size: 28px;
    }
}

/* التنسيق العادي للروابط */
.nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 6px 12px !important;
    transition: color var(--transition);
}

/* التنسيق عند الوقوف بالماوس أو عندما يكون الرابط نشطاً */
.nav-link:hover,
.nav-link:focus,
.nav-link.active { /* إضافة الـ .nav-link.active هنا */
    color: var(--primary-color) !important;
    font-weight: 600; /* اختياريا: جعل الخط أسمك قليلاً للتميز */
}
