/* 
    Danışman Clinic - Modern Boutique Dental Clinic 
    Design System & Styles
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Primary Colors */
    --navy: #001F3F;
    --navy-light: #003366;
    --gold: #C5A059;
    --gold-light: #D4B67C;
    --cream: #FAF9F6;
    --white: #FFFFFF;
    
    /* Text Colors */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --text-on-navy: #FFFFFF;
    
    /* UI Elements */
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-strong: 0 20px 40px rgba(0, 31, 63, 0.1);
    
    /* Spacing */
    --section-padding: 100px 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Navigation --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.4s ease;
}

#navbar.scrolled {
    background: var(--glass);
    backdrop-filter: blur(15px);
    padding: 15px 0;
    box-shadow: var(--shadow-soft);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: 0.3s ease;
}

#navbar:not(.scrolled) .logo img {
    /* No filter - use original colors */
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--navy);
}

#navbar.scrolled .nav-links a {
    color: var(--navy);
}

#navbar:not(.scrolled) .nav-links a {
    color: var(--white);
}

#navbar:not(.scrolled) .btn-appointment {
    border-color: var(--white);
    background: transparent;
    color: var(--white);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-btns {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: 0.3s;
}

#navbar:not(.scrolled) .mobile-toggle span {
    background: var(--white);
}

.btn-appointment {
    background: var(--navy);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid var(--navy);
}

.btn-appointment:hover {
    background: transparent;
    color: var(--navy);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 100px;
    background-image: linear-gradient(rgba(0, 31, 63, 0.4), rgba(0, 31, 63, 0.7));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    padding-left: 0;
}

.hero h1 {
    font-size: 5rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.1rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.btn-white {
    background: var(--white);
    color: var(--navy);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-white:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--white);
}

.gold-span {
    color: var(--gold);
    font-style: italic;
}

/* --- Services --- */
.services {
    padding: var(--section-padding);
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.title-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--cream);
    padding: 50px 40px;
    border-radius: 15px;
    transition: 0.5s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--gold);
    box-shadow: var(--shadow-strong);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}

/* --- Boutique Section --- */
.boutique {
    padding: var(--section-padding);
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 80px;
}

.boutique-content {
    flex: 1;
}

.boutique-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.boutique-content p {
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.boutique-image {
    flex: 1;
}

.boutique-image img {
    width: 100%;
    border-radius: 20px;
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    background: var(--cream);
    font-family: inherit;
    outline: none;
}

.contact-form button {
    background: var(--gold);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.contact-form button:hover {
    background: var(--navy);
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: var(--navy);
    color: var(--white) !important;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 30px;
    border: 1px solid var(--navy);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 31, 63, 0.12);
}

.btn-directions:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(197, 160, 89, 0.25);
}

.btn-directions i {
    font-size: 0.85rem;
    color: var(--gold-light);
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-directions:hover i {
    color: var(--white);
    transform: scale(1.15);
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile --- */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px 5%;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 999;
        gap: 30px;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        color: var(--navy) !important;
        font-size: 1rem !important;
        letter-spacing: 2px;
    }

    .mobile-toggle {
        display: flex;
        z-index: 1000;
        position: relative;
    }

    .mobile-toggle.active span {
        background: var(--navy) !important;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding-bottom: 60px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 0.9rem;
        margin: 0 auto 30px;
        padding: 0 20px;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .btn-appointment {
        width: 80%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    .subhero h1 {
        font-size: 2rem !important;
    }

    .boutique h2 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

/* --- WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #20BA5A;
    color: #fff;
    animation: none;
}

@media (max-width: 992px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    position: static;
    width: auto;
    z-index: auto;
    padding: 0;
    margin: 0 0 12px;
    background: none;
    box-shadow: none;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
}
.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    opacity: 0.45;
}
.subhero .breadcrumbs,
.subhero .breadcrumbs a,
.subhero .breadcrumbs span {
    color: rgba(255,255,255,0.7);
}
.subhero .breadcrumbs a:hover {
    color: var(--gold);
}

/* --- Service detail --- */
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
    gap: 50px;
    align-items: start;
}
.service-cover {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    margin-bottom: 36px;
}
.service-body {
    color: var(--text-muted);
    line-height: 2;
    font-size: 1.05rem;
}
.aside-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}
.aside-card h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}
.aside-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.related-list {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
}
.related-list li {
    border-bottom: 1px solid rgba(0,31,63,0.08);
}
.related-list a {
    display: block;
    padding: 12px 0;
    color: var(--navy);
    font-weight: 500;
}
.related-list a:hover {
    color: var(--gold);
}

/* --- Comments --- */
.comments-section {
    padding: 80px 0 120px;
    background: #F9F9F9;
}
.comments-section h2 {
    font-size: 2.4rem;
    color: var(--navy);
    margin-bottom: 30px;
}
.comment-flash {
    background: #d4edda;
    color: #155724;
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
}
.comment-flash.error {
    background: #f8d7da;
    color: #721c24;
}
.comment-list {
    display: grid;
    gap: 18px;
    margin-bottom: 50px;
}
.comment-card {
    background: var(--white);
    border-radius: 14px;
    padding: 22px 26px;
    box-shadow: var(--shadow-soft);
}
.comment-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 6px;
}
.comment-card time {
    font-size: 0.8rem;
    color: #94A3B8;
}
.comment-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 10px;
}
.stars {
    color: var(--gold);
    letter-spacing: 2px;
}
.comment-form {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-soft);
}
.comment-form h3 {
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 20px;
}
.comment-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border: 1px solid #E0E0E0;
    background: var(--cream);
    font-family: inherit;
    outline: none;
    border-radius: 8px;
}
.comment-form button {
    background: var(--gold);
    color: var(--white);
    padding: 14px 36px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    border-radius: 50px;
}
.comment-form button:hover {
    background: var(--navy);
}
.hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
.rating-input {
    border: 0;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.rating-input legend {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    width: 100%;
}
.rating-input input {
    display: none;
}
.rating-input label {
    font-size: 1.8rem;
    color: #D4D4D4;
    cursor: pointer;
    line-height: 1;
}
.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
    color: var(--gold);
}

@media (max-width: 992px) {
    .service-layout,
    .comment-form .form-row {
        grid-template-columns: 1fr;
    }
    .service-hero h1 {
        font-size: 2.2rem !important;
    }
}

/* --- Hekimlerimiz (Doctors) Styles --- */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.doctor-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 31, 63, 0.05);
    border: 1px solid rgba(0, 31, 63, 0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.12);
}

.doctor-img-box {
    position: relative;
    height: 380px;
    overflow: hidden;
    background: #001F3F;
}

.doctor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.doctor-card:hover .doctor-img-box img {
    transform: scale(1.04);
}

.doctor-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,31,63,0) 50%, rgba(0,31,63,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0.9;
}

.doctor-social-pills {
    display: flex;
    gap: 12px;
}

.doctor-social-pills a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.doctor-social-pills a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.doctor-body {
    padding: 35px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.doctor-title-badge {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.doctor-name {
    font-size: 1.7rem;
    color: var(--navy);
    margin-bottom: 12px;
    font-family: 'Playfair Display', serif;
}

.doctor-edu {
    font-size: 0.9rem;
    color: #64748B;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.doctor-edu i {
    color: var(--gold);
}

.doctor-bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 25px;
    flex: 1;
}

.doctor-specs {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.doctor-spec-tag {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: var(--navy);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
}

.doctor-footer {
    padding-top: 20px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doctor-btn-appointment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.doctor-btn-appointment:hover {
    color: var(--gold);
}

.doctor-btn-appointment i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.doctor-btn-appointment:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .doctor-img-box {
        height: 320px;
    }
}

