/* ===== CSS Variables ===== */
:root {
    --primary: #6b4c82;
    --primary-light: #9b7ab5;
    --primary-dark: #4a3059;
    --accent: #e8b4b8;
    --accent-dark: #d4888e;
    --bg-light: #f9f5fb;
    --bg-section: #fdf8ff;
    --text: #333340;
    --text-light: #666;
    --text-muted: #999;
    --white: #ffffff;
    --border: #e8e0f0;
    --shadow: 0 4px 20px rgba(107,76,130,.12);
    --shadow-hover: 0 8px 40px rgba(107,76,130,.22);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all .3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Nunito', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1,h2,h3,h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.3;
    color: var(--primary-dark);
}

/* ===== Utility ===== */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 90px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .5rem; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; margin-bottom: 3rem; }

.badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(107,76,130,.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107,76,130,.45);
}
.btn-outline {
    border-color: var(--primary);
    color: var(--primary);
    background: transparent;
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: .85rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    padding: 12px 0;
}
.navbar.dark-bg {
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}
.navbar-brand .logo-icon {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.navbar.white-text .navbar-brand { color: var(--white); }
.navbar.white-text .nav-link { color: rgba(255,255,255,.9); }
.navbar.white-text .nav-link:hover { color: var(--white); }

.nav-menu { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--bg-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar.white-text .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(74,48,89,.88) 0%, rgba(107,76,130,.75) 60%, rgba(155,106,181,.6) 100%);
    z-index: 0;
}
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    pointer-events: none;
}
.hero-blob-1 { width: 500px; height: 500px; background: var(--accent); top: -100px; right: -100px; }
.hero-blob-2 { width: 300px; height: 300px; background: #fff; bottom: -50px; left: 10%; }

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}
.hero-content .badge { background: rgba(255,255,255,.2); backdrop-filter: blur(5px); }
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.15;
}
.hero-title span { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 480px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}
.stat-item { color: var(--white); }
.stat-number { font-size: 2rem; font-weight: 800; line-height: 1; font-family: 'Playfair Display', serif; }
.stat-label { font-size: .82rem; opacity: .75; letter-spacing: 1px; text-transform: uppercase; }

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card {
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    color: var(--white);
}
.hero-card-icon { font-size: 4rem; margin-bottom: 1rem; }
.hero-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.hero-card p { opacity: .8; font-size: .95rem; margin-bottom: 1.5rem; }
.hero-card-features { display: flex; flex-direction: column; gap: 12px; }
.hero-card-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.08);
    padding: 10px 14px;
    border-radius: 10px;
    font-size: .9rem;
}
.hero-card-feature span:first-child { font-size: 1.2rem; }

/* ===== Features / Why ===== */
.features { background: var(--bg-section); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}
.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feature-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bg-light), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.feature-card p { color: var(--text-light); font-size: .92rem; }

/* ===== Classes / Dersler ===== */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}
.class-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}
.class-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.class-img {
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
}
.class-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.class-card:hover .class-img img { transform: scale(1.07); }
.class-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--bg-light), var(--accent));
}

.class-level {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(6px);
    color: var(--primary);
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: .5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.class-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.class-category {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: .5rem;
}
.class-body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.class-body p { color: var(--text-light); font-size: .9rem; flex: 1; margin-bottom: 1.2rem; }
.class-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}
.class-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .85rem;
    color: var(--text-muted);
}
.class-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.class-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}
.class-price span { font-size: .8rem; font-weight: 400; color: var(--text-muted); }

/* ===== Testimonials ===== */
.testimonials { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius);
    padding: 28px;
    color: var(--white);
    transition: var(--transition);
}
.testimonial-card:hover { background: rgba(255,255,255,.15); transform: translateY(-4px); }
.stars { color: #ffd700; font-size: 1rem; margin-bottom: .8rem; letter-spacing: 2px; }
.testimonial-text { font-size: .95rem; opacity: .88; margin-bottom: 1.2rem; font-style: italic; line-height: 1.8; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}
.author-info strong { display: block; font-size: .95rem; }
.author-info small { opacity: .7; font-size: .82rem; }

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); color: var(--white); margin-bottom: .8rem; }
.cta-section p { color: rgba(255,255,255,.88); margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}
.contact-info-card {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: var(--radius);
    padding: 40px;
    color: var(--white);
}
.contact-info-card h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.contact-info-card p { opacity: .82; margin-bottom: 2rem; }
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.5rem;
}
.contact-item-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.contact-item strong { display: block; margin-bottom: 2px; }
.contact-item span { opacity: .78; font-size: .9rem; }

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.contact-form-card h3 { margin-bottom: 1.5rem; }

/* ===== Forms ===== */
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

label {
    display: block;
    font-weight: 700;
    font-size: .88rem;
    color: var(--text);
    margin-bottom: 6px;
}

input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="number"], select, textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-family: inherit;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(107,76,130,.1);
}
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.form-check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.form-check input[type="checkbox"] { width: auto; cursor: pointer; accent-color: var(--primary); }

.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.2rem;
    font-size: .92rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #fce4ec; color: #c62828; border: 1px solid #f48fb1; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

/* ===== Auth Pages ===== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), #9b6ab5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
    position: relative;
}
.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.auth-card {
    background: var(--white);
    border-radius: 24px;
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-logo .logo-icon-lg {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}
.auth-logo h2 { font-size: 1.7rem; color: var(--primary-dark); }
.auth-logo p { color: var(--text-light); font-size: .92rem; }
.auth-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: .85rem;
}
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 40%; height: 1px;
    background: var(--border);
}
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%; right: 0;
    width: 40%; height: 1px;
    background: var(--border);
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: .9rem;
    color: var(--text-light);
}
.auth-footer a { color: var(--primary); font-weight: 700; }

/* ===== Admin ===== */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-dark), var(--primary));
    padding: 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: var(--transition);
}
.sidebar-header {
    padding: 28px 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
}
.sidebar-nav { padding: 16px 12px; }
.sidebar-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    padding: 8px 14px 4px;
    margin-top: 8px;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 10px;
    color: rgba(255,255,255,.78);
    font-weight: 600;
    font-size: .9rem;
    transition: var(--transition);
    margin-bottom: 2px;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(255,255,255,.12);
    color: var(--white);
}
.sidebar-link .icon { font-size: 1.1rem; width: 22px; text-align: center; }

.admin-main {
    margin-left: 260px;
    flex: 1;
    background: #f4f0f9;
    min-height: 100vh;
}
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 10px rgba(0,0,0,.05);
}
.admin-topbar h1 { font-size: 1.3rem; color: var(--primary-dark); }
.admin-content { padding: 32px; }

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.stat-card-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.stat-card-icon.purple { background: linear-gradient(135deg, var(--bg-light), #d4b8e8); }
.stat-card-icon.pink { background: linear-gradient(135deg, #fde8ec, #f5b8c4); }
.stat-card-icon.green { background: linear-gradient(135deg, #e8f5e9, #b8e0c4); }
.stat-card-icon.blue { background: linear-gradient(135deg, #e3f2fd, #b8d8f0); }
.stat-card-info strong { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.stat-card-info small { color: var(--text-muted); font-size: .83rem; }

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 24px;
}
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h3 { font-size: 1.05rem; }
.card-body { padding: 0; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
    background: var(--bg-light);
    padding: 12px 18px;
    text-align: left;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    white-space: nowrap;
}
td {
    padding: 14px 18px;
    border-top: 1px solid var(--border);
    font-size: .9rem;
    vertical-align: middle;
}
tr:hover td { background: var(--bg-light); }

.badge-pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
}
.badge-green { background: #e8f5e9; color: #2e7d32; }
.badge-red { background: #fce4ec; color: #c62828; }
.badge-blue { background: #e3f2fd; color: #1565c0; }
.badge-orange { background: #fff3e0; color: #e65100; }
.badge-gray { background: #f5f5f5; color: #616161; }

.action-btns { display: flex; gap: 6px; }
.action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.action-btn-edit { background: #e3f2fd; color: #1565c0; }
.action-btn-edit:hover { background: #1565c0; color: #fff; }
.action-btn-delete { background: #fce4ec; color: #c62828; }
.action-btn-delete:hover { background: #c62828; color: #fff; }
.action-btn-view { background: #e8f5e9; color: #2e7d32; }
.action-btn-view:hover { background: #2e7d32; color: #fff; }

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
}
.page-header h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; }
.page-header p { opacity: .82; font-size: 1.05rem; }
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
    font-size: .88rem;
    opacity: .75;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { opacity: 1; }

/* ===== Footer ===== */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,.82);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-brand .navbar-brand { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; opacity: .72; line-height: 1.8; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .88rem; opacity: .72; transition: var(--transition); }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    margin-bottom: .8rem;
    opacity: .78;
}
.social-links { display: flex; gap: 10px; margin-top: 1.2rem; }
.social-link {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--white);
}
.social-link:hover { background: var(--primary-light); transform: translateY(-2px); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .85rem;
    opacity: .6;
}

/* ===== Scroll to top ===== */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 48px; height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    border: none;
    z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== Detail Page ===== */
.ders-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}
.ders-detail-body h2 { margin: 1.5rem 0 .8rem; font-size: 1.3rem; }
.ders-detail-body p { color: var(--text-light); line-height: 1.9; }
.detail-sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    padding: 28px;
    position: sticky;
    top: 100px;
}
.detail-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 1.2rem; }
.detail-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 1.5rem; }
.detail-meta-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: .9rem;
}
.detail-meta-item:last-child { border-bottom: none; }
.detail-meta-item strong { color: var(--text-muted); font-weight: 600; }

/* ===== Filter Bar ===== */
.filter-bar {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.filter-bar label { font-size: .85rem; white-space: nowrap; margin-bottom: 0; }
.filter-bar select { width: auto; padding: 8px 32px 8px 12px; font-size: .88rem; }
.filter-bar .search-input { flex: 1; min-width: 200px; padding: 8px 14px; }

/* ===== Mobile Sidebar Overlay ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;
}
.sidebar-overlay.active { display: block; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .ders-detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar-card { position: static; }
    .admin-layout { flex-direction: column; }
    .admin-main { margin-left: 0; }
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        top: 0; left: 0; bottom: 0;
        width: 260px;
    }
    .sidebar.open { transform: translateX(0); }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions { display: none; }
    .hamburger { display: flex; }
    .nav-menu.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(255,255,255,.98);
        backdrop-filter: blur(10px);
        align-items: center;
        justify-content: center;
        gap: 8px;
        z-index: 999;
    }
    .nav-menu.open .nav-link { font-size: 1.2rem; padding: 14px 28px; }
    .nav-menu.open .nav-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }
    .nav-close {
        position: absolute;
        top: 24px; right: 24px;
        font-size: 1.8rem;
        cursor: pointer;
        color: var(--text);
        background: none;
        border: none;
    }
    .section-padding { padding: 60px 0; }
    .form-row { grid-template-columns: 1fr; }
    .auth-card { padding: 32px 24px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .admin-topbar { padding: 14px 20px; }
    .admin-content { padding: 20px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .classes-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 20px; }
    .stats-row { grid-template-columns: 1fr; }
}
