@import url('https://fonts.googleapis.com/css2?family=Mulish:wght@400;500;600;700&display=swap');
body {
    font-family: 'Mulish', sans-serif;
}

/* --- Your Original Styles --- */

.harita iframe {
    width: 100%;
    height: 100%;
}

.logo {
    height: 35px;
    width: 120px;
    object-fit: contain;
}

.hero_logo {
    aspect-ratio: 16/10;
}

.icon_hizmet {
    width: 50px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.icon_sosyal {
    width: 25px;
    aspect-ratio: 1/1;
    object-fit: cover;
}

:root {
    --primary-color: #fdb900;
    /* Define the main blue color from the header and heading for consistency */
    --main-blue: #0e2b5c;
    /* Define the light blue for the primary button */
    --light-blue: #55acee;
}

.bg_sari {
    background-color: var(--primary-color);
}

.c-sari {
    color: var(--primary-color);
}

.carausel_detay {
    top: 50%;
    left: 15%;
    transform: translateY(-50%);
}

.bg_mavi {
    background-color: var(--main-blue);
}

.c_mavi {
    color: var(--main-blue);
}

.footer_color {
    background-color: #081e45;
}

.a_icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
}

.menu_link:hover {
    color: #fdb900 !important;
    text-decoration: 450ms;
}

.slider_div {
    z-index: 5000;
    top: 50%;
    transform: translateY(-50%);
}

.swiper {
    width: 100%;
}

.swiper-button-prev {
    color: white;
}

.swiper-button-next {
    color: white;
}

.hakkimizda {
    width: 100%;
    height: auto;
}

.swiper-slide {
    cursor: pointer;
}

/* --- REVISED SERVICE BOX HOVER EFFECT --- */
.hizmet_eft {
    /* Base styles */
    border-color: #dee2e6 !important; /* Default light border color */
    transition: all 0.35s ease;
    cursor: pointer;
}

.hizmet_eft:hover {
    /* Lift effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    /* Highlight effect */
    border-color: var(--primary-color) !important;
}

.hizmet_eft:hover span {
    color: var(--primary-color);
    transition-duration: 350ms;
}
/* --- END REVISED SERVICE BOX HOVER EFFECT --- */


.columcunt {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}

.blog {
    height: auto;
}

.bg_hizmet {
    background-image: url("http://7oroof.com/demos/eteon/assets/images/backgrounds/map.png");
    background-size: cover;
    background-position: center center;
    background-color: #f9f9f9;
}

.blog .swiper-slide {
    cursor: context-menu;
}

/* ------------------------------------------- */
/* --- UPDATED SLIDER & BUTTON STYLES FOR HERO SECTION --- */
/* ------------------------------------------- */

/* Styles for the image itself within the slider */
.slider_ana {
    width: 100%;
    height: 100%;
    /* CRITICAL CHANGE: Use cover to fill the area, like the sample image */
    object-fit: cover; 
    display: block;
}

/* Container for the image and overlay */
.swiper-slide>div {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 550px; 
    height: auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles for the text capture overlay */
.capture {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    padding: 2rem;
    box-sizing: border-box;
}

/* CRITICAL CHANGE: Semi-transparent dark overlay effect with MEDIUM opacity */
.over_slide::before {
    content: "";
    position: absolute;
    z-index: -1;
    /* Solid black background */
    background: black; 
    /* Medium Opacity: 0.4 */
    opacity: 0.4; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.capture.over_slide {
    background-color: transparent;
    color: white; 
}

/* Container for the buttons for spacing */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

/* Custom button styles for the CTA buttons */
/* The "GET A QUOTE" or "MEET EXPERTS" light blue button */
.btn-custom-primary {
    background-color: var(--light-blue); 
    border: 2px solid var(--light-blue);
    color: white;
    font-weight: 600;
    padding: 12px 30px; 
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: #3f90d9;
    border-color: #3f90d9;
    color: white;
}

/* The "BOOK CONSULTANCY" or "CONTACT US" white button */
.btn-custom-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: white;
    /* Hover text color should be the dark blue */
    color: var(--main-blue); 
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    .swiper-slide {
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1rem 0;
    }

    .swiper-slide>div {
        min-height: 350px;
        height: auto;
        max-height: 60vh;
        margin: 0 auto;
        aspect-ratio: unset;
    }

    .slider_ana {
        object-fit: cover; 
        position: relative;
        height: 100%;
        max-width: 100%;
    }

    .capture {
        padding: 1rem;
        text-align: left; 
        justify-content: center;
    }

    .capture .container h1,
    .capture .container p {
        width: 100% !important;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    /* Simple black overlay for mobile */
    .over_slide::before {
        background: rgba(0, 0, 0, 0.4);
        opacity: 1;
    }
}
/* --- NEW: WHY CHOOSE US STYLES --- */
.why-choose-item {
    background-color: #ffffff; /* White background */
    border: 1px solid #e0e0e0; /* Light border */
    border-radius: 8px; /* Slightly rounded corners */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    cursor: default; /* Keep cursor standard */
    min-height: 65px; /* Ensure boxes are tall enough for two lines on smaller screens */
}

.why-choose-item span {
    color: var(--main-blue); /* Default text color is dark blue */
    transition: color 0.3s ease;
}

/* Hover Effect: Lift the box and change the text color */
.why-choose-item:hover {
    transform: translateY(-3px); /* Gentle lift effect */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border-color: var(--primary-color); /* Highlight border in yellow */
}

.why-choose-item:hover span {
    color: var(--primary-color); /* Highlight text in yellow */
}

/* Style for the checkmark icon */
.why-choose-item i {
    flex-shrink: 0; /* Prevents the icon from shrinking */
    font-size: 1.1rem;
    background-color: var(--primary-color) !important; /* Keep the background yellow */
}
/* --- END: WHY CHOOSE US STYLES --- */
/* --- NEW: SCROLL ANIMATION STYLES --- */

/* Initial state: Hidden and slightly scaled down, ready to pop up */
.animate-on-scroll {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    /* Add a delay based on the index (or just leave it for simple effect) */
}

/* Active state: Visible and at full size */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* --- COLOR VARIABLE ASSUMPTIONS --- */
/* Replace these with your actual color codes if they differ */
:root {
    --primary-color: #0d6efd; /* Assuming c_mavi (Blue) */
    --secondary-color: #152cfa; /* Assuming c-sari (Yellow/Warning) */
}

.c_mavi { color: var(--primary-color) !important; }
.c-sari { color: var(--secondary-color) !important; }
.bg_mavi { background-color: var(--primary-color) !important; }
.bg_sari { background-color: var(--secondary-color) !important; }

/* --- WHY CHOOSE US STYLES (Hover and Appearance) --- */
.why-choose-item {
    background-color: #ffffff; 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    cursor: default; 
    min-height: 65px; 
}

.why-choose-item span {
    color: var(--primary-color); 
    transition: color 0.6s ease;
}

/* Hover Effect: Lift the box and change the text color */
.why-choose-item:hover {
    transform: translateY(-3px); 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    border-color: var(--secondary-color); 
}

.why-choose-item:hover span {
    color: var(--secondary-color); 
}

/* Style for the checkmark icon */
.why-choose-item i.choose-icon-base {
    flex-shrink: 0; 
    font-size: 1.1rem;
}

/* --- SCROLL ANIMATION STYLES (The Pop-In Effect) --- */

/* Initial state: Hidden and slightly scaled down, ready to pop up */
.animate-on-scroll {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Set a reasonable default transition for elements that don't have a staggered delay */
}

/* Active state: Visible and at full size */
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}


/* --- CLIENT LOGO SLIDER STYLES --- */

.client-logos {
    padding: 20px 0;
}

.client-logo-item {
    padding: 10px;
    height: 80px; 
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; 
}

.client-logo-item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    opacity: 0.7; 
    filter: grayscale(100%); 
    transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Hover Effect: Restore color to all logos when the mouse is over the container */
.client-logos:hover .client-logo-item img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Individual item hover: Add a slight pop */
.client-logo-item:hover {
    transform: scale(1.05);
}
/* -------------------------------------- */
/* --- STATS COUNTER STYLES (stat-box) --- */
/* -------------------------------------- */

.stat-box {
    background: rgb(255, 255, 255); /* White background */
    border: 2px solid var(--secondary-color); /* Border using the c-sari color */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle lift */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    position: relative; /* For the potential pseudo-element shadow */
}

/* Hover Effect: Give it a slight lift and stronger shadow */
.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(199, 208, 221, 0.945); /* Yellow tinted shadow on hover */
}

/* Make the number itself stylishly large */
.stat-box h1 {
    font-size: 3.5rem !important; /* Larger font size */
    line-height: 1; /* Tighter line height */
    margin-top: 0;
}

/* Style the descriptive text below the number */
.stat-box p {
    font-size: 1.1rem;
    color: rgb(20, 103, 185); /* Slightly darker text for the label */
    letter-spacing: 0.5px;
}
