/* ==========================================================
   RENK PALETİ - Varsayılan (fallback) değerler.
   Aktif tema DB'den gelir ve :root'u override eder.
   ========================================================== */
:root {
    /* --- Ana Marka Renkleri (Sage Green) --- */
    --sage-50:       #f0f5f1;
    --sage-100:      #d8e6db;
    --sage-200:      #b1ccb7;
    --sage-300:      #8ab393;
    --sage-400:      #6fa07a;
    --sage-500:      #5B8C65;
    --sage-600:      #4a7252;
    --sage-700:      #5a7d62;
    --sage-800:      #456b4c;
    --sage-900:      #3a5940;

    /* --- Aksan: Beige --- */
    --beige-50:      #faf7f3;
    --beige-100:     #f0e8dc;
    --beige-200:     #e1d1b9;
    --beige-400:     #C4A882;
    --beige-600:     #947850;

    /* --- Aksan: Terracotta --- */
    --terra-50:      #fdf5f1;
    --terra-100:     #f8e2d7;
    --terra-200:     #efc5af;
    --terra-400:     #C47D5A;
    --terra-500:     #a8643f;
    --terra-600:     #8a5234;

    /* --- Warm --- */
    --warm-50:       #FDFAF6;
    --warm-100:      #F7F0E6;
    --warm-200:      #EFE4D4;
    --warm-300:      #E2D2BC;

    /* --- Rose --- */
    --rose-50:       #FDF5F5;
    --rose-100:      #F8E5E5;
    --rose-200:      #EEBFBF;
    --rose-400:      #C48585;

    /* --- Kısa Yol --- */
    --sage:          var(--sage-500);
    --sage-dark:     var(--sage-700);
    --sage-light:    var(--sage-200);
    --sage-bg:       var(--sage-50);

    /* --- Genel --- */
    --gold:          #c9a84c;
    --cream:         #FDFBF7;
    --whatsapp:      #25D366;
    --background:    #FDFAF6;

    /* --- Metin --- */
    --text-body:     #2C2C2C;
    --text-heading:  #2A3A2E;
    --text-muted:    #6B6B6B;

    /* --- Footer --- */
    --footer-bg:     var(--sage-900);
    --footer-text:   var(--sage-200);

    /* --- Dashboard --- */
    --dashboard-bg:  #f8faf8;

    /* --- Border --- */
    --border:        #E8E0D4;
    --border-light:  rgba(232,224,212,0.5);

    /* --- Radius --- */
    --radius:        0.625rem;
    --radius-lg:     0.875rem;
    --radius-xl:     1.25rem;
    --radius-2xl:    1.75rem;
    --radius-3xl:    2.5rem;
    --radius-full:   9999px;

    /* --- Shadows --- */
    --shadow-sm:     0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:     0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg:     0 12px 32px rgba(0,0,0,0.1);
    --shadow-glow:   0 8px 24px rgba(91,140,101,0.2);

    /* --- Transitions --- */
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
    --duration-fast: 0.15s;
    --duration-med:  0.3s;
    --duration-slow: 0.5s;
}

/* ========== BASE ========== */
html {
    font-size: 15px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-body);
    background-color: var(--background);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-heading);
}

a {
    color: var(--sage);
    transition: color var(--duration-fast);
}
a:hover {
    color: var(--sage-dark);
}

/* ========== UTILITIES ========== */
.text-primary-sage  { color: var(--sage) !important; }
.text-sage-light    { color: var(--sage-light) !important; }
.text-sage-dark     { color: var(--sage-dark) !important; }
.text-terra         { color: var(--terra-400) !important; }
.text-beige         { color: var(--beige-400) !important; }

.bg-sage            { background-color: var(--sage) !important; }
.bg-sage-light      { background-color: var(--sage-bg) !important; }
.bg-cream           { background-color: var(--cream) !important; }
.bg-muted           { background-color: var(--beige-50) !important; }

.border-sage        { border-color: var(--sage) !important; }

/* ========== TYPOGRAPHY ENHANCEMENTS ========== */
.display-hero {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.display-section {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.overline {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--sage-600);
    display: inline-block;
    margin-bottom: 0.75rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--sage-600), var(--terra-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== DECORATIVE ELEMENTS ========== */
.blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
    animation: blobFloat 8s ease-in-out infinite alternate;
}

.blob-alt {
    border-radius: 40% 60% 70% 30% / 40% 70% 30% 60%;
    position: absolute;
    opacity: 0.10;
    pointer-events: none;
    animation: blobFloat 10s ease-in-out infinite alternate-reverse;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.12;
    pointer-events: none;
}

.deco-dots {
    background-image: radial-gradient(circle, var(--sage-300) 1px, transparent 1px);
    background-size: 24px 24px;
    position: absolute;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, -15px) rotate(5deg); }
}

/* ========== BUTTONS ========== */
.btn {
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all var(--duration-med) var(--ease-out);
    letter-spacing: 0.01em;
    position: relative;
}

.btn-sage {
    background: linear-gradient(135deg, var(--sage-500), var(--sage-600));
    border-color: var(--sage-600);
    color: #fff;
    box-shadow: 0 2px 8px rgba(91,140,101,0.2);
}
.btn-sage:hover, .btn-sage:focus {
    background: linear-gradient(135deg, var(--sage-600), var(--sage-700));
    border-color: var(--sage-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-terra {
    background: linear-gradient(135deg, var(--terra-400), var(--terra-500));
    border-color: var(--terra-500);
    color: #fff;
    box-shadow: 0 2px 8px rgba(196,125,90,0.2);
}
.btn-terra:hover, .btn-terra:focus {
    background: linear-gradient(135deg, var(--terra-500), var(--terra-600));
    border-color: var(--terra-600);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196,125,90,0.3);
}

.btn-outline-sage {
    border: 1.5px solid var(--sage);
    color: var(--sage);
    background: transparent;
}
.btn-outline-sage:hover, .btn-outline-sage:focus {
    background-color: var(--sage-50);
    border-color: var(--sage);
    color: var(--sage-700);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    border-color: transparent;
    color: var(--text-body);
}
.btn-ghost:hover, .btn-ghost:focus {
    background-color: var(--sage-bg);
    color: var(--sage);
}

.btn-glass {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.btn-glass:hover, .btn-glass:focus {
    background: rgba(255,255,255,0.3);
    color: #fff;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    border-color: var(--whatsapp);
    color: #fff;
}
.btn-whatsapp:hover, .btn-whatsapp:focus {
    background-color: #1da851;
    border-color: #1da851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

/* ========== FOCUS STATES ========== */
.btn:focus, .btn:active:focus,
.form-control:focus, .form-select:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(91,140,101,0.25);
}

.form-control:focus, .form-select:focus {
    border-color: var(--sage-300);
}

.form-check-input:checked {
    background-color: var(--sage);
    border-color: var(--sage);
}

/* ========== NAVBAR ========== */
.navbar {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(253,250,246,0.85) !important;
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
    transition: background var(--duration-med), box-shadow var(--duration-med);
}

.navbar.scrolled {
    background: rgba(253,250,246,0.95) !important;
    box-shadow: var(--shadow-sm);
}

.navbar .nav-link {
    font-weight: 500;
    color: rgba(44,44,44,0.8);
    padding: 0.5rem 0.75rem;
    transition: color var(--duration-fast);
    font-size: 0.875rem;
    position: relative;
}
.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--sage), var(--terra-400));
    transition: all var(--duration-med) var(--ease-out);
    transform: translateX(-50%);
    border-radius: 1px;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 60%;
}
.navbar .nav-link:hover {
    color: var(--sage);
}
.navbar .nav-link.active {
    color: var(--sage);
}

.brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sage-dark);
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--terra-400);
    font-weight: 400;
}

/* ========== HERO SECTION ========== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(196,125,90,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(91,140,101,0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--warm-50) 0%, var(--background) 100%);
    padding: 6rem 0 4rem;
}

.hero-section h1 {
    color: var(--text-heading);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 0 0 60%;
    max-width: 60%;
}

.hero-deco {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    min-height: 350px;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-trust-item {
    text-align: center;
}

.hero-trust-item .trust-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sage-600);
    line-height: 1;
}

.hero-trust-item .trust-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 5rem 0 3rem;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hero-deco {
        display: none;
    }
    .hero-trust {
        justify-content: center;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    background: var(--sage-100);
    color: var(--sage-700);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ========== SECTIONS ========== */
.section-lg { padding: 6rem 0; }
.section-md { padding: 4rem 0; }
.section-sm { padding: 3rem 0; }

.section-warm { background: var(--warm-50); }
.section-sage { background: var(--sage-50); }
.section-terra { background: var(--terra-50); }

.section-title {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--terra-400));
    margin: 0 auto 1rem;
    border: none;
    border-radius: 2px;
}

/* ========== PAGE BANNER ========== */
.page-banner {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 80% 30%, rgba(196,125,90,0.05) 0%, transparent 50%),
        linear-gradient(180deg, var(--warm-50) 0%, var(--background) 100%);
}
.page-banner h1 {
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 0.75rem;
}
.page-banner .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
}
.page-banner .breadcrumb-item a {
    color: var(--sage);
    text-decoration: none;
}

/* ========== CARDS ========== */
.card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    background: #fff;
}

.card-hover {
    transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med) var(--ease-out);
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* Service Card V2 */
.service-card-v2 {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    background: #fff;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--duration-med) var(--ease-out);
}

.service-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sage);
}

.service-card-v2.accent-terra::before { background: var(--terra-400); }
.service-card-v2.accent-beige::before { background: var(--beige-400); }
.service-card-v2.accent-rose::before  { background: var(--rose-400); }

.service-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-v2 .icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: transform var(--duration-med);
}

.service-card-v2:hover .icon-box {
    transform: rotate(8deg) scale(1.1);
}

.icon-box {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 1.5rem;
}
.icon-box-sage  { background: var(--sage-100); color: var(--sage-600); }
.icon-box-terra { background: var(--terra-100); color: var(--terra-500); }
.icon-box-beige { background: var(--beige-100); color: var(--beige-600); }
.icon-box-rose  { background: var(--rose-100); color: var(--rose-400); }

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #fff;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background-color: var(--sage-100);
    color: var(--sage-600);
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-icon.terra {
    background-color: var(--terra-100);
    color: var(--terra-500);
}
.service-icon.beige {
    background-color: var(--beige-100);
    color: var(--beige-600);
}

.service-icon-sm {
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    border-radius: var(--radius);
    background-color: var(--sage-100);
    color: var(--sage-600);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Package Card V2 */
.package-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-2xl);
    transition: border-color var(--duration-med), transform var(--duration-med), box-shadow var(--duration-med);
    background: #fff;
    overflow: hidden;
}
.package-card:hover {
    border-color: var(--sage);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(91,140,101,0.12);
}
.package-card .package-header {
    background: linear-gradient(135deg, var(--sage-50), var(--warm-100));
    padding: 2rem;
    text-align: center;
}
.package-card.featured {
    border-color: var(--sage);
    box-shadow: var(--shadow-glow);
    transform: scale(1.03);
    position: relative;
}
.package-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.package-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--sage), var(--sage-600));
    color: #fff;
    padding: 0.35rem 1.5rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
    .package-card.featured {
        transform: none;
    }
    .package-card.featured:hover {
        transform: translateY(-4px);
    }
}

/* ========== TESTIMONIALS ========== */
.testimonial-card {
    background-color: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    position: relative;
    transition: all var(--duration-med) var(--ease-out);
}
.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.testimonial-card .quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--sage-200);
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    opacity: 0.6;
}

.stars {
    color: var(--terra-400);
}

/* ========== INSTAGRAM FEED ========== */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 0.75rem;
}
.instagram-grid .instagram-card:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.instagram-card {
    display: block;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.instagram-card-inner {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med);
}
.instagram-card-inner:hover {
    transform: translateY(-4px) rotate(1deg);
    box-shadow: var(--shadow-lg);
}
.instagram-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}
.instagram-card-inner:hover img {
    transform: scale(1.08);
}
.instagram-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(42, 58, 46, 0.45);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    opacity: 0;
    transition: opacity var(--duration-med) var(--ease-out);
    padding: 1rem;
    border-radius: var(--radius-xl);
}
.instagram-card-inner:hover .instagram-overlay {
    opacity: 1;
}
.instagram-overlay .bi-instagram {
    font-size: 2rem;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.instagram-card-inner:hover .instagram-overlay .bi-instagram {
    transform: scale(1.15);
}
.instagram-caption {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.3;
    max-height: 3.6em;
    overflow: hidden;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    margin: 0;
}
.instagram-handle {
    display: inline-flex;
    align-items: center;
    background: var(--sage-100);
    color: var(--sage-700);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .instagram-grid .instagram-card:first-child {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .instagram-card-inner,
    .instagram-card-inner img,
    .instagram-overlay,
    .instagram-overlay .bi-instagram {
        transition: none !important;
    }
    .instagram-card-inner:hover {
        transform: none;
    }
    .instagram-card-inner:hover img {
        transform: none;
    }
}

/* ========== BLOG ========== */
.blog-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--duration-med) var(--ease-out), box-shadow var(--duration-med);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform var(--duration-slow);
}
.blog-card:hover .card-img-top {
    transform: scale(1.05);
}
.blog-card .card-img-wrapper {
    overflow: hidden;
}
.blog-card .category-badge {
    background-color: var(--sage);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-block;
    font-weight: 600;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}
.blog-content h2, .blog-content h3 {
    margin-top: 2rem;
    color: var(--sage-dark);
}
.blog-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--sage-dark);
    font-weight: 600;
    font-size: 1.15rem;
}
.blog-content p {
    line-height: 1.8;
}
.blog-content blockquote {
    border-left: 4px solid var(--sage-300);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--sage-50);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
}
.blog-content pre {
    background: var(--sage-900);
    color: var(--sage-100);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}
.blog-content code {
    background: var(--beige-100);
    color: var(--terra-600);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875em;
}
.blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

/* Blog placeholder gradient */
.blog-placeholder {
    height: 200px;
}

/* Author card */
.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

/* ========== QUILL EDITOR ========== */
.quill-editor-wrapper {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
}

/* Quill toolbar */
.ql-toolbar {
    background: var(--sage-50);
    border: none !important;
    border-bottom: 1px solid var(--border) !important;
    padding: 0.75rem;
}

.ql-toolbar .ql-stroke {
    stroke: var(--sage-600);
}

.ql-toolbar .ql-fill {
    fill: var(--sage-600);
}

.ql-toolbar .ql-picker-label {
    color: var(--text-body);
}

.ql-toolbar button:hover,
.ql-toolbar button:focus,
.ql-toolbar button.ql-active {
    color: var(--sage-700);
}

.ql-toolbar button:hover .ql-stroke,
.ql-toolbar button:focus .ql-stroke,
.ql-toolbar button.ql-active .ql-stroke {
    stroke: var(--sage-700);
}

.ql-toolbar button:hover .ql-fill,
.ql-toolbar button:focus .ql-fill,
.ql-toolbar button.ql-active .ql-fill {
    fill: var(--sage-700);
}

/* Quill editor container */
.ql-container {
    border: none !important;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1rem;
}

.ql-editor {
    min-height: 300px;
    padding: 1.25rem;
    line-height: 1.8;
    color: var(--text-body);
}

.ql-editor.ql-blank::before {
    color: var(--text-muted);
    font-style: italic;
}

/* Quill editor content styles */
.ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--text-heading);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.ql-editor h1 { font-size: 2rem; }
.ql-editor h2 { font-size: 1.65rem; }
.ql-editor h3 { font-size: 1.35rem; }
.ql-editor h4 { font-size: 1.15rem; font-weight: 600; }

.ql-editor blockquote {
    border-left: 4px solid var(--sage-300);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--sage-50);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
}

.ql-editor pre {
    background: var(--sage-900);
    color: var(--sage-100);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: 1.5rem 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.ql-editor code {
    background: var(--beige-100);
    color: var(--terra-600);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875em;
}

.ql-editor pre.ql-syntax {
    background: var(--sage-900);
    color: var(--sage-100);
}

.ql-editor img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1rem 0;
}

.ql-editor a {
    color: var(--sage);
    text-decoration: underline;
}

.ql-editor a:hover {
    color: var(--sage-dark);
}

/* Mobile-responsive toolbar */
@media (max-width: 767.98px) {
    .ql-toolbar {
        padding: 0.5rem;
    }

    .ql-toolbar .ql-formats {
        margin-right: 0.5rem !important;
    }

    .ql-toolbar button {
        width: 28px !important;
        height: 28px !important;
        padding: 3px !important;
    }

    .ql-toolbar .ql-picker {
        font-size: 0.85rem;
    }

    .ql-toolbar .ql-picker-label {
        padding: 2px 4px;
    }

    .ql-editor {
        min-height: 250px;
        padding: 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .ql-toolbar {
        padding: 0.35rem;
    }

    .ql-toolbar .ql-formats {
        margin-right: 0.35rem !important;
    }

    .ql-toolbar button {
        width: 26px !important;
        height: 26px !important;
        padding: 2px !important;
    }

    .ql-editor {
        min-height: 200px;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .ql-editor h1 { font-size: 1.65rem; }
    .ql-editor h2 { font-size: 1.4rem; }
    .ql-editor h3 { font-size: 1.2rem; }
    .ql-editor h4 { font-size: 1.05rem; }

    .ql-editor pre,
    .blog-content pre {
        font-size: 0.8rem;
        padding: 1rem;
    }

    .ql-editor blockquote,
    .blog-content blockquote {
        padding: 0.75rem 1rem;
    }
}

/* ========== FAQ ACCORDION ========== */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color var(--duration-med);
}
.faq-accordion .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-color: var(--sage-200);
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.1rem 1.25rem;
    font-family: 'Playfair Display', serif;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--sage-50), var(--warm-50));
    color: var(--sage-dark);
    box-shadow: none;
}
.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--sage);
}
.faq-accordion .accordion-body {
    line-height: 1.8;
    padding: 1rem 1.25rem 1.25rem;
}

/* ========== CONTACT ========== */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.contact-info-item .icon-box {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 1.2rem;
}

/* ========== WHATSAPP ICON VARIANT ========== */
.icon-box.bg-whatsapp-light {
    background-color: #dcf8e7 !important;
}
.icon-box.text-whatsapp {
    color: #25D366 !important;
}

/* ========== AUTH PAGES ========== */
.auth-wrapper {
    display: flex;
    min-height: calc(100vh - 10rem);
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-split {
    display: flex;
    min-height: calc(100vh - 5rem);
}

.auth-panel {
    flex: 0 0 45%;
    background: linear-gradient(135deg, var(--sage-400), var(--sage-600));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.auth-panel .auth-panel-content {
    text-align: center;
    max-width: 380px;
}

.auth-panel .auth-panel-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    opacity: 0.9;
    max-width: 320px;
    text-align: center;
    line-height: 1.4;
}

.auth-form-side {
    flex: 0 0 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

@media (max-width: 991.98px) {
    .auth-split {
        flex-direction: column;
        min-height: auto;
    }
    .auth-panel {
        display: none;
    }
    .auth-form-side {
        flex: 1;
        padding: 2rem 1rem;
    }
}

.auth-form-inner {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.auth-card .card-body {
    padding: 2rem 2rem 2.5rem;
}

.auth-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sage-100);
    color: var(--sage-600);
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section.bg-sage-gradient {
    background: linear-gradient(135deg, var(--sage-600), var(--sage-800));
    color: #fff;
}
.cta-section.bg-sage-gradient h2,
.cta-section.bg-sage-gradient h3,
.cta-section.bg-sage-gradient h4 {
    color: #fff;
}
.cta-section.bg-sage-gradient p {
    color: rgba(255,255,255,0.85);
}
.cta-section.bg-sage {
    color: #fff;
}
.cta-section.bg-sage h2,
.cta-section.bg-sage h3,
.cta-section.bg-sage h4 {
    color: #fff;
}
.cta-section.bg-sage p {
    color: rgba(255,255,255,0.85);
}

.cta-icon-circle {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--sage-100);
    color: var(--sage-600);
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}

/* ========== ABOUT TIMELINE ========== */
.timeline-item {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: -2rem;
    width: 2px;
    background-color: var(--sage-200);
}
.timeline-item:last-child::before {
    bottom: 0;
}
.timeline-item .timeline-dot {
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--sage);
    border: 3px solid var(--sage-bg);
}
.timeline-item .timeline-dot.terra {
    background-color: var(--terra-400);
    border-color: var(--terra-50);
}
.timeline-item .timeline-dot.beige {
    background-color: var(--beige-400);
    border-color: var(--beige-50);
}

/* Numbers section */
.numbers-item .number-value {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--sage-600);
}

/* Credential badge */
.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sage-700);
    white-space: nowrap;
}

/* Credential strip — badge container */
.credential-strip {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* About photo placeholder */
.about-photo-wrapper {
    display: inline-block;
}

.about-photo-placeholder {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, var(--sage-50), var(--warm-100));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* ========== FOOTER ========== */
.footer-upper {
    background: var(--warm-100);
    padding: 4rem 0 3rem;
    position: relative;
}

.footer-lower {
    background: var(--sage-900);
    color: var(--sage-300);
    padding: 1.5rem 0;
}

.footer-dark {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.footer-link {
    color: var(--sage-200);
    text-decoration: none;
    transition: color var(--duration-fast);
}
.footer-link:hover {
    color: #fff;
}

/* Footer link in upper section */
.footer-upper .footer-link {
    color: var(--text-muted);
}
.footer-upper .footer-link:hover {
    color: var(--sage-600);
}

/* ========== PAGINATION ========== */
.page-link {
    color: var(--sage);
    border-radius: var(--radius);
}
.page-link:hover {
    color: var(--sage-dark);
    background-color: var(--sage-bg);
}
.page-item.active .page-link {
    background-color: var(--sage);
    border-color: var(--sage);
    color: #fff;
}

/* ========== WHATSAPP FLOATING ========== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform var(--duration-med) var(--ease-spring), box-shadow var(--duration-med);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
}

/* ========== DASHBOARD ========== */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
}

.dashboard-sidebar {
    width: 256px;
    min-height: calc(100vh - 72px);
    position: sticky;
    top: 72px;
    flex-shrink: 0;
}

.dashboard-content {
    flex-grow: 1;
    min-width: 0;
    background-color: var(--background);
}

.avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Legacy sidebar-link (kept for backward compat) */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.15s ease;
    text-decoration: none;
    border-radius: var(--radius);
}
.sidebar-link:hover {
    color: var(--text-body);
    background-color: var(--beige-50);
}
.sidebar-link.active {
    color: var(--sage);
    background-color: rgba(91,140,101,0.1);
    font-weight: 600;
}
.sidebar-link i {
    font-size: 1rem;
    width: 1.5rem;
    text-align: center;
}

/* ========== STAT CARDS ========== */
.stat-card {
    border-radius: var(--radius-xl);
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    background: #fff;
    transition: box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--sage);
}
.stat-card.accent-terra::before { background: var(--terra-400); }
.stat-card.accent-beige::before { background: var(--beige-400); }
.stat-card:hover {
    box-shadow: var(--shadow-md);
}
.stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}
.stat-icon.sage  { background: var(--sage-100); color: var(--sage-600); }
.stat-icon.terra { background: var(--terra-100); color: var(--terra-500); }
.stat-icon.beige { background: var(--beige-100); color: var(--beige-600); }

/* ========== TABLES ========== */
.table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sage-dark);
    border-bottom: 2px solid var(--border);
}

/* ========== BADGES ========== */
.badge-sage {
    background-color: var(--sage-100);
    color: var(--sage-600);
    font-weight: 600;
}

/* ========== FORM LABELS ========== */
.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-body);
}

/* ========== PROGRESS BAR ========== */
.progress {
    border-radius: var(--radius-full);
    height: 0.5rem;
    background: var(--sage-100);
}
.progress-bar {
    background: var(--sage);
    border-radius: var(--radius-full);
}

/* ========== QUICK ACTION CARDS ========== */
.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--text-body);
    transition: all var(--duration-med) var(--ease-out);
    background: #fff;
}
.quick-action:hover {
    border-color: var(--sage-200);
    box-shadow: var(--shadow-md);
    color: var(--text-body);
    transform: translateY(-2px);
}
.quick-action .qa-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========== RESPONSIVE DASHBOARD ========== */
@media (max-width: 991.98px) {
    .dashboard-wrapper {
        flex-direction: column;
        min-height: auto;
    }
    .dashboard-content {
        width: 100%;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
.animate-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--duration-slow) var(--ease-out), transform var(--duration-slow) var(--ease-out);
}
.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 500ms; opacity: 1; transform: translateY(0); }

/* ========== ANIMATIONS ========== */
.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========== ALERT IMPROVEMENTS ========== */
.alert {
    border-radius: var(--radius-lg);
    border: none;
    font-size: 0.9rem;
}
.alert-success {
    background: #d4edda;
    color: #155724;
}
.alert-danger {
    background: #f8d7da;
    color: #721c24;
}
.alert-info {
    background: var(--sage-100);
    color: var(--sage-700);
}

/* ========== CONTAINER UTILITIES ========== */
.container-narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.container-mid    { max-width: 1080px; margin-left: auto; margin-right: auto; }

/* ========== SHARE BUTTON ========== */
.share-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* ========== AUTH CARD WIDE ========== */
.auth-card-wide { max-width: 500px; }

/* ========== PASSWORD TOGGLE ========== */
.password-wrapper { position: relative; }
.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sage-600);
    padding: 0;
}

/* ==========================================================
   CLIENT DASHBOARD LAYOUT - LIGHT SIDEBAR
   ========================================================== */
.dashboard-sidebar-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: #fff;
    border-right: 1px solid var(--border);
    z-index: 1040;
    overflow-y: auto;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dashboard-sidebar-fixed .sidebar-brand {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 64px;
    background: linear-gradient(135deg, rgba(91,140,101,0.05), transparent);
}

.dashboard-sidebar-fixed .sidebar-brand h5 {
    margin: 0;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--sage);
    font-family: 'Playfair Display', serif;
}

.dashboard-sidebar-fixed .sidebar-brand i {
    color: var(--sage);
}

.dashboard-sidebar-nav {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    flex: 1;
}

.dashboard-sidebar-nav .nav-label {
    padding: 0.75rem 1.5rem 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

.dashboard-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    margin: 0.1rem 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
    border-radius: var(--radius);
}

.dashboard-sidebar-nav a:hover {
    background: var(--beige-50);
    color: var(--text-body);
}

.dashboard-sidebar-nav a.active {
    background: rgba(91,140,101,0.1);
    color: var(--sage);
    font-weight: 600;
    border-left: 3px solid var(--sage);
}

.dashboard-sidebar-nav a i {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.dashboard-sidebar-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--border);
}

.dashboard-sidebar-footer .user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-body);
}
.dashboard-sidebar-footer .user-email {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dashboard-main {
    margin-left: 260px;
    min-height: 100vh;
}

.dashboard-topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dashboard-body {
    margin-bottom: 0;
    background-color: var(--background);
}

.dashboard-main .dashboard-content {
    padding: 1.5rem;
}

.sidebar-toggle {
    display: none;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
}

@media (max-width: 991.98px) {
    .dashboard-sidebar-fixed {
        transform: translateX(-100%);
    }
    .dashboard-sidebar-fixed.show {
        transform: translateX(0);
    }
    .dashboard-main {
        margin-left: 0;
    }
    .sidebar-toggle {
        display: inline-flex;
    }
    .sidebar-overlay.show {
        display: block;
    }
}

/* ==========================================================
   ADMIN LAYOUT - DARK SIDEBAR
   ========================================================== */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background-color: var(--sage-900);
    color: #fff;
    position: sticky;
    top: 0;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--sage-800);
}

.admin-sidebar .sidebar-brand {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--sage-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 64px;
}

.admin-sidebar .sidebar-brand i {
    color: var(--sage-300);
}

.admin-sidebar .sidebar-brand span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
}

.admin-sidebar-nav {
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    flex: 1;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    margin: 0.1rem 0.75rem;
    color: var(--sage-200);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
    border-radius: var(--radius);
}

.admin-sidebar-nav a:hover {
    background: var(--sage-800);
    color: #fff;
}

.admin-sidebar-nav a.active {
    background: var(--sage-700);
    color: #fff;
    font-weight: 600;
}

.admin-sidebar-nav a i {
    font-size: 1rem;
    width: 1.25rem;
    text-align: center;
}

.sidebar-section-label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sage-400);
    padding: 0.75rem 1.25rem 0.25rem;
    margin-top: 0.25rem;
}

.admin-sidebar-footer {
    padding: 0.75rem 1.25rem;
    border-top: 1px solid var(--sage-700);
}

.admin-sidebar-footer .user-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
}
.admin-sidebar-footer .user-email {
    font-size: 0.75rem;
    color: var(--sage-300);
}

.admin-main {
    flex: 1;
    min-width: 0;
    background-color: var(--beige-50);
    min-height: 100vh;
}

.admin-mobile-header {
    background: var(--sage-900);
    color: #fff;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Admin offcanvas dark style */
.offcanvas.admin-offcanvas {
    background-color: var(--sage-900);
    color: #fff;
}
.offcanvas.admin-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--sage-700);
}
.offcanvas.admin-offcanvas .btn-close {
    filter: invert(1);
}

/* ========== CALENDAR (Panel/Takvim) ========== */
.calendar-table {
    table-layout: fixed;
}

.calendar-table th {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--sage-200);
}

.calendar-day {
    vertical-align: top;
    min-height: 70px;
    height: 80px;
    padding: 0.4rem !important;
    position: relative;
    transition: background-color 0.15s ease;
}

.calendar-day-number {
    font-size: 0.85rem;
    color: var(--text-body);
    margin-bottom: 0.25rem;
}

.calendar-day-empty {
    background-color: #fafafa;
}

.calendar-day-clickable {
    cursor: pointer;
}

.calendar-day-clickable:hover {
    background-color: var(--sage-50);
}

.calendar-today {
    background-color: var(--sage-50) !important;
    border: 2px solid var(--sage-300) !important;
}

.calendar-today .calendar-day-number {
    color: var(--sage-700);
    font-weight: 700;
}

.calendar-day-selected {
    background-color: var(--sage-100) !important;
    border-color: var(--sage-500) !important;
}

.calendar-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
}

.calendar-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-confirmed { background-color: var(--sage-500); }
.dot-pending   { background-color: #f0ad4e; }
.dot-completed { background-color: #0dcaf0; }
.dot-cancelled { background-color: #adb5bd; }

/* Calendar responsive */
@media (max-width: 575.98px) {
    .calendar-day {
        height: 56px;
        padding: 0.25rem !important;
    }
    .calendar-day-number {
        font-size: 0.75rem;
    }
    .calendar-dot {
        width: 6px;
        height: 6px;
    }
    .calendar-table th {
        font-size: 0.65rem;
        padding: 0.35rem 0.15rem !important;
    }
}

/* ========== RESPONSIVE SECTIONS ========== */
@media (max-width: 767.98px) {
    .section-lg { padding: 3.5rem 0; }
    .section-md { padding: 2.5rem 0; }
    .hero-section {
        min-height: 70vh;
    }
    .display-hero {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

/* ========== "NASIL CALISIR" TIMELINE ========== */
.how-it-works .step-item {
    text-align: center;
    position: relative;
}
.how-it-works .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* ========== SKIP TO CONTENT (Accessibility) ========== */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 9999;
}
.skip-to-content:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    background: var(--sage-600);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ========== PREFERS REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-on-scroll { opacity: 1 !important; transform: none !important; }
}

/* ========== Form Validation Styles ========== */
.form-control.input-validation-error,
.form-select.input-validation-error {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-control.input-validation-error:focus,
.form-select.input-validation-error:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.field-validation-error {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 0.25rem;
    display: block;
}

.validation-summary-errors {
    color: #dc3545;
    font-size: 0.9em;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid #f5c6cb;
    border-radius: 0.375rem;
    background-color: #fff5f5;
}

.validation-summary-errors ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
}

/* ========== Button Loading State ========== */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.75;
}
