/*--------------------------------------------------------------
  Proje      : Kırklareli Çilingir
  Dosya      : style-home.css
  Versiyon   : 1.0.0
  Geliştirici: Karaca Teknoloji
  Website    : https://karacatechnology.com/
  Açıklama   : Bu dosya Karaca Teknoloji tarafından geliştirilmiştir.
               İzinsiz kopyalanamaz, çoğaltılamaz veya kullanılamaz.
--------------------------------------------------------------*/

/* ====
   HERO SLIDER SECTION
   ==== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section .carousel {
    position: relative;
}

.hero-section .carousel-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    /* 16:9 oran */
    aspect-ratio: 16 / 9;
    min-height: 260px;
    max-height: 450px;
}

.hero-section .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-section .carousel-item picture,
.hero-section .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-section .carousel-caption {
    position: static;
    transform: none;
    z-index: 5;
    text-align: center;
    width: 100%;
    padding: 20px 100px;
}

.hero-section .carousel-caption .container {
    max-width: 750px;
}

.hero-section .carousel-caption h1,
.hero-section .carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section .carousel-caption .lead {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

.hero-section .carousel-caption p {
    font-size: 1rem;
    color: white;
    margin-bottom: 25px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* Carousel Indicators */
.hero-section .carousel-indicators {
    bottom: 20px;
    z-index: 10;
    position: absolute;
}

.hero-section .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    margin: 0 5px;
}

.hero-section .carousel-indicators button.active {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Carousel Controls */
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 87, 34, 0.8);
    border-radius: 50%;
    opacity: 0.8;
    transition: var(--transition);
    z-index: 10;
    position: absolute;
}

.hero-section .carousel-control-prev {
    left: 20px;
}

.hero-section .carousel-control-next {
    right: 20px;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-color);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 25px;
    height: 25px;
    background-size: 100% 100%;
}

/* Fade Effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* ====
   SERVICES SECTION
   ==== */

.services-section {
    padding: 80px 0;
    background: white;
}

.service-col {
    padding: 0 10px;
    margin-bottom: 20px;
}

.service-col a {
    color: unset;
    text-decoration: none;
}

.service-card {
    text-align: center;
    padding: 30px 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: white;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: block;
}

.service-card h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.service-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.service-card a {
    text-decoration: none;
    color: inherit;
}

/* ====
   COVERAGE AREA
   ==== */

.coverage-area {
    background: white;
    padding: 80px 0;
}

/* ====
   RESPONSIVE - LARGE TABLET (992px - 1199px)
   ==== */

@media (max-width: 1199px) {
    .hero-section .carousel-caption {
        padding: 20px 80px;
    }
}

/* ====
   RESPONSIVE - TABLET (768px - 991px)
   ==== */

@media (max-width: 991px) {
    .hero-section .carousel-caption {
        padding: 20px 60px;
    }

    .hero-section .carousel-caption h1,
    .hero-section .carousel-caption h2 {
        font-size: 2rem;
    }

    .hero-section .carousel-caption .lead {
        font-size: 1.2rem;
    }

    .hero-section .carousel-caption p {
        font-size: 0.95rem;
        max-width: 550px;
    }

    .services-section,
    .coverage-area {
        padding: 60px 0;
    }

    .service-card {
        padding: 25px 12px;
    }

    .service-card i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .service-card h5 {
        font-size: 1rem;
    }
}

/* ====
   RESPONSIVE - MOBILE (577px - 767px)
   ==== */

@media (max-width: 767px) {
    .hero-section .carousel-caption {
        padding: 20px 40px;
    }

    .hero-section .carousel-caption h1,
    .hero-section .carousel-caption h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .hero-section .carousel-caption .lead {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .hero-section .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .hero-section .carousel-control-prev {
        left: 10px;
    }

    .hero-section .carousel-control-next {
        right: 10px;
    }

    .hero-section .carousel-control-prev-icon,
    .hero-section .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    .hero-section .carousel-indicators {
        bottom: 10px;
    }

    .hero-section .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }

    .services-section,
    .coverage-area {
        padding: 50px 0;
    }

    .service-col {
        padding: 0 8px;
        margin-bottom: 16px;
    }

    .service-card {
        padding: 20px 10px;
    }

    .service-card i {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .service-card h5 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .service-card p {
        font-size: 0.85rem;
    }
}

/* ====
   RESPONSIVE - SMALL MOBILE (max 576px)
   ==== */

@media (max-width: 576px) {    .hero-section .carousel-caption {
    padding: 15px 25px;
}

    .hero-section .carousel-caption h1,
    .hero-section .carousel-caption h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .hero-section .carousel-caption .lead {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .hero-section .carousel-caption p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .btn-call {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .hero-section .carousel-control-prev {
        left: 5px;
    }

    .hero-section .carousel-control-next {
        right: 5px;
    }

    .hero-section .carousel-control-prev-icon,
    .hero-section .carousel-control-next-icon {
        width: 18px;
        height: 18px;
    }

    .hero-section .carousel-indicators {
        bottom: 5px;
    }

    .hero-section .carousel-indicators button {
        width: 7px;
        height: 7px;
        margin: 0 2px;
    }

    .services-section,
    .coverage-area {
        padding: 40px 0;
    }

    .service-col {
        padding: 0 6px;
        margin-bottom: 12px;
    }

    .service-card {
        padding: 18px 8px;
    }

    .service-card i {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .service-card h5 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .service-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* ====
   RESPONSIVE - EXTRA SMALL (max 400px)
   ==== */

@media (max-width: 400px) {
    .hero-section .carousel-caption {
        padding: 10px 20px;
    }

    .hero-section .carousel-caption h1,
    .hero-section .carousel-caption h2 {
        font-size: 1.2rem;
    }

    .hero-section .carousel-caption .lead {
        font-size: 0.95rem;
    }

    .hero-section .carousel-caption p {
        font-size: 0.8rem;
    }
}