html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
}

a {
    color: black;
    text-decoration: none;
}
a:hover{
    color: #004892;
}

footer {
    background-color: #004892;
}

i {
    color: #004892;
}
.btn-primary {
    background-color: #004892 !important;
    border-color: #004892 !important;
}

.btn-primary:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg) !important;
    border-color: var(--bs-btn-hover-bg) !important;
}

/* Nav menü CSS */
.navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /*background-color: transparent;*/
    transition: background-color 0.2s ease;
    background-color: rgba(255, 255, 255, 0.09);
}


.navbar-brand img {
    height: 40px;
}

.navbar-toggler {
    border-color: #004892;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: #004892;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
    border-color: #004892;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23004892' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
    color: #004892 !important;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.95);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #004892;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-brand img {
    height: 50px; /* Adjust height as needed */
} /* ---END--- */

/* --- Tüm Bölümler İçin Ortak Ayar --- */
.full-height-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0;
}

/* Mobil cihazlarda Home bölümü için boşluk ayarı */
@media (max-width: 991.98px) {
    #home {
        padding-top: 80px;
    }
}

/* Home CSS */
#home {
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

#home .container {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* ---END--- */

/* Product CSS */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 3rem;
    color: #004892;
}

#contact {
    background-color: #f8f9fa;
}

#about .container {
    align-self: center;
}

#about .row {
    align-items: center;
    justify-content: center;
}

/* İletişim bölümü için harita düzenlemesi */
.map-container iframe {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}/* ---END--- */

/* Responsiveness: Ekran küçüldüğünde yazı boyutları küçültme */
@media (max-width: 768px) {
    h1.display-3 {
        font-size: 2.5rem;
    }

    p.lead {
        font-size: 1rem;
    }

    .full-height-section {
        padding: 40px 0;
    }
}
/* ---END--- */


/* Şirketler Logo Animasyon Baş */
.logo-carousel-container {
    overflow: hidden;
    width: 100%;
    white-space: nowrap; /* Bu, img etiketlerinin tek satırda kalmasını sağlar */
    position: relative;
}

.logo-carousel-container:before, .logo-carousel-container:after {
    position: absolute;
    top: 0;
    content: '';
    width: 250px;
    height: 100%;
    z-index: 2;
}

.logo-carousel {
    display: inline-block;
    animation: carousel-slide 60s linear infinite;
}

.logo-carousel img {
    width: 200px;
    margin: 0 20px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-carousel img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes carousel-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* ---END--- */

/* hero-background-slider CSS */
.hero-background-slider {
    position: absolute;
    inset: 0; /* top:0; left:0; right:0; bottom:0; */
    z-index: 0;
    overflow: hidden;
    pointer-events: none; /* isterseniz */
}

.hero-background-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: opacity;
    animation: slideFade 20s infinite;
}

.hero-background-slider .slide:nth-child(1) {
    animation-delay: 0s;
}

.hero-background-slider .slide:nth-child(2) {
    animation-delay: 5s;
}

.hero-background-slider .slide:nth-child(3) {
    animation-delay: 10s;
}

.hero-background-slider .slide:nth-child(4) {
    animation-delay: 15s;
}

@keyframes slideFade {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    /* fade-in */
    25% {
        opacity: 1;
    }
    /* show */
    30% {
        opacity: 0;
    }
    /* fade-out */
    100% {
        opacity: 0;
    }
}
/* ---END--- */

