/* Alp Turizm - Ana Stil Dosyası */

:root {
    --primary-color: #f4a261;
    --secondary-color: #2a9d8f;
    --dark-color: #264653;
    --light-color: #f8f9fa;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Header ve Navigasyon */
.header-main {
    transition: all 0.3s ease;
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.sticky-top {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sticky-top .logo {
    height: 50px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary-color);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-color);
    color: white;
}

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 80%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Hizmetler Kartları */
.hizmet-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    height: 100%;
}

.hizmet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hizmet-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hizmet-card:hover img {
    transform: scale(1.1);
}

.hizmet-card .card-body {
    padding: 1.5rem;
}

.hizmet-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.hizmet-card .card-text {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hizmet-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Hizmetler Slider (Anasayfa) */
.hizmetler-slider {
    overflow: hidden;
    padding: 2rem 0;
}

.hizmetler-track {
    display: flex;
    gap: 2rem;
    animation: scroll 20s linear infinite;
}

.hizmetler-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Referanslar Slider */
.referanslar-section {
    overflow: hidden;
}

.referanslar-slider {
    overflow: hidden;
}

.referans-track {
    display: flex;
    gap: 3rem;
    animation: scroll-ref 30s linear infinite;
}

.referans-item {
    flex: 0 0 auto;
    transition: transform 0.3s ease;
}

.referans-item:hover {
    transform: scale(1.1);
}

.referans-item img {
    height: 80px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.referans-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-ref {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Araç Filosu Sayfası */
.arac-filosu-header {
    background: linear-gradient(135deg, #f4f4f4 0%, #e8e8e8 100%);
    border-bottom: 3px solid var(--primary-color);
}

.arac-filosu-header h1 {
    color: var(--dark-color);
    letter-spacing: 2px;
    font-size: 3rem;
}

.kategori-baslik {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.kategori-baslik::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.kategori-aciklama {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.kategori-divider {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 4rem 0;
}

/* Araç Item - Minimalist Döşemealtı Turizm Stili */
.arac-item {
    padding: 0;
    transition: all 0.3s ease;
    width: 100%;
    display: block;
}

.arac-item:hover .arac-resim {
    transform: scale(1.05);
}

.arac-image-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.arac-resim {
    width: 100%;
    height: auto;
    max-height: 280px;
    min-height: 200px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s ease;
    margin: 0 auto;
}

.arac-adi {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.arac-detay {
    font-size: 0.95rem;
    color: #777;
    margin: 0;
    line-height: 1.6;
}

/* Row için ek stil - Yan yana görünümü garanti et */
.arac-kategori-section .row {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.arac-kategori-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Desktop - 3 sütun */
@media (min-width: 992px) {
    .arac-kategori-section .col-lg-4 {
        flex: 0 0 auto;
        width: 33.333333% !important;
    }
}

/* Tablet - 2 sütun */
@media (min-width: 768px) and (max-width: 991px) {
    .arac-kategori-section .col-md-6 {
        flex: 0 0 auto;
        width: 50% !important;
    }
}

/* Mobil - 1 sütun */
@media (max-width: 767px) {
    .arac-kategori-section [class*='col-'] {
        width: 100% !important;
    }
}

/* Eski Araç Card - Yedek */
.arac-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.arac-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.arac-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Form Stilleri */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(244, 162, 97, 0.25);
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.7rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Başlıkları */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.section-title .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
}

/* Footer */
.footer {
    background: var(--dark-color) !important;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* İletişim Sayfası */
.contact-info-box {
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-slider {
        height: 400px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .referans-item img {
        height: 60px;
    }

    .arac-filosu-header h1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .kategori-baslik {
        font-size: 1.5rem;
    }

    .arac-resim {
        max-height: 200px;
    }

    .arac-adi {
        font-size: 1.1rem;
    }

    /* Neden Alp Turizm bölümünü mobilde gizle */
    .neden-biz-section {
        display: none !important;
    }

    /* Hizmet kartlarındaki metinlerde kelime arası boşluk düzeltmesi */
    .hizmet-card .card-text {
        text-align: left !important;
        word-spacing: normal !important;
        hyphens: auto;
    }

    .hizmet-card .card-title {
        text-align: left !important;
    }
}

/* Hizmet Detay Sayfası */
.hizmet-detay-single-image {
    max-width: 1000px;
    margin: 0 auto;
}

.hizmet-detay-float-image {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 400px;
    width: 100%;
}

.hizmet-detay-content {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.9;
    text-align: left;
    color: #333;
}

.hizmet-detay-content p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hizmet-detay-float-image {
        float: none;
        margin-left: 0;
        margin-bottom: 20px;
        max-width: 100%;
    }
}

/* Hizmetler Carousel */
#hizmetlerCarousel {
    position: relative;
    padding: 0 50px;
}

#hizmetlerCarousel .carousel-control-prev,
#hizmetlerCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.9;
}

#hizmetlerCarousel .carousel-control-prev {
    left: -25px;
}

#hizmetlerCarousel .carousel-control-next {
    right: -25px;
}

#hizmetlerCarousel .carousel-control-prev:hover,
#hizmetlerCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: var(--secondary-color);
}

#hizmetlerCarousel .carousel-control-prev-icon,
#hizmetlerCarousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

#hizmetlerCarousel .carousel-inner {
    padding: 20px 0;
}

@media (max-width: 768px) {
    #hizmetlerCarousel {
        padding: 0 30px;
    }

    #hizmetlerCarousel .carousel-control-prev,
    #hizmetlerCarousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    #hizmetlerCarousel .carousel-control-prev {
        left: -10px;
    }

    #hizmetlerCarousel .carousel-control-next {
        right: -10px;
    }

    /* Mobilde her seferinde sadece 1 hizmet göster */
    #hizmetlerCarousel .carousel-item .col-md-4 {
        display: none;
    }

    #hizmetlerCarousel .carousel-item .col-md-4:first-child {
        display: block;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Hakkımızda Sayfası */
.hakkimizda-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hakkimizda-logo-col img {
    max-width: 100% !important;
}

@media (min-width: 992px) {
    .hakkimizda-content-row .col-lg-6:first-child {
        padding-right: 30px;
    }

    .hakkimizda-content-row .col-lg-6:last-child {
        padding-left: 30px;
    }
}

.hakkimizda-content-row h2 {
    font-size: 2rem;
    font-weight: 700;
}

.hakkimizda-content-row .content {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.9;
    color: #333;
}

.contact-info-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
}

.contact-info-box p {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.8;
    color: #444;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    color: #fff;
}

.whatsapp-float i {
    line-height: 60px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-float i {
        line-height: 50px;
    }
}
