/* AVM Index Sayfası CSS */

/* Hero Section */
.hero-section {
    animation: fadeInUp 1s ease-out;
    height: 250px !important;
    background: linear-gradient(135deg, rgba(195,0,47,0.9), rgba(122,0,32,0.8)), url('/img/Kizilay-avm-foto.jpg') center center / cover no-repeat;
    min-height: 250px;
    border-radius: 0 0 32px 32px;
    margin-bottom: 3rem;
}

    .hero-section h1 {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero-section .lead {
        font-size: 1.1rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

    .hero-section img {
        max-width: 200px;
        filter: brightness(0) invert(1);
    }

/* Hakkında Bölümü */
.hakkinda-card {
    border-left: 5px solid #C3002F;
}

.kurumsal-ic2-ic {
    text-align: justify;
    font-size: 1.1rem;
    line-height: 1.8;
}

    .kurumsal-ic2-ic p {
        margin-bottom: 1rem;
    }

/* Sayı Kartları */
.number {
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

/* Özellik Kartları */
.ozellik-card {
    border-top: 4px solid #C3002F;
}

    .ozellik-card .fas {
        font-size: 3rem;
    }

/* İletişim Kartları */
.iletisim-card {
    border-left: 5px solid #C3002F;
}

    .iletisim-card .fas {
        font-size: 1.5rem;
    }

/* Swiper.js Gallery Styles */
.avm-gallery-swiper {
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(195, 0, 47, 0.3);
    }

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(195, 0, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}

    .gallery-overlay i {
        color: white;
        font-size: 2rem;
        transform: scale(0.5);
        transition: all 0.3s ease-in-out;
    }

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

    .gallery-item:hover .gallery-overlay i {
        transform: scale(1);
    }

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Swiper Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(195, 0, 47, 0.8);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: rgba(195, 0, 47, 1);
        transform: scale(1.1);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
        font-weight: bold;
    }

/* Swiper Pagination */
.swiper-pagination-bullet {
    background: rgba(195, 0, 47, 0.5);
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.swiper-pagination-bullet-active {
    background: rgba(195, 0, 47, 1);
    transform: scale(1.2);
}

/* Modal Gallery Styles */
.modal-gallery-img {
    max-height: 70vh;
    object-fit: contain;
    background: #222;
    border-radius: 8px;
}

.swiper-button-white {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

    .swiper-button-white:hover {
        background: rgba(255, 255, 255, 0.4);
    }

.swiper-pagination-white .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-white .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
}

/* Hero badge styling for better readability */
.hero-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .hero-badge:hover {
        background: rgba(255, 255, 255, 0.35);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .hero-badge i {
        color: #FFD700;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }

.bg-white {
    transition: all 0.3s ease-in-out;
}

    .bg-white:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    }

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    /* Hero Section Mobil Optimizasyonu */
    .hero-section {
        min-height: 180px !important;
        margin-bottom: 2rem !important;
    }

        .hero-section h1 {
            font-size: 2rem !important;
            margin-bottom: 0.5rem !important;
        }

        .hero-section .lead {
            font-size: 1rem !important;
            margin-bottom: 1rem !important;
        }

    .hero-badge {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-section img {
        max-width: 120px !important;
    }

    /* Container Padding Mobil */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Kartlar Mobil */
    .bg-white {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

        .bg-white h2 {
            font-size: 1.5rem !important;
            margin-bottom: 1rem !important;
        }

        .bg-white h5 {
            font-size: 1.1rem !important;
        }

        .bg-white p {
            font-size: 0.9rem !important;
            line-height: 1.5 !important;
        }

    /* İletişim Kartları Mobil */
    .d-flex.align-items-center {
        padding: 1rem !important;
    }

        .d-flex.align-items-center i {
            font-size: 1.2rem !important;
            margin-right: 0.75rem !important;
        }

        .d-flex.align-items-center strong {
            font-size: 0.9rem !important;
        }

        .d-flex.align-items-center small {
            font-size: 0.8rem !important;
        }

    /* Swiper Mobil */
    .avm-gallery-swiper {
        padding: 10px 0;
    }

    .gallery-img {
        height: 150px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 14px;
        }

    /* Modal Mobil */
    .modal-dialog {
        margin: 0.5rem !important;
    }

    .modal-body {
        padding: 0 !important;
    }

    /* Butonlar Mobil */
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
    }

    /* İkonlar Mobil */
    .fas {
        font-size: 2rem !important;
    }

    /* Sayılar Mobil */
    .number {
        font-size: 1.5rem !important;
    }

    /* Galeri Overlay Mobil */
    .gallery-overlay i {
        font-size: 1.5rem !important;
    }
}

/* Tablet Optimizasyonu */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section {
        min-height: 200px !important;
    }

        .hero-section h1 {
            font-size: 2.5rem !important;
        }

        .hero-section .lead {
            font-size: 1.05rem !important;
        }

    .bg-white {
        padding: 2rem !important;
    }

    .gallery-img {
        height: 180px;
    }
}

/* Çok Küçük Ekranlar */
@media (max-width: 480px) {
    .hero-section {
        min-height: 250px !important;
        margin-bottom: 1.5rem !important;
    }

        .hero-section h1 {
            font-size: 1.5rem !important;
        }

        .hero-section .lead {
            font-size: 0.9rem !important;
        }

    .hero-badge {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
    }

    .bg-white {
        padding: 1rem !important;
    }

        .bg-white h2 {
            font-size: 1.3rem !important;
        }

    .gallery-img {
        height: 120px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 12px;
        }
}
