/* ========== Dr. Cayangul Dağ - Frontend CSS ========== */
:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --secondary: #1e3a8a;
    --accent: #10b981;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px -10px rgba(14, 165, 233, 0.2);
}

* { box-sizing: border-box; }
body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--dark);
    font-size: 16px;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: all .2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--dark); }

/* Top bar */
.top-bar {
    background: var(--secondary);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}
.top-bar a { color: #fff; margin-right: 16px; }
.top-bar a:hover { color: #bae6fd; }
.top-bar-contact i { margin-right: 6px; color: var(--primary); }
.top-bar-social a {
    display: inline-flex;
    width: 28px; height: 28px;
    align-items: center; justify-content: center;
    border-radius: 50%;
    margin: 0 2px;
    font-size: 13px;
    background: rgba(255,255,255,0.1);
}
.top-bar-social a:hover { background: var(--primary); color: #fff; }

/* Navbar */
.main-navbar {
    background: #fff;
    box-shadow: var(--shadow);
    padding: 12px 0;
}
.main-navbar .navbar-brand { font-weight: 800; font-size: 1.4rem; color: var(--secondary); }
.main-navbar .brand-text { color: var(--secondary); }
.main-navbar .nav-link {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 16px !important;
    position: relative;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--primary); }
.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px; bottom: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 10px;
    padding: 8px;
    margin-top: 8px;
}
.main-navbar .dropdown-item {
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 500;
}
.main-navbar .dropdown-item i { color: var(--primary); margin-right: 8px; width: 16px; }
.main-navbar .dropdown-item:hover { background: var(--primary-light); color: var(--primary-dark); }
.btn-call {
    background: var(--primary) !important;
    border: none !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}
.btn-call:hover { background: var(--primary-dark) !important; transform: translateY(-2px); }

/* Hero Slider */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .carousel-item {
    height: 640px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .carousel-item::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 70%);
}
.hero-slider .slider-content {
    position: absolute;
    top: 50%; left: 0; right: 0;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
}
.hero-slider .slider-content .subtitle {
    display: inline-block;
    background: var(--primary);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-slider .slider-content h1 {
    font-size: 3.5rem;
    color: #fff;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
}
.hero-slider .slider-content p {
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.95;
}
.hero-slider .btn-hero {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}
.hero-slider .btn-hero:hover { background: var(--primary-dark); transform: translateY(-2px); color: #fff; }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    opacity: .8;
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 40px; height: 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.6);
    border: none;
}

/* Section commons */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .pre {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 14px;
}
.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Services grid */
.services-grid .service-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: var(--shadow);
    transition: all .3s;
    height: 100%;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.services-grid .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.services-grid .service-card:hover::before { transform: scaleX(1); }
.services-grid .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.services-grid .service-icon {
    width: 70px; height: 70px;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 22px;
}
.services-grid h3 { font-size: 1.3rem; margin-bottom: 12px; }
.services-grid .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 14px;
}

/* Doctor hero */
.doctor-hero {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0fdfa 100%);
    position: relative;
    overflow: hidden;
}
.doctor-hero .doctor-image-wrap {
    position: relative;
    text-align: center;
}
.doctor-hero .doctor-image-wrap img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}
.doctor-hero .doctor-badge {
    position: absolute;
    background: #fff;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
}
.doctor-hero .doctor-badge.top { top: 30px; right: -10px; }
.doctor-hero .doctor-badge.bot { bottom: 30px; left: -10px; }
.doctor-hero .doctor-badge i {
    width: 42px; height: 42px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.doctor-hero .doctor-badge strong { display: block; font-size: 1.2rem; }
.doctor-hero .doctor-badge span { font-size: 13px; color: var(--gray); }
.doctor-hero .doctor-content .pre { color: var(--primary); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.doctor-hero .doctor-content h2 { font-size: 2.6rem; margin: 10px 0 20px; line-height: 1.2; }
.doctor-hero .doctor-content .lead { font-size: 1.1rem; color: var(--gray); margin-bottom: 24px; }
.doctor-hero .doctor-features { list-style: none; padding: 0; margin-bottom: 30px; }
.doctor-hero .doctor-features li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}
.doctor-hero .doctor-features i { color: var(--accent); font-size: 18px; }

/* Departments */
.departments { background: var(--light); }
.dept-card {
    background: #fff;
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
    height: 100%;
    border: 1px solid var(--border);
}
.dept-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.dept-card .dept-icon {
    width: 80px; height: 80px;
    margin: 0 auto 18px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    transition: all .3s;
}
.dept-card:hover .dept-icon { background: var(--primary); color: #fff; }
.dept-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.dept-card p { font-size: 14px; color: var(--gray); margin: 0; }

/* Call to action */
.cta-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-hero::before {
    content: '';
    position: absolute;
    right: -100px; top: -100px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-hero::after {
    content: '';
    position: absolute;
    left: -80px; bottom: -80px;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}
.cta-hero h2 { color: #fff; font-size: 2.5rem; font-weight: 800; margin-bottom: 14px; }
.cta-hero p { opacity: .95; font-size: 1.1rem; margin-bottom: 0; }
.cta-hero .btn-cta {
    background: #fff;
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cta-hero .btn-cta:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

/* Blog cards */
.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .3s;
    height: 100%;
    border: 1px solid var(--border);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .blog-image {
    height: 220px;
    overflow: hidden;
    background: var(--light);
}
.blog-card .blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-image img { transform: scale(1.08); }
.blog-card .blog-body { padding: 24px; }
.blog-card .blog-meta {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 10px;
}
.blog-card .blog-meta i { color: var(--primary); margin-right: 4px; }
.blog-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card h3 a { color: var(--dark); }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card .blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    margin-top: 8px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #cbd5e1;
    padding-top: 20px;
}
.footer-about p { color: #94a3b8; }
.footer-heading {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 2px;
    background: var(--primary);
}
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { padding: 6px 0; color: #94a3b8; }
.footer-links a { color: #cbd5e1; }
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact i { color: var(--primary); margin-right: 8px; width: 18px; }
.footer-contact a { color: #cbd5e1; }
.footer-social { margin-top: 16px; }
.footer-social a {
    display: inline-flex;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    align-items: center; justify-content: center;
    margin-right: 6px;
}
.footer-social a:hover { background: var(--primary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #94a3b8;
    font-size: 14px;
}
.footer-bottom a { color: var(--primary); }

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    right: 24px; bottom: 24px;
    width: 58px; height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, .5);
    z-index: 999;
    animation: pulse 2s infinite;
}
.whatsapp-float:hover { color: #fff; background: #128c7e; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .6); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Page breadcrumb */
.page-breadcrumb {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}
.page-breadcrumb h1 { color: #fff; font-size: 2.6rem; margin-bottom: 10px; }
.page-breadcrumb .breadcrumb {
    justify-content: center;
    background: transparent;
    margin: 0;
}
.page-breadcrumb .breadcrumb a,
.page-breadcrumb .breadcrumb-item.active { color: #e0f2fe; }
.page-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #bae6fd; }

/* Blog/article content */
.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}
.article-content img { border-radius: 10px; margin: 16px 0; }
.article-content h2, .article-content h3 { margin-top: 30px; margin-bottom: 14px; }
.article-content p { margin-bottom: 16px; }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 12px 20px;
    background: var(--primary-light);
    margin: 20px 0;
    font-style: italic;
}

/* Contact form */
.contact-wrap .contact-info {
    background: var(--dark);
    color: #fff;
    padding: 40px 32px;
    border-radius: 14px;
    height: 100%;
}
.contact-wrap .contact-info h3 { color: #fff; margin-bottom: 20px; }
.contact-wrap .info-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-wrap .info-item i {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.contact-wrap .info-item strong { display: block; color: #fff; }
.contact-wrap .info-item a { color: #cbd5e1; }
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}
.contact-form .form-control,
.contact-form .form-select {
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 12px;
}
.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.contact-form .btn-submit {
    background: var(--primary);
    color: #fff;
    padding: 14px 32px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    width: 100%;
}
.contact-form .btn-submit:hover { background: var(--primary-dark); }
.honeypot-field { position: absolute; left: -9999px; visibility: hidden; }

/* Responsive */
@media (max-width: 991px) {
    .hero-slider .carousel-item { height: 480px; }
    .hero-slider .slider-content h1 { font-size: 2.2rem; }
    .section-title h2, .cta-hero h2 { font-size: 1.8rem; }
    .doctor-hero .doctor-content h2 { font-size: 2rem; }
    .top-bar-contact a { display: block; margin: 2px 0; }
}
@media (max-width: 575px) {
    .section { padding: 60px 0; }
    .hero-slider .carousel-item { height: 420px; }
    .hero-slider .slider-content h1 { font-size: 1.6rem; }
    .hero-slider .slider-content p { font-size: 1rem; }
}
