/* ============================================
   Diş Takip Sistemi — Ana Site CSS
   ============================================ */

/* ─── Genel ─── */
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }

/* ─── Hero section ─── */
.hero-section {
    background: linear-gradient(135deg, #1a56db 0%, #0e3a7e 60%, #0b2d63 100%);
    color: #fff;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
.hero-section::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' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section h1 { font-size: 3rem; font-weight: 800; letter-spacing: -0.5px; }
.hero-section .lead { font-size: 1.25rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ─── Announcements ─── */
.announcements-bar {
    background: linear-gradient(90deg, #fef3c7, #fde68a);
    border-bottom: 2px solid #f59e0b;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

/* ─── Hizmet kartları ─── */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 1rem;
    overflow: hidden;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.service-card .card-icon {
    font-size: 2.5rem;
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e7f1ff, #dbeafe);
    display: flex; align-items: center; justify-content: center;
    color: #206bc4;
    margin: 0 auto;
}

/* ─── SSS ─── */
.faq-section { background: #f8fafc; }
.faq-section .accordion-item {
    border: none;
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    overflow: hidden;
}
.faq-section .accordion-button { font-weight: 600; }
.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #e7f1ff, #dbeafe);
    color: #1a56db;
    box-shadow: none;
}

/* ─── Sayfa başlıkları ─── */
.page-hero {
    background: linear-gradient(135deg, #1a56db 0%, #0e3a7e 100%);
    color: #fff;
    padding: 3rem 0 2.5rem;
    text-align: center;
    position: relative;
}
.page-hero h1 { font-size: 2rem; font-weight: 700; }
.page-hero p { opacity: 0.85; }

/* ─── Auth pages ─── */
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-card .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}
.auth-bg {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a56db 0%, #0e3a7e 50%, #0b2d63 100%);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* ─── İstatistik kartları (public) ─── */
.stat-box {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .2s ease;
}
.stat-box:hover { transform: translateY(-3px); }
.stat-box .stat-icon {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

/* ─── Stepper / adım gösterimi ─── */
.step-card {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 1.5rem;
}
.step-number {
    position: absolute; left: 0; top: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #206bc4, #1a56db);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem;
}

/* ─── Footer ─── */
footer { background: #0f172a !important; }
footer a:hover { color: #60a5fa !important; text-decoration: underline !important; }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero-section { padding: 3.5rem 0; }
    .hero-section h1 { font-size: 2rem; }
    .auth-bg { min-height: auto; padding: 1rem 0; }
}