:root {
    --bodyColor: #222222;
    --bodyBg: #fff;
    --whiteColor: #ffffff;
    --blackColor: #0A0624;
    --blackBlue: #110C34;
    --greyColor: #EDEDED;
    --borderColor: #eeeeee;
    --gradientColor: linear-gradient(90deg, #111212 0%, #515151 47.92%, #fe0000 100%);
    --borderRadius: 8px;
    --borderRadius2: 5px;
    --transition: .3s;
    --bodyFont: "Inter", sans-serif;
    --headingFont: "Inter", sans-serif;
    --contentFont: "Inter", sans-serif;
    --buttonFont: "Source Sans Pro";
    --redColor: #c00000;
    --darkRedColor: #b30000;
    --grayColor: #e1e1e1;
    --bgRed: #ff00001a;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.px-100 {
    padding: 100px 0px;
}
.py-50 {
    padding: 0px 50px;
}

/***TİTLE***/
.title {
    text-align: center;
    margin-bottom: 40px;
}

.title_small {
    font-size: 1rem;
    color: var(--redColor);
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

    .title_small::before,
    .title_small::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 50px;
        height: 4px;
        background-color: var(--redColor);
    }

    .title_small::before {
        left: 0;
        transform: translateX(-100%);
    }

    .title_small::after {
        right: 0;
        transform: translateX(100%);
    }

.title_mid {
    font-size: 2.2rem;
    color: black;
    margin: 0;
    font-weight: bold;
}

/*****NAVMENU******/
header {
    position: sticky; 
    top: 0;
    z-index: 1030; 
    background-color: #fff; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); 
}

.navbar-brand img {
    max-width: 200px;
}

.nav-item a {
    color: var(--redColor);
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-link {
    position: relative;
    display: inline-block;
    padding: 10px 18px;
    font-weight: 600;
    color: #333 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 3px;
        background-color: var(--darkRedColor);
        transition: width 0.3s ease;
        border-radius: 2px;
    }

    .nav-link:hover {
        color: var(--darkRedColor) !important;
    }

        .nav-link:hover::after {
            width: 100%;
        }

/**Slider Alanı**/
.slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.slider-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.70);
    z-index: 1;
}

.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

    .slider-content h1 {
        font-size: 4rem;
        font-weight: 900;
        margin-bottom: 1rem;
    }

    .slider-content p {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .slider-content .btn {
        background: var(--redColor);
        color: #fff;
        padding: 0.75rem 1.5rem;
        border-radius: 30px;
        text-decoration: none;
        transition: background 0.3s ease;
    }

        .slider-content .btn:hover {
            background: #900000;
        }
/***SERVİS*/
.section_services {
    background: var(--bgRed);
}

.card-services {
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 40%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card-services:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 25px rgba(0,0,0,0.2);
    }

.card-img-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
}

    .card-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.card-services h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

/**HAKKIMIZDA*/
.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}



/***Neden Biz**/
.section_why {
    background: var(--greyColor);
}

.card_why {
    border: 2px solid var(--blackColor);
    padding: 15px;
    border-radius: 15px;
}

.why-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 5px;
}

.why-desc {
    margin: 0;
    color: #555;
}

/****İLETİŞİM*/

.contact-form .btn {
    border-radius: 10px;
    font-weight: 600;
}
.contact_card {
    background:var(--grayColor);
    padding: 60px;
    border-radius: 8px;
    border: 1px solid #eeeeee;
}
.contact-info{
    padding:50px;
    background: var(--bgRed);
    border-radius:8px;
}
.contact-info p {
    font-size: 15px;
    color: #444;
    margin-bottom: 12px;
}

.contact-info i {
    color: #d32f2f;
}

.rounded-input {
    border-radius: 15px;
    border: 1px solid #ccc;
    padding: 12px 15px;
}

.map-container iframe {
    border-radius: 15px;
}
.contact-item {
    align-items: flex-start;
}

.contact-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-top: 2px; 
}

.contact-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-text p {
    margin: 0;
    font-size: 14px;
    color: #444;
}

/**Cerez Politikası**/
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #c1121f; 
    color: #fff;
    display: none; 
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    z-index: 9999;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-bar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.cookie-bar a {
    color: #fff;
    font-weight: 500;
}
.cookie-buttons {
    display: flex;
    align-items: center;
}
    .cookie-buttons .btn-light:hover {
        background-color: #f8f9fa;
        color: #c1121f;
    }

    .cookie-buttons .btn-outline-light:hover {
        background-color: #fff;
        color: #c1121f;
    }


/* --- Chatbot genel konum --- */
#chatbot-toggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--darkRedColor);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 9999;
}

    #chatbot-toggle:hover {
        background-color: var(--redColor);
        transform: scale(1.05);
    }

#chatbot-container {
    position: fixed;
    bottom: 50px;
    right: 25px;
    width: 320px;
    height: 420px;
    background: var(--whiteColor);
    border: 2px solid #d32f2f;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 99999;
}

#chatbot-header {
    background-color: var(--darkRedColor);
    color: #fff;
    padding: 12px 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot-close {
    background: none;
    border: none;
    color: var(--whiteColor);
    font-size: 20px;
    cursor: pointer;
}

#chatbot-body {
    flex: 1;
    padding: 10px;
    background: var(--whiteColor);
    overflow-y: auto;
}

#chatbot-input-area {
    display: flex;
    border-top: 1px solid #eee;
    background: var(--whiteColor);
    padding: 8px;
}

#chatbot-input {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px;
    outline: none;
}

#chatbot-send {
    background-color: var(--darkRedColor);
    border: none;
    color: var(--whiteColor);
    margin-left: 8px;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: 0.3s;
}

    #chatbot-send:hover {
        background-color: #b71c1c;
    }

.chat-message {
    margin-bottom: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    max-width: 80%;
}

.user {
    background-color: var(--bgRed);
    color: var(--blackColor);
    align-self: flex-end;
    margin-left: auto;
}

.bot {
    background-color: #e0e0e0;
    color: var(--blackColor);
    align-self: flex-start;
}