/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --indigo-primary: #334365;
    --indigo-dark: #2A3852;
    --indigo-light: #3D5078;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #E5E7EB;
    --gray-dark: #6B7280;
    --text-dark: #1F2937;
    --text-light: #6B7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.feature-card h3,
.treatment-card h3,
.contact-details h3,
.footer-section h3,
.footer-section h4 {
    font-family: 'Playfair Display', serif;
}

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

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--indigo-primary);
    padding: 6px 0;
    text-align: center;
    line-height: 1.2;
    height: auto;
    min-height: auto;
}

.header-top .contact-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 1.2;
    height: auto;
}

.appointment-text {
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.or-text {
    color: var(--white);
    font-size: 13px;
    opacity: 0.9;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.appointment-link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
    font-size: 13px;
    transition: opacity 0.3s;
    white-space: nowrap;
    line-height: 1.2;
    display: inline-block;
    vertical-align: middle;
}

.appointment-link:hover {
    opacity: 0.8;
}

.phone-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    transition: opacity 0.3s;
    flex-wrap: nowrap;
    line-height: 1.2;
    vertical-align: middle;
}

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

.phone-link .icon {
    font-size: 16px;
    display: inline-block;
    animation: phoneRing 1.5s ease-in-out infinite;
    transform-origin: center center;
    line-height: 1;
    vertical-align: middle;
}

.phone-link span:not(.icon) {
    font-size: 13px;
    line-height: 1.2;
    vertical-align: middle;
}

@keyframes phoneRing {
    0%, 100% {
        transform: rotate(0deg);
    }
    10% {
        transform: rotate(-15deg);
    }
    20% {
        transform: rotate(15deg);
    }
    30% {
        transform: rotate(-12deg);
    }
    40% {
        transform: rotate(12deg);
    }
    50% {
        transform: rotate(-8deg);
    }
    60% {
        transform: rotate(8deg);
    }
    70% {
        transform: rotate(-5deg);
    }
    80% {
        transform: rotate(5deg);
    }
    90% {
        transform: rotate(-2deg);
    }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--indigo-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--indigo-primary);
    transition: width 0.3s;
}

.nav-link:hover {
    color: var(--indigo-primary);
    transform: scale(1.1);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--indigo-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    overflow: hidden;
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--indigo-primary);
    background-image: linear-gradient(135deg, var(--indigo-primary) 0%, var(--indigo-dark) 100%);
    transition: opacity 0.3s ease;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 67, 101, 0.6) 0%, rgba(51, 67, 101, 0.4) 100%);
    z-index: 1;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: bold;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

.slider-btn span {
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 100;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.dot.active {
    background: var(--white);
    width: 14px;
    height: 14px;
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(51, 67, 101, 0.1);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 50;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    pointer-events: none;
}

.hero-content * {
    pointer-events: auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--white);
    color: var(--indigo-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--indigo-primary);
}

/* Why Choose Us Section */
.why-choose {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--indigo-primary);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--indigo-primary);
    border-radius: 2px;
}

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

.feature-card {
    background-color: var(--white);
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    /* Diş şekli - üst kısım daha düz, alt kısım daha yuvarlak, yanlar oval */
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 67, 101, 0.03) 0%, rgba(51, 67, 101, 0.01) 100%);
    z-index: -1;
    border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(51, 67, 101, 0.2);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    color: var(--indigo-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    text-align: left;
}

.about-content-text {
    padding: 20px 0;
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
}

.about-content-text p {
    margin: 0;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    display: block;
}

.doctor-photo:not([src]),
.doctor-photo[src=""] {
    display: none;
}

/* Treatments Section */
.treatments {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
}

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

.treatment-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    border-top: 4px solid var(--indigo-primary);
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 67, 101, 0.2);
}

.treatment-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.treatment-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.treatment-icon span {
    font-size: 48px;
}

.treatment-card h3 {
    font-size: 24px;
    color: var(--indigo-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.treatment-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
    margin-bottom: 40px;
}

.review-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--indigo-primary);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(51, 67, 101, 0.2);
}

.review-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.review-stars .star {
    color: #FFD700;
    font-size: 24px;
    line-height: 1;
}

.review-text {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 48px;
    color: var(--indigo-primary);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.review-author {
    color: var(--indigo-primary);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

.review-date {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

.reviews-button-container {
    text-align: center;
    margin-top: 40px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-top: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin: 0;
    padding: 0;
    width: 100%;
}

.contact-icon {
    font-size: 32px;
    color: var(--indigo-primary);
    flex-shrink: 0;
    width: 44px;
    min-width: 44px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-details h3 {
    font-size: 22px;
    color: var(--indigo-primary);
    margin-bottom: 10px;
    font-weight: 600;
    margin-top: 0;
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.8;
    word-break: break-word;
}

.phone-number {
    white-space: nowrap;
    line-height: 1.8;
    margin: 0;
}

.phone-number a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    font-size: inherit;
}

.phone-number a:hover {
    color: var(--indigo-primary);
}

.contact-details a {
    color: var(--indigo-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--indigo-dark);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--indigo-primary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-section p {
    opacity: 0.9;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero {
        height: 500px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .slider-btn-prev {
        left: 10px;
    }

    .slider-btn-next {
        right: 10px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text {
        text-align: center;
    }

    .about-content-text {
        text-align: center;
    }

    .features-grid,
    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 30px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .header-top .contact-info {
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .appointment-text {
        font-size: 14px;
    }

    .or-text {
        font-size: 11px;
    }

    .appointment-link {
        font-size: 13px;
    }

    .phone-link {
        font-size: 11px;
    }

    .logo-text {
        font-size: 22px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

