:root {
    --primary-color: #0d47a1; /* Clinic Blue */
    --secondary-color: #1565c0;
    --accent-color: #42a5f5;
    --white: #ffffff;
    --bg-light: #f8fafd;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --success-color: #10b981;
    --error-color: #ef4444;
    
    --font-family: 'Urbanist', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-glass: 0 8px 32px 0 rgba(13, 71, 161, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

/* Glassmorphism Classes */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-glass);
    border-radius: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 10px 20px -10px var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--primary-color);
    color: var(--white);
}

.hover-glow:hover {
    box-shadow: 0 0 25px rgba(13, 71, 161, 0.4);
}

/* Premium Image Frame for About Section */
.premium-image-frame {
    position: relative;
    padding: 15px;
}
.premium-image-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 30px; bottom: 30px;
    border: 2px solid var(--accent-color);
    border-radius: 24px;
    z-index: -1;
}
.premium-image-frame::after {
    content: '';
    position: absolute;
    top: 30px; left: 30px; right: 0; bottom: 0;
    background: rgba(13, 71, 161, 0.05);
    border-radius: 24px;
    z-index: -1;
}
.premium-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}
.premium-image-frame:hover img {
    transform: scale(1.02);
}

/* Top Header */
.top-header {
    background: var(--primary-color);
    color: var(--white);
    font-size: 14px;
    padding: 8px 0;
}
.top-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn-top-pay {
    color: var(--white);
    background: rgba(255,255,255,0.15);
    padding: 4px 12px;
    border-radius: 30px;
    font-weight: 500;
}
.btn-top-pay:hover {
    background: rgba(255,255,255,0.3);
}
.lang-switch a {
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}
.lang-switch a.active {
    color: var(--white);
}

/* Main Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}
.main-header.scrolled {
    padding: 10px 0;
    background: rgba(255,255,255,0.95);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    max-height: 75px; /* Biraz daha büyütüldü */
    max-width: 250px;
    width: auto;
    object-fit: contain;
}
.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.desktop-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}
.desktop-nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    position: relative;
}
.desktop-nav a:hover {
    color: var(--primary-color);
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}
.desktop-nav a:hover::after {
    width: 100%;
}
.header-action {
    display: flex;
    align-items: center;
    gap: 15px;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary-color);
    cursor: pointer;
}

.fixed-actions {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}
.fixed-actions .f-btn {
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 18px;
    font-size: 26px;
    color: var(--white);
    background: var(--primary-color);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    position: relative;
    text-decoration: none;
}
.fixed-actions .f-btn span {
    font-size: 16px;
    font-weight: 700;
    margin-left: 15px;
    opacity: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    transform: translateX(10px);
}
.fixed-actions .f-btn:hover {
    width: 220px;
}
.fixed-actions .f-btn:hover span {
    opacity: 1;
    transform: translateX(0);
}
.fixed-actions .f-btn i {
    flex-shrink: 0;
}
.fixed-actions .whatsapp { background: #25D366; }
.fixed-actions .whatsapp:hover { background: #1eb956; }
.fixed-actions .call { background: var(--secondary-color); }
.fixed-actions .callback { background: var(--accent-color); }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    width: 90%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.close-modal {
    position: absolute;
    top: 15px; right: 15px;
    background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text-dark);
}
.modal-content h3 { margin-bottom: 10px; }
.modal-content p { color: var(--text-muted); margin-bottom: 25px; font-size: 15px; }

/* Forms */
.form-group {
    margin-bottom: 20px;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: var(--white);
    font-family: var(--font-family);
    font-size: 16px;
    transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(66, 165, 245, 0.1);
    outline: none;
}
.w-100 { width: 100%; }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--white);
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    padding: 80px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.active {
    right: 0;
}
.close-menu {
    position: absolute;
    top: 20px; left: 20px;
    background: none; border: none; font-size: 28px; cursor: pointer; color: var(--text-dark);
}
.mobile-nav-list ul {
    list-style: none;
}
.mobile-nav-list li {
    margin-bottom: 20px;
}
.mobile-nav-list a {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}
.mob-extra { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }

/* Home Slider (Gösterişli Ken Burns) */
.hero-slider {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    background: #000;
}
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
}
.slide.active { opacity: 1; }
.slide.active .bg-image {
    width: 100%; height: 100%;
    background-size: cover; background-position: center;
    animation: pulse 12s linear forwards;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 Aspect Ratio */
    transform: translate(-50%, -50%);
}
.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(13, 71, 161, 0.85) 0%, rgba(13, 71, 161, 0.4) 45%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slide-content {
    color: var(--white);
    flex: 1;
    max-width: 700px;
    padding-left: 10%;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s ease-out 0.5s;
    z-index: 2;
}
.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}
.slide-doctor-img {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 5%;
    z-index: 1;
}
.slide-doctor-img img {
    max-height: 95%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(-10px 10px 20px rgba(0,0,0,0.4));
}
.slide-content h1 {
    font-size: 72px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.slide-content p {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Marquee */
.marquee-wrap {
    display: flex;
    overflow: hidden;
    user-select: none;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 18px 0;
    border-top: none;
    border-bottom: none;
}
.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    gap: 2rem;
    animation: scrollmarquee 40s linear infinite;
}
@keyframes scrollmarquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}
.marquee-content span {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Sections */
.section { padding: 100px 0; }
.section-light { background: var(--bg-light); }
.section-white { background: var(--white); }
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}
.section-title p {
    color: var(--text-muted);
    font-size: 18px;
}

/* Services Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    padding: 45px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(13, 71, 161, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(13, 71, 161, 0.05) 0%, rgba(66, 165, 245, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(13, 71, 161, 0.2);
    box-shadow: 0 30px 60px -12px rgba(13, 71, 161, 0.15);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 44px;
    color: var(--primary-color);
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(13, 71, 161, 0.04);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.2);
}

.service-card h3 { 
    font-size: 22px; 
    margin-bottom: 20px; 
    font-weight: 800;
    color: var(--text-dark);
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.service-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    font-weight: 700;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-link i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--secondary-color);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 300px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.t-slide {
    position: absolute;
    top:0; left:0; width:100%;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 10px;
}
.t-slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 5;
}
.t-card {
    background: #fff;
    padding: 50px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
}
.premium-t-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 25px 50px -12px rgba(13, 71, 161, 0.15);
    transition: transform 0.3s ease;
}
.premium-t-card:hover {
    transform: translateY(-5px);
}
.t-quote-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 20px rgba(13, 71, 161, 0.3);
}
.t-stars {
    color: #fbbf24;
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 15px;
}
.t-slide p { font-size: 22px; font-weight: 500; font-style: italic; color: #334155; margin-bottom: 25px; line-height: 1.6; }
.t-slide h5 { color: var(--primary-color); font-size: 20px; font-weight: 800; }
.t-slide span { color: #94a3b8; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 5px; }

/* FAQ Accordion */
.faq-box { max-width: 800px; margin: 0 auto; }
.accordion { margin-bottom: 15px; border-radius: 12px; overflow: hidden; background: var(--white); border: 1px solid #eee; }
.accordion-header {
    padding: 20px 25px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}
.accordion-header:hover { background: #fafafa; }
.accordion-header.active { color: var(--primary-color); }
.accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: var(--white);
    color: var(--text-muted);
}
.accordion-header.active + .accordion-body {
    padding: 20px 25px;
}

.premium-faq-box { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.premium-accordion { 
    margin-bottom: 0; 
    border-radius: 16px; 
    background: var(--white); 
    border: 1px solid rgba(0,0,0,0.05); 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}
.premium-accordion:hover {
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}
.premium-accordion .accordion-header {
    padding: 22px 30px;
    font-size: 19px;
    border-radius: 16px;
}
.premium-accordion .accordion-body {
    font-size: 16px;
    line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.cta-banner h2 { color: var(--white); font-size: 40px; margin-bottom: 20px; }
.cta-banner .btn-primary {
    background: var(--white);
    color: var(--primary-color);
}
.cta-banner .btn-primary:hover {
    background: var(--bg-light);
    transform: scale(1.05);
}

/* Footer */
.main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 80px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.logo-footer .logo-text { color: var(--white); }
.social-links a {
    display: inline-flex;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-right: 10px;
}
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.footer-col ul a { color: #94a3b8; }
.footer-col ul a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; font-size: 14px; }

/* Responsive */
@media (max-width: 991px) {
    .desktop-nav, .btn-appointment { display: none; }
    .menu-toggle { display: block; }
    .hero-slider { height: 60vh; }
    .slide-content h1 { font-size: 40px; }
    .slide-content { padding-left: 20px; }
    .footer-inner { grid-template-columns: 1fr; gap: 30px; }
    
    /* Fixed Actions for Mobile - Stay on left middle */
    .fixed-actions {
        left: 15px;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        gap: 12px;
    }
    .fixed-actions .f-btn {
        width: 54px;
        height: 54px;
        padding-left: 14px;
        font-size: 24px;
    }
    .fixed-actions .f-btn span {
        display: none;
    }
    .fixed-actions .f-btn:hover {
        width: 54px;
    }
}

/* Testimonial Marquee */
.marquee-container {
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
    position: relative;
}
.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scroll-x 30s linear infinite;
    width: max-content;
}

/* Map Fix */
.contact-map-iframe {
    width: 100%;
    height: 600px;
    border: 0;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .contact-map-iframe {
        height: 400px;
    }
}
.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}
@keyframes scroll-x {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Services Slider */
.services-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin: 0 -15px;
}
.services-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 0;
}
.service-slide-item {
    flex: 0 0 calc(33.333% - 0px);
    padding: 0 15px;
    box-sizing: border-box;
    transition: opacity 0.4s ease;
}

@media (max-width: 992px) {
    .service-slide-item { flex: 0 0 50%; }
}
@media (max-width: 600px) {
    .service-slide-item { flex: 0 0 100%; }
}

.slider-nav {
    display: flex;
    gap: 10px;
}
.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    color: var(--primary-color);
}
.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Blog Styles */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 20px;
}
.blog-card .date {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}
.blog-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    line-height: 1.3;
}
.blog-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-detail-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
}
.blog-detail-content h2, .blog-detail-content h3 {
    margin: 30px 0 20px;
}
.blog-detail-content img {
    max-width: 100%;
    border-radius: 20px;
    margin: 30px 0;
}

