/* style.css - Complete Updated Version */

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}



/* Header Styles */
.top-header {
    background-color: #f8f9fa;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

        position: sticky; /* Yapışkan pozisyon */
        top: 0; /* Sayfanın üst kısmında sabit kalması için */
        z-index: 1000; /* Diğer içeriklerin üstünde görünmesi için */
    
}
.main-header {
    width: 100%;
 
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}
.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.95) !important;
    transition: background-color 0.3s ease;
}
.navbar-brand img {
    max-height: 50px;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 1.5rem; /* Extra spacing */
}

/* Insurance Form Styles */
.insurance-tabs {
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.nav-tabs {
    border-bottom: none;
    padding: 0 15px;
}

.nav-tabs .nav-link {
    border: none;
    color: #495057;
    padding: 12px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    background-color: transparent;
    border-bottom: 3px solid #0d6efd;
}

.nav-tabs .nav-link i {
    margin-right: 8px;
}

.insurance-form {
    padding: 30px;
}

/* Company Slider Styles - UPDATED FOR 200x200 LOGOS */
/* Navbar Logo Styles - Updated for Larger Size */
.navbar-logo {
    height: 100px; /* Masaüstü için büyük boyut */
    width: auto;
    transition: all 0.3s ease;
    object-fit: contain;
    
}

/* Navbar padding adjustment for larger logo */
.navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Tablet responsive adjustment */
@media (max-width: 992px) {
    .navbar-logo {
        height: 180px;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .navbar-logo {
        height: 80px;
    }
    .navbar {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 70px;
    }
}

/* Adjust navbar padding if needed */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.company-slider {
    padding: 20px 0;
}

.company-slider .item {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.company-logo-container {
    padding: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 180px;
    width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.company-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.company-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* Owl Carousel Navigation */
.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9) !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    color: #0d6efd !important;
    font-size: 24px !important;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.owl-carousel .owl-nav button:hover {
    background: #fff !important;
    color: #0a58ca !important;
}

.owl-carousel .owl-prev {
    left: -20px;
}

.owl-carousel .owl-next {
    right: -20px;
}

/* Footer Styles */
footer {
    background-color: #212529;
}

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

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-header span {
        display: block;
        margin-bottom: 5px;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .insurance-form {
        padding: 20px 15px;
    }

    .company-logo-container {
        height: 160px;
        width: 160px;
    }

    .owl-carousel .owl-nav button {
        width: 30px;
        height: 30px;
        font-size: 18px !important;
    }
}

@media (max-width: 576px) {
    .company-logo-container {
        height: 140px;
        width: 140px;
        padding: 10px;
    }
}

/* Alert Stilleri */
.alert {
    margin-top: 1rem;
    position: relative; /* veya static */
    transform: none;
    left: auto;
    top: auto;
}


.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

/* Spinner için */
.spinner-border {
    vertical-align: middle;
    margin-left: 5px;
}