/* Anasayfa Özel Stilleri */

/* Genel Sayfa Bölümleri */
.page-section {
    padding: 100px 0;
}
.bg-light {
    background-color: #f8f9fa;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    font-size: 36px;
    margin-top: 0;
    margin-bottom: 20px;
}
.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
    font-size: 18px;
    line-height: 1.7;
    color: #6c757d;
}

/* ANA HERO BÖLÜMÜ */
.hero-main {
    height: 100vh;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: #fff;
    background-image: url('../img/main_hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}
.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
    padding-top: 100px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}
.hero-content h1 {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    max-width: 600px;
}
.hero-content p {
    font-size: 22px;
    margin-bottom: 40px;
    max-width: 600px;
}
.btn-hero {
    padding: 15px 40px;
    border: 2px solid #fff;
    color: #fff;
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-hero:hover {
    background-color: #fff;
    color: #333;
}
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: #fff;
    font-size: 24px;
    animation: bounce 2s infinite;
}

/* HİZMETLER */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.service-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    display: inline-block;
}

/* NEDEN BİZ */
.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.why-us-text h2 { text-align: left; }
.why-us-text ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.why-us-text ul li {
    margin-bottom: 15px;
    font-size: 17px;
}
.why-us-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}
.why-us-image {
    border-radius: 8px;
    overflow: hidden;
    height: 450px;
}
.why-us-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.why-us-content .btn-primary {
    display: inline-block;
    background-color: #2c3e50;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}
.why-us-content .btn-primary:hover {
    background-color: #34495e;
}

/* HASTA YORUMLARI */
.testimonials-section {
    padding: 80px 0;
    background-color: #2c3e50; /* Footer ile aynı renk */
    color: #fff;
    position: relative;
}
.testimonial-slider-wrapper {
    position: relative;
    padding: 0 50px; /* Oklar için kenarlara boşluk eklendi */
    overflow: hidden; /* Dışarı taşan kartları gizlemek için eklendi */
}
.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    overflow: visible; /* Kartların gölgelerinin görünmesi için */
}
.testimonial-card {
    flex: 0 0 48%; /* İki kart görünecek şekilde, aradaki boşlukla beraber */
    max-width: 48%;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 30px;
    text-align: left;
    box-shadow: none;
    margin: 0 1%; /* Kartlar arası boşluk */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-card .quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.testimonial-card p {
    font-style: italic;
    color: #ecf0f1; /* Yorum metni rengi */
    margin-bottom: 20px;
    flex-grow: 1; /* Esnek büyüme */
}
.testimonial-author {
    margin-top: auto; /* Yazarı en alta yaslar */
    text-align: right;
    width: 100%;
}
.author-details {
    text-align: right;
}
.author-name {
    font-weight: bold;
    display: block;
    color: #fff; /* İsim rengi */
}
.author-info {
    font-size: 0.9em;
    color: #bdc3c7; /* Unvan rengi */
    display: block;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
}
.slider-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
}
.slider-btn.prev-btn { left: 0; } /* Ok konumu güncellendi */
.slider-btn.next-btn { right: 0; } /* Ok konumu güncellendi */
.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider-pagination {
    text-align: center;
    margin-top: 40px; /* Slider ile arasına boşluk koyuldu */
    display: flex;
    justify-content: center; /* Ortalamak için */
    gap: 8px;
}

.slider-pagination span {
    width: 25px; /* Tire genişliği */
    height: 4px; /* Tire kalınlığı */
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.slider-pagination span.active {
    background-color: #fff; /* Aktif tire rengi */
    width: 40px; /* Aktif tire biraz daha uzun */
}

/* ANASAYFA CTA */
.cta-section-main {
    position: relative;
    padding: 100px 0;
    background: url('../img/implant_hero.jpeg') no-repeat center center/cover;
    text-align: center;
    color: #fff;
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.7); /* Koyu mavi overlay */
}
.cta-section-main .container {
    position: relative;
    z-index: 2;
}
.cta-section-main h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.cta-section-main p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.btn-cta {
    padding: 15px 40px;
    border: 2px solid #fff;
    color: #fff;
    background-color: transparent;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background-color: #fff;
    color: #333;
}

/* Animasyonlar */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -20px); }
  60% { transform: translate(-50%, -10px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .testimonial-card {
        flex: 0 0 98%;
        max-width: 98%;
    }
    .testimonial-slider-wrapper {
        padding: 0 15px; /* Mobilde yan boşluk azaltıldı */
    }
    .slider-btn.prev-btn { left: -5px; } /* Oklar yine içeri yakın */
    .slider-btn.next-btn { right: -5px; }
}

@media(max-width: 768px) {
    .hero-main {
        justify-content: center;
        background-attachment: scroll; /* Mobilde parallax performans sorunu yaşanmaması için */
        background-position: right center; /* Mobilde görseli sola kaydır */
    }
    
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        max-width: 90%;
    }
    
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; }
    .why-us-content {
        grid-template-columns: 1fr;
    }
    .why-us-image {
        margin-top: 40px;
        order: -1; /* Görseli üste taşı */
    }
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .testimonial-slider-wrapper {
        padding: 0;
    }
    .slider-btn.prev-btn { left: 5px; }
    .slider-btn.next-btn { right: 5px; }

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