:root {
    --primary-color: #8B0000;
    --secondary-color: #DC143C;
    --text-dark: #333;
    --text-light: #f8f9fa;
    --border-color: #dee2e6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    padding-top: 5px;
    background-image: linear-gradient(rgba(245, 239, 229, 0.92), rgba(245, 239, 229, 0.92)), url('../images/kamyon-bg.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

header.sticky-top {
    top: 0;
    z-index: 1030;
}

.flag-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.cbn-main-navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.cbn-navbar-brand {
    padding: 5px;
    background-color: white;
    border-radius: 5px;
}

.cbn-main-navbar .cbn-nav-link {
    color: #F5EFE5;
    font-weight: 500;
    padding: 0.8rem 1rem;
}

    .cbn-main-navbar .cbn-nav-link:hover {
        color: #ffc107;
    }

.cbn-main-navbar .cbn-language-dropdown .dropdown-toggle {
    color: #F5EFE5;
    text-decoration: none;
    font-weight: 500;
}

    .cbn-main-navbar .cbn-language-dropdown .dropdown-toggle:hover {
        color: #ffc107;
    }

.cbn-dropdown-menu {
    border-top: 3px solid var(--secondary-color);
    border-radius: 0;
}

.cbn-dropdown:hover .cbn-dropdown-menu {
    display: block;
    margin-top: 0;
}

.cbn-navbar-nav > .cbn-dropdown > .cbn-dropdown-menu > li > a.cbn-dropdown-item {
    color: var(--text-dark);
}

    .cbn-navbar-nav > .cbn-dropdown > .cbn-dropdown-menu > li > a.cbn-dropdown-item:hover {
        color: var(--text-light);
        background-color: var(--primary-color);
    }

.cbn-navbar-nav .cbn-dropdown-menu .cbn-dropdown-menu .cbn-dropdown-item {
    color: var(--secondary-color);
    font-weight: bold;
}

    .cbn-navbar-nav .cbn-dropdown-menu .cbn-dropdown-menu .cbn-dropdown-item:hover {
        color: orange;
        background-color: var(--primary-color);
    }

#anasayfaSlider .carousel-item img {
    height: 450px;
    object-fit: cover;
    object-position: center;
}

#anasayfaSlider .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23DC143C'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

#anasayfaSlider .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23DC143C'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.page-title {
    color: var(--primary-color);
    font-weight: 700;
    border-left: 5px solid var(--secondary-color);
    padding-left: 15px;
}

.page-content .img-fluid {
    max-width: 75%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.title-hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(139, 0, 0, 0.75), rgba(0, 0, 0, 0));
}

.content-body p {
    line-height: 1.8;
    text-align: justify;
}

.pre-footer {
    background-color: #f1f1f1;
    color: #333;
    padding: 1.5rem 0;
    border-top: 1px solid #ddd;
}

.social-icons a {
    color: #555;
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color 0.2s ease-in-out;
}

    .social-icons a:hover {
        color: var(--primary-color);
    }

.footer {
    background-color: #212529;
    color: var(--text-light);
    font-size: 0.9rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.cbn-contact-info {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.pre-footer .cbn-contact-info a {
    color: var(--primary-color);
    font-weight: bold;
}

.cbn-contact-info a:hover {
    color: var(--text-dark);
}

.cbn-contact-info a i {
    margin-right: 5px;
}

.footer-admin-link {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

    .footer-admin-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

.slider-contact-info {
    font-size: 1.1rem;
    font-weight: bold;
}

    .slider-contact-info a {
        color: #fd7e14;
        text-decoration: none;
        margin: 0 10px;
    }

        .slider-contact-info a:hover {
            text-decoration: underline;
        }

    .slider-contact-info span {
        color: #ccc;
    }

.whatsapp-fab {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    background-color: #25D366;
    color: #FFF;
    padding: 12px 24px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    animation: blinker 2s infinite;
}

    .whatsapp-fab:hover {
        color: #FFF;
        transform: scale(1.05);
        box-shadow: 4px 4px 15px rgba(0,0,0,0.3);
        animation-play-state: paused;
    }

    .whatsapp-fab i {
        font-size: 28px;
        margin-right: 10px;
    }

@media (max-width: 991px) {
    .pre-footer .container > .d-flex {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .whatsapp-text {
        display: none;
    }

    .whatsapp-fab {
        width: 60px;
        height: 60px;
        padding: 0;
        border-radius: 50%;
    }

        .whatsapp-fab i {
            font-size: 32px;
            margin-right: 0;
        }
}

@keyframes blinker {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 50%;
}

    .map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }
