/* Mavi Gradient Şerit */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #1a6fc9, #3498db, #5dade2, #3498db, #1a6fc9);
    z-index: 9999;
}

/* Genel Stiller */
:root {
    --primary-color: #0077b6;
    --secondary-color: #48cae4;
    --accent-color: #00b4d8;
    --dark-color: #023e8a;
    --light-color: #caf0f8;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #03045e;
    --light-bg: #f8f9fa;
    --border-radius: 5px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

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

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

a:hover {
    color: var(--dark-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.primary:hover {
    background-color: var(--dark-color);
    color: var(--light-text);
}

.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

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

.underline {
    height: 4px;
    width: 70px;
    background-color: var(--accent-color);
    margin: 0 auto;
}

/* Header Stili */
header {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background-color: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

header .logo img {
    max-height: 80px;
}

header nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Bölümü */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/teomanhoca1.webp');
    background-size: 100% auto;
    background-position: center 30%;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-text);
    text-align: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Hakkımda Bölümü */
.about {
    padding: 50px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
}

/* Uzmanlık Alanları */
.specialties {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.specialty-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.specialty-card:hover {
    transform: translateY(-10px);
}

.specialty-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.specialty-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Yayınlar Bölümü */
.publications {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.publications-content {
    max-width: 700px;
    margin: 0 auto;
}

.publications-content p {
    margin-bottom: 30px;
}

/* İletişim Bölümü */
.contact {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* Bağlantılar Bölümü */
.links {
    padding: 100px 0;
    background-color: #fff;
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.link-card {
    background-color: var(--light-bg);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    color: var(--primary-color);
}

.link-card:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Footer Bölümü */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-logo h3 {
    margin-bottom: 10px;
}

.footer-social a {
    color: var(--light-text);
    margin-left: 20px;
    font-size: 1.5rem;
}

.footer-social a:hover {
    color: var(--secondary-color);
}

.footer-social a.language-link {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 4px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333;
    font-size: 0.9rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-social a.language-link:hover {
    background: #e9e9e9;
    color: var(--primary-color);
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
    }
    
    .footer-social a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* 480px ve altı için ekstra mobil düzenlemeler */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    header .container {
        flex-direction: column;
        padding: 0 8px;
    }
    .logo img {
        max-height: 60px !important;
    }
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100vw;
        left: 0;
        top: 60px;
        background: #fff;
        position: fixed;
        z-index: 9999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.13);
        padding: 0;
    }
    nav ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
        width: 100%;
        text-align: left;
    }
    nav ul li a {
        display: block;
        padding: 18px 20px;
        font-size: 1.08rem;
    }
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 18px;
        top: 18px;
        z-index: 10001;
    }
    .hero {
        height: 60vh;
        padding-top: 70px;
        background-size: cover;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px 0;
    }
    .about {
        padding: 0 0 16px 0 !important;
        margin-top: 0 !important;
    }
    .section-header {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        padding-top: 0 !important;
    }
    .section-header h2 {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    .about-content {
        flex-direction: column;
        gap: 18px;
    }
    .about-image img {
        width: 100%;
        max-width: 320px;
    }
    .specialties {
        padding: 40px 0;
    }
    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .specialty-card {
        padding: 18px 8px;
    }
    .faq .section-header h2 {
        font-size: 1.2rem;
    }
    .accordion-header {
        padding: 12px 10px;
        font-size: 1rem;
    }
    .accordion-body {
        padding: 12px 10px !important;
        font-size: 0.98rem;
    }
    .hospital-info {
        padding: 18px 6px 14px 6px !important;
        font-size: 1rem;
    }
    .carousel-container {
        max-width: 98vw !important;
    }
    .carousel-img {
        border-radius: 6px !important;
    }
    .seo-highlight {
        padding: 14px 6px 14px 6px !important;
        font-size: 1rem;
    }
    .contact-modern {
        padding: 18px 4px !important;
        max-width: 98vw !important;
    }
    .contact-info-modern > div, .contact-info-modern > a {
        font-size: 1rem !important;
    }
    .contact-info-modern .fab, .contact-info-modern .fas {
        font-size: 1.2rem !important;
    }
    .contact-info-modern .whatsapp-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-logo h3 {
        font-size: 1.1rem;
    }
    .footer-social a {
        font-size: 1.2rem;
        margin: 0 6px;
    }
    .whatsapp-float-btn {
        right: 8px !important;
        bottom: 10px !important;
        width: 44px !important;
        height: 44px !important;
        font-size: 1.3rem !important;
    }
}

/* Hamburger Menü (Off-canvas Sidebar) */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9998;
    transition: opacity 0.3s;
}
.mobile-menu-open .mobile-menu-overlay {
    display: block;
}
nav ul.mobile-sidebar {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 78vw;
    max-width: 340px;
    background: #fff;
    z-index: 9999;
    box-shadow: 2px 0 24px rgba(0,0,0,0.13);
    padding: 32px 0 0 0;
    overflow-y: auto;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1);
    transform: translateX(-100%);
}
.mobile-menu-open nav ul.mobile-sidebar {
    transform: translateX(0);
}
nav ul.mobile-sidebar li {
    margin: 0;
    border-bottom: 1px solid #eee;
    width: 100%;
    text-align: left;
}
nav ul.mobile-sidebar li a {
    display: block;
    padding: 22px 28px;
    font-size: 1.18rem;
    font-weight: 600;
    color: #222;
}
nav ul.mobile-sidebar li:last-child {
    border-bottom: none;
}
.mobile-menu-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 2.2rem;
    color: #222;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
}
@media (min-width: 769px) {
    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }
    .logo {
        margin-right: 20px;
    }
    nav {
        display: flex;
        justify-content: flex-end;
        width: auto;
    }
    .mobile-menu-btn, .mobile-menu-overlay, .mobile-menu-close {
        display: none !important;
    }
    nav ul.mobile-sidebar {
        display: flex !important;
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        max-width: none;
        background: none;
        box-shadow: none;
        padding: 0;
        transform: none;
        overflow: visible;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    nav ul.mobile-sidebar li {
        border-bottom: none;
        width: auto;
        text-align: center;
        margin: 0 5px;
        display: inline-block;
    }
    nav ul.mobile-sidebar li a {
        padding: 12px 15px;
        font-size: 0.95rem;
        color: #222;
        font-weight: 500;
        white-space: nowrap;
    }
    nav ul.mobile-sidebar li a:hover {
        color: var(--primary-color);
    }
}

/* Akordiyon Menü Stili */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

.accordion-header:hover {
    background-color: #f7f7f7;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
    flex-grow: 1;
}

.accordion-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease-in-out;
    color: var(--primary-color);
    margin-left: 15px;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease;
    padding: 0 20px;
}

.accordion-body {
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
    line-height: 1.7;
}
 
.accordion-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.accordion-item.active {
    border-color: var(--primary-color);
}

.accordion-item.active .accordion-header {
    color: var(--primary-color);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 700px; /* Adjust as needed */
    padding: 0 20px;
}

/* WhatsApp Float Button Stili - Pulse animasyonu eklendi */
.whatsapp-float-container {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 9999;
    width: 62px;
    height: 62px;
}

.whatsapp-float-btn {
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: background 0.2s;
    box-shadow: 0 4px 18px rgba(60,180,60,0.18);
    position: relative;
    z-index: 2;
}

.whatsapp-float-btn:hover {
    background: #1ebe57;
    box-shadow: 0 8px 32px rgba(60,180,60,0.22);
    color: #fff;
}

/* WhatsApp pulse animasyonu - Yeni yaklaşım */
.whatsapp-float-btn::before, 
.whatsapp-float-btn::after {
    content: '';
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 2px solid #25d366;
    left: -5px;
    right: -5px;
    top: -5px;
    bottom: -5px;
    animation: whatsapp-pulse 2s linear infinite;
    opacity: 0;
}

.whatsapp-float-btn::after {
    animation-delay: 1s;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .whatsapp-float-container {
        right: 12px;
        bottom: 14px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float-btn {
        font-size: 1.6rem;
    }
}

/* Mavi üst çubuk - Telefon numarası için */
.top-blue-bar {
    background-color: #4169e1; /* Royal Blue */
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
    z-index: 1001;
}

.top-blue-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-number-link {
    text-decoration: none !important;
    color: white !important;
    display: inline-block;
}

.phone-number-link:hover .phone-number {
    opacity: 0.9;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: white !important;
}

.phone-number span {
    color: white !important;
}

.phone-icon-wrapper {
    position: relative;
    width: 28px;
    height: 28px;
    margin-right: 10px;
}

.phone-number i {
    background-color: rgba(255, 255, 255, 0.25);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-size: 0.85rem;
    color: white !important;
    font-weight: 900 !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
}

/* Telefon pulse animasyonu - Yeni yaklaşım */
.phone-icon-wrapper::before, 
.phone-icon-wrapper::after {
    content: '';
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 1px solid white;
    left: -4px;
    right: -4px;
    top: -4px;
    bottom: -4px;
    animation: phone-pulse 2s linear infinite;
    opacity: 0;
}

.phone-icon-wrapper::after {
    animation-delay: 1s;
}

@keyframes phone-pulse {
    0% {
        transform: scale(1);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Hero bölümündeki logo stili - Merkezleme eklendi */
.hero-logo {
    max-width: 200px;
    margin: 0 auto 20px auto;
    display: block;
}

@media (max-width: 992px) {
    header .container {
        flex-direction: column;
        text-align: center;
    }
    
    header .logo {
        margin-bottom: 15px;
    }
    
    header nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header nav ul.mobile-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.9);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    
    header nav ul.mobile-sidebar li a {
        color: white;
        font-size: 1.2rem;
        padding: 15px;
    }
    
    .mobile-menu-btn, .mobile-menu-close {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary-color);
    }
    
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.7);
        z-index: 999;
    }
}

.header-lang-link {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 3px;
    background: #f0f7ff;
    border: 1px solid #d0e4f7;
    color: var(--primary-color) !important;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-lang-link:hover {
    background: #e0f0ff;
    color: var(--dark-color) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* E-E-A-T Bilimsel Referanslar Bölümü */
.scientific-references {
    margin-top: 40px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eef2f5;
}

.scientific-references h4 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.scientific-references h4 i {
    font-size: 1.2rem;
}

.scientific-references p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.scientific-references ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scientific-references li {
    position: relative;
    padding-left: 20px;
    color: #444;
}

.scientific-references li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.scientific-references li a {
    color: var(--primary-color);
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 500;
}

.scientific-references li a:hover {
    color: var(--dark-color);
} 