/* Premium light brand styling */
:root {
    --bg: #f8f5ef;
    --surface: #ffffff;
    --surface-strong: #f5efe8;
    --border: #d9c9b0;
    --text: #2f2a26;
    --muted: #5e4b3c;
    --accent: #c9a44c;
    --shadow: 0 22px 55px rgba(47, 42, 38, 0.08);
    --shadow-sm: 0 8px 16px rgba(47, 42, 38, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    letter-spacing: -0.01em;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(201, 164, 76, 0.15);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 1.3rem;
    color: var(--text) !important;
}

nav .nav-link {
    color: var(--text) !important;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 0.5rem;
}

nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

nav .nav-link:hover::after,
nav .nav-link.active::after {
    width: 100%;
}

nav .nav-link:hover,
nav .nav-link.active {
    color: var(--accent) !important;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    border: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(201, 164, 76, 0.25);
}

.btn-accent:hover {
    background: #b28d45;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(201, 164, 76, 0.35);
    color: #fff !important;
}

.btn-outline-accent {
    border-color: var(--accent);
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
    border-width: 2px;
}

.btn-outline-accent:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 164, 76, 0.25);
}

.section-title {
    position: relative;
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 2rem;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin-top: 0.75rem;
    border-radius: 999px;
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-light {
    background: linear-gradient(135deg, #fff9f1 0%, #f8f5ef 100%);
}

.hero-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(201,164,76,0.16);
    box-shadow: var(--shadow);
    border-radius: 24px;
    transition: var(--transition);
}

.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 64px rgba(47, 42, 38, 0.12);
}

.card-soft {
    background: var(--surface);
    border: 1px solid rgba(47, 42, 38, 0.06);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.card-soft:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 164, 76, 0.2);
    box-shadow: 0 28px 64px rgba(47, 42, 38, 0.12);
}

.card-soft h5 {
    color: var(--muted);
    font-size: 1.1rem;
}

.card-soft .card-body {
    padding: 1.5rem;
}

.card-image {
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg);
}

.card-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.card-soft:hover .card-image img {
    transform: scale(1.05);
}

.section-card {
    border-radius: 24px;
    border: 1px solid rgba(47, 42, 38, 0.08);
    background: #fff;
    padding: 2rem;
    transition: var(--transition);
}

.section-card:hover {
    border-color: rgba(201, 164, 76, 0.15);
    box-shadow: var(--shadow-sm);
}

.form-control {
    border: 1.5px solid rgba(47, 42, 38, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(201, 164, 76, 0.15);
    background: #fff;
}

.form-control::placeholder {
    color: var(--muted);
    opacity: 0.6;
}

.form-label {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
    font-family: 'Inter', monospace;
}

.section-light {
    background: #fff;
}

.bg-soft {
    background: #fff;
}

.card .badge {
    background: rgba(201, 164, 76, 0.1);
    color: var(--muted);
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.badge-status-published {
    background: #e8d8b8;
    color: var(--text);
}

.badge-status-pending {
    background: #f5e8dc;
    color: var(--muted);
}

.badge-pill {
    border-radius: 999px;
}

/* Alerts with better styling */
.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

.alert-danger {
    background: #fef2f2;
    color: #7f1d1d;
    border-left: 4px solid #dc2626;
}

.alert-success {
    background: #f0fdf4;
    color: #15803d;
    border-left: 4px solid #22c55e;
}

.alert-warning {
    background: #fefce8;
    color: #854d0e;
    border-left: 4px solid #f59e0b;
}

.alert-info {
    background: #f0f9ff;
    color: #075985;
    border-left: 4px solid #0284c7;
}

.text-muted-strong {
    color: #5e4b3c;
}

.navbar-toggler {
    border-color: rgba(47,42,38,0.2);
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(201, 164, 76, 0.15);
}

.form-section {
    background: rgba(248,245,239,0.9);
    border-radius: 24px;
    padding: 2rem;
}

.contact-card {
    border: 1px solid rgba(47,42,38,0.08);
    border-radius: 24px;
    background: #fff;
    transition: var(--transition);
    padding: 1.5rem;
}

.contact-card:hover {
    border-color: rgba(201, 164, 76, 0.15);
    box-shadow: var(--shadow-sm);
}

.page-not-found {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.list-icon {
    width: 14px;
    height: 14px;
    background: var(--accent);
    display: inline-block;
    border-radius: 50%;
    margin-inline-end: 0.75rem;
}

/* Footer enhancements */
.footer {
    padding: 3rem 0;
    background: #fff;
    border-top: 1px solid rgba(47,42,38,0.08);
}

.footer a {
    color: var(--text);
    transition: var(--transition);
}

.footer a:hover {
    color: var(--accent);
}

/* Responsive improvements */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 767px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0 !important;
    }
    
    .section-title::after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .hero-light .display-5 {
        font-size: 2rem;
    }
}
.hero-pro {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    overflow: hidden;
}

/* Overlay البني */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(60, 40, 20, 0.8),
        rgba(120, 90, 60, 0.5),
        rgba(255,255,255,0.05)
    );
}

/* النص */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 15px;
}

.hero-desc {
    font-size: 1.2rem;
    margin-top: 15px;
    opacity: 0.9;
}

/* البادج */
.hero-badge {
    background: #d4af37;
    color: #000;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
}

/* صورة الدكتور */
.hero-image-box {
    position: relative;
    max-width: 400px;
    margin: auto;
}

.hero-image-box img {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Overlay خفيف على الصورة */
.hero-image-box .image-overlay {
    position: absolute;
    inset: 0;
    border-radius: 25px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.1),
        rgba(60,40,20,0.4)
    );
}

/* الأزرار */
.btn-gold {
    background: #c9a74e;
    color: #fff;
    border: none;
}

.btn-gold:hover {
    background: #b8963e;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}