/* GENEL AYARLAR */
:root {
    --primary-color: #dc3545;
    --secondary-color: #6c757d;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #198754;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #b02a37;
}

/* HEADER */
.navbar {
    padding: 0.8rem 1rem;
}

.navbar-brand img {
    max-height: 60px;
}

.nav-link {
    font-weight: 500;
    padding: 0.8rem 1rem !important;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 1rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 400;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--primary-color);
}

/* CAROUSEL */
.carousel-item {
    height: 70vh;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
}

.carousel-caption h2 {
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-indicators {
    z-index: 15;
}

/* BUTTONS */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-danger {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-danger:hover {
    background-color: #b02a37;
    border-color: #b02a37;
}

.btn-outline-danger {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-danger:hover {
    background-color: var(--primary-color);
    color: white;
}

/* CARDS */
.card {
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15) !important;
}

.card-img-top {
    height: 300px;
    object-fit: cover;
}

/* SECTION BAŞLIKLARI */
.section-title {
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* TESTIMONIALS */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

/* FORM ELEMENTS */
.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* WHATSAPP BUTON */
.whatsapp-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
}

/* BACK TO TOP BUTTON */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 20px;
    line-height: 50px;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #b02a37;
    color: white;
    transform: translateY(-5px);
}

/* İÇERİK SAYFALARI */
.page-header {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin-bottom: 3rem;
    position: relative;
}

.page-header h1 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

/* SERVİS DETAY SAYFASI */
.service-features {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service-feature-item {
    flex: 0 0 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-feature-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* MARKA SAYFASI */
.brand-models {
    margin-top: 2rem;
}

.brand-models .card {
    margin-bottom: 1.5rem;
}

.brand-models .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
}

.brand-models .list-group-item {
    border: none;
    padding: 0.8rem 1.25rem;
}

.brand-models .list-group-item:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

/* İLETİŞİM SAYFASI */
.contact-info {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    height: 100%;
}

.contact-info h5 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.contact-info ul {
    padding-left: 0;
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
}

.contact-info li i {
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

/* MEDYA SORGULARI */
@media (max-width: 991.98px) {
    .carousel-item {
        height: 60vh;
    }
    
    .carousel-caption {
        bottom: 40%;
    }
    
    .carousel-caption h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 50vh;
    }
    
    .carousel-caption {
        bottom: 30%;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .service-feature-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 575.98px) {
    .carousel-item {
        height: 40vh;
    }
    
    .carousel-caption {
        bottom: 50%;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .carousel-caption .btn {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Müşteri Yorumları Bölümü CSS */
.testimonials {
    padding: 60px 0;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 30px;
    text-align: center;
    position: relative;
}

.quote-icon {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    min-height: 130px;
}

.testimonial-author {
    margin-top: 20px;
}

.testimonial-author h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-author small {
    color: #6c757d;
}