/* === GENEL OPTİMİZE CSS === */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #FF6600;
    --accent-rgb: 255, 102, 0;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
    --light-text: #ecf0f1;
    --muted-text: #6c757d;
}

body, html {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1 0 auto;
}

/* === TOP BAR === */
.top-bar {
    background: #2c3e50;
    color: #fff;
    font-size: 1rem;
    padding: 0.3rem 0;
    position: static;
}
.top-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.top-bar .contact-info span {
    color: #fff;
    font-size: 1rem;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
}
.top-bar .contact-info i {
    margin-right: 6px;
}

@media (max-width: 600px) {
    .top-bar {
        padding: 0.15rem 0.1rem;
    }
    .top-bar-content {
        gap: 0.1rem;
    }
    .top-bar .contact-info span {
        font-size: 0.75rem;
    }
}
@media (max-width: 480px) {
    .top-bar .contact-info span {
        font-size: 0.68rem;
    }
    .top-bar {
        padding: 0.08rem 0.05rem;
    }
}

/* === NAVBAR & LOGO === */
.navbar {
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 1.2rem 0 1.2rem 0;
    margin-bottom: 0;
}
.navbar-brand {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto 2.2rem auto;
    float: none;
    text-align: center;
}
.navbar-brand img {
    max-width: 220px;
    height: auto;
    margin: 0 auto;
    display: block;
}
@media (max-width: 600px) {
    .navbar {
        padding: 0.7rem 0;
        margin-bottom: 0.7rem;
    }
    .navbar-brand {
        margin-bottom: 1.2rem;
    }
    .navbar-brand img {
        max-width: 140px;
        min-width: 100px;
    }
}

@media (max-width: 600px) {
  .navbar-brand img {
    max-width: 170px !important;
    min-width: 120px !important;
    width: 100%;
    height: auto;
  }
}

/* === SLIDER === */
/* Masaüstü için daha büyük slider */
.main-swiper {
    width: 100%;
    max-width: 1200px;
    height: 480px;
    margin: 0 auto 32px auto;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    overflow: hidden;
    background: #fff;
}
.swiper-slide img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    display: block;
}

/* Tablet için responsive ayarlar */
@media (max-width: 900px) {
    .main-swiper {
        max-width: 100vw;
        height: 320px;
        margin: 0 auto 24px auto;
    }
    .swiper-slide img {
        height: 320px;
    }
}

/* Küçük tablet için */
@media (max-width: 768px) {
    .main-swiper {
        height: 280px;
        margin: 0 auto 20px auto;
    }
    .swiper-slide img {
        height: 280px;
    }
}

/* Mobil için responsive ayarlar */
@media (max-width: 600px) {
    .main-swiper {
        max-width: 100vw;
        height: 200px;
        margin: 0 auto 16px auto;
        border-radius: 12px 12px 0 0;
        margin-top: 70px !important;
    }
    .swiper-slide img {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 480px) {
    .main-swiper {
        height: 160px;
        margin: 0 auto 12px auto;
        border-radius: 8px 8px 0 0;
        margin-top: 60px !important;
    }
    .swiper-slide img {
        height: 160px;
        border-radius: 8px 8px 0 0;
    }
}

/* Swiper navigation butonları için responsive ayarlar */
.swiper-button-next,
.swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
    background: rgba(255,255,255,0.8);
    border-radius: 50%;
    color: #333 !important;
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
}

@media (max-width: 600px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 32px !important;
        height: 32px !important;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 28px !important;
        height: 28px !important;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 12px !important;
    }
}

/* Swiper pagination için responsive ayarlar */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.6);
    opacity: 0.7;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #0096AA;
}

@media (max-width: 600px) {
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}

/* === BAŞLIK, BUTONLAR, LOGOLAR === */
.text-center.mb-4 {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}
.text-center.mb-4 h1 {
    font-size: 2.5rem;
    color: #1a3c5d;
    font-weight: 700;
    margin-bottom: 1rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
}
.text-center.mb-4 h1 span {
    display: block;
}
@media (max-width: 600px) {
    .text-center.mb-4 h1 {
        font-size: 2rem;
        margin-bottom: 0.7rem;
    }
}
.lead.mt-3.mb-4 {
    font-size: 1.25rem;
    color: #3a5d7c;
    font-weight: 400;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .lead.mt-3.mb-4 {
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
    }
}
.col-md-4.mb-3 {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.btn.btn-lg {
    min-width: 320px;
    width: 100%;
    max-width: 480px;
    padding-left: 32px;
    padding-right: 32px;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
}
@media (max-width: 600px) {
    .col-md-4.mb-3 {
        max-width: 98vw;
        padding-left: 0;
        padding-right: 0;
    }
    .btn.btn-lg {
        min-width: 0;
        width: 100%;
        max-width: 100vw;
        font-size: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 1rem;
    }
}

/* === LOGO ALANI === */
.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 2px;
    margin-top: 0;
}
.footer-logos img {
    width: 140px;
    max-width: 40vw;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    transition: transform 0.2s;
}
@media (max-width: 600px) {
    .footer-logos {
        gap: 8vw;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .footer-logos img {
        width: 120px;
        max-width: 48vw;
    }
    .footer {
        margin-top: 0.1rem;
        padding-top: 0.5rem;
    }
    .main-swiper {
        height: 260px;
    }
    .swiper-slide img {
        height: 260px;
    }
}

@media (max-width: 600px) {
  .main-swiper,
  .main-swiper .swiper-wrapper,
  .main-swiper .swiper-slide {
    position: relative !important;
    height: 340px !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  .swiper-button-next,
  .swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
  }
  .swiper-button-next {
    right: 8px !important;
    left: auto !important;
  }
  .swiper-button-prev {
    left: 8px !important;
    right: auto !important;
  }
}
@media (max-width: 480px) {
  .main-swiper,
  .main-swiper .swiper-wrapper,
  .main-swiper .swiper-slide {
    position: relative !important;
    height: 260px !important;
  }
  .swiper-button-next,
  .swiper-button-prev {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    z-index: 10;
    margin: 0 !important;
    padding: 0 !important;
  }
  .swiper-button-next {
    right: 4px !important;
    left: auto !important;
  }
  .swiper-button-prev {
    left: 4px !important;
    right: auto !important;
  }
}

@media (max-width: 480px) {
    .main-swiper {
        height: 200px !important;
        min-height: 0 !important;
        max-height: none !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }
    .swiper-slide img {
        height: 200px !important;
        min-height: 0 !important;
        max-height: none !important;
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 0 !important;
    }
    .footer-logos img {
        width: 100px !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

/* === FOOTER === */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 1.2rem 0 1rem 0;
    text-align: center;
    position: sticky;
    bottom: 0;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1rem;
}
@media (max-width: 600px) {
    .footer {
        font-size: 0.95rem;
        padding: 0.7rem 0 0.7rem 0;
    }
} 

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} 

@media (max-width: 600px) {
  .splide {
    margin-top: 90px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  /* Slider ile başlık arasına az bir boşluk ekle */
  #main-splide.splide {
    margin-bottom: 12px !important;
  }
  .splide__track,
  .splide__list,
  .splide__slide {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    /* display ve height override etme! */
  }
  .text-center.mb-4 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .container-xxl {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .welcome-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
  .splide__pagination {
    position: absolute !important;
    left: 0;
    right: 0;
    bottom: 16px !important;
    margin: 0 auto !important;
    z-index: 20;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
  }
  .splide__slide {
    position: relative !important;
  }
  #main-splide.splide {
    position: relative !important;
  }
}

@media (min-width: 601px) {
  .splide {
    margin-top: 100px !important;
    }
} 