/* ------------------- GLOBAL ------------------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    color: #222;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    padding-top: 80px; /* fixed navbar için boşluk */
    min-height: 100vh; /* Sayfa yüksekliği her zaman tam ekran */
    display: flex;
    flex-direction: column;
    margin: 0;
}

main {
    flex: 1; /* İçerik alanını esnek yapar, footer sayfanın altına itilir */
}

/* ------------------- NAVBAR ------------------- */
.navbar {
    background-color: #000;
    border-bottom: 3px solid #f7c500;
    position: fixed; /* Navbar sabit */
    top: 0;
    width: 100%;
    z-index: 999;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f7c500 !important;
    letter-spacing: 1px;
}

.nav-link {
    color: #f5f5f5 !important;
    margin-left: 20px;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0%;
        height: 2px;
        background: #f7c500;
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .nav-link:hover, .nav-link.active {
        color: #f7c500 !important;
    }

/* ------------------- SLIDER ------------------- */
.carousel {
    position: relative; /* Caption absolute olduğunda doğru çalışır */
    z-index: 1;
    margin-top: 0; /* Body padding-top sayesinde boşluk sağlanır */
}

.carousel-item img {
    height: 60vh;
    object-fit: cover;
    filter: brightness(0.7);
}

.carousel-caption {
    position: absolute;
    top: 35%; /* Caption slider üzerinde */
    left: 10%;
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    padding: 25px 35px;
    border-left: 6px solid #f7c500;
    border-radius: 10px;
    backdrop-filter: blur(3px);
    z-index: 2;
}

    .carousel-caption h1 {
        font-size: 2.8rem;
        font-weight: 700;
        color: #f7c500;
    }

    .carousel-caption p {
        color: #eee;
        font-size: 1.1rem;
        margin-top: 10px;
    }

/* Slider ok tuşları */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f7c500' viewBox='0 0 16 16'%3E%3Cpath fill='%23f7c500' d='M11.354 1.646a.5.5 0 0 0-.708 0L4.793 7.5l5.853 5.854a.5.5 0 0 0 .708-.708L6.207 7.5l5.147-5.146a.5.5 0 0 0 0-.708z'/%3E%3C/svg%3E");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23f7c500' viewBox='0 0 16 16'%3E%3Cpath fill='%23f7c500' d='M4.646 1.646a.5.5 0 0 1 .708 0L11.207 7.5l-5.853 5.854a.5.5 0 0 1-.708-.708L9.793 7.5 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: #000;
        transform: scale(1.1);
    }

/* Nokta göstergeleri */
.carousel-indicators button {
    background-color: #f7c500;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.6;
}

.carousel-indicators .active {
    opacity: 1;
}

/* ------------------- HİZMETLER ------------------- */
.services {
    background-color: #fff;
}

.service-card {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    }

    .service-card .overlay {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .service-card:hover .overlay {
        background: rgba(255, 204, 0, 0.85);
        color: #000;
    }

.services h2 {
    font-weight: 700;
    color: #222;
    text-align: center;
    margin-bottom: 50px;
}

/* ------------------- FOOTER ------------------- */
footer {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #f7c500;
}

    footer a {
        color: #f7c500;
        margin: 0 10px;
        font-size: 1.4rem;
        transition: all 0.3s;
    }

        footer a:hover {
            color: #fff;
            transform: scale(1.1);
        }

/* ------------------- SABİT BUTONLAR ------------------- */
.fixed-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.call-btn, .whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.call-btn {
    background-color: #f7c500;
    color: #000;
}

.whatsapp-btn {
    background-color: #25d366;
    color: #fff;
}

.call-btn:hover {
    background-color: #fff;
    color: #000;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

/* ------------------- RESPONSIVE ------------------- */
@media (max-width: 992px) {
    .carousel-item img {
        height: 60vh;
    }

    .carousel-caption {
        top: 25%;
        left: 5%;
        max-width: 350px;
    }

        .carousel-caption h1 {
            font-size: 2rem;
        }
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 45vh;
    }

    .carousel-caption {
        top: 20%;
        padding: 15px;
    }

        .carousel-caption h1 {
            font-size: 1.5rem;
        }

        .carousel-caption p {
            font-size: 0.9rem;
        }
}

/* ------------------- ABOUT ------------------- */
.about {
    background-color: #f8f8f8;
}

    .about h2 {
        font-weight: 700;
        color: #222;
        margin-bottom: 20px;
    }

    .about p {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.7;
    }

    .about .btn-warning {
        background-color: #f7c500;
        color: #000;
        font-weight: 600;
        border: none;
    }

        .about .btn-warning:hover {
            background-color: #e0b000;
            color: #000;
        }

/* ------------------- SECTION TITLE ------------------- */
.section-title {
    background-color: #000; /* Siyah arka plan */
    color: #f7c500; /* Sarı yazı rengi (sayfanla uyumlu) */
    padding: 20px 0; /* Üst-alt boşluk */
    margin-bottom: 50px; /* Aşağı boşluk */
    font-weight: 700;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4); /* Hafif gölge, derinlik verir */
}

/* ------------------- DETAY ------------------- */
.detay-baslik {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
}

.detay-card {
    max-width: 800px;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

    .detay-card:hover {
        transform: translateY(-5px);
    }

.detay-resim {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.detay-aciklama {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

.detay-ozellik li {
    margin-bottom: 10px;
    font-weight: 500;
}
