/*========== GOOGLE FONTS  ==========*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/*========== VARIABLES CSS  ==========*/
:root {
    --header-height: 3.5rem;
    --nav_header_height: 7rem;

    /*========== Colors  ==========*/
    --first-color: #26443B;
    --second-color: #EDE3DA;
    
    --first-title-text-color: #26443B;
    --second-title-text-color: #ffff;

    --white-color: #ffff;

    /*========== Font and typography  ==========*/
    --body-font: "Inter", sans-serif;
    --navlogo-width: 8.25rem;
    --biggest-font-size: 2.75rem;
    --big-font-size: 1.75rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;

    /*========== Font weight  ==========*/
    --font-regular: 400;
    --font-medium: 500;

    /*========== z index  ==========*/
    --z-fixed: 100;

    /*========== nav margin ==========*/
    --nav-margin-top: 1.375rem;
}

/*========== Responsive typography  ==========*/
@media screen and (min-width: 1024px) {
    :root {
        --navlogo-width: 9rem;
        --biggest-font-size: 4.5rem;
        --big-font-size: 3rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

/*========== BASE  ==========*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

.body-no-scroll{
    overflow: hidden;
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--second-color);
    color: var(--first-title-text-color);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/*========== HEADER  ==========*/


/* active sidebar */
/*.sidebar li:nth-child(5) a {
    background-color: var(--white-color);
    color: #26443B !important;
    font-weight: var(--font-medium);
    pointer-events: none;
    cursor: default;
    opacity: 0.5;
}*/


/*========== base img body ==========*/
.main{
    margin-top: 3%;
    overflow: hidden;
}

.base_img_body {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.base_img_container {
    position: relative;
    display: inline-block;
}

.slide__image {
    display: block;
    width: 100%; 
    height: auto; 
}

.image-data {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff; /* Yazı rengini görsele uygun olarak değiştirin */

}


.image-data h2{
    font-size: 42px;
    margin-bottom: 1rem;
}

.image-data .text{
    font-size: 23px;
}





@media (max-width: 768px) {

    .image-data h2{
        font-size: 17px;
        margin-bottom: 0rem;
        
    }
    

    .image-data .text{
        font-size: 7px;
        margin-top: 3%;
    }

    .main{
        margin-top: 16%;
    }
    

}



@media (min-width: 769px) and (max-width: 1440px)  {

    .image-data h2{
        font-size: 30px;
        margin-bottom: 0rem;

    }

    .image-data .text{
        font-size: 12px;
    }

    .main{
        margin-top: 5.5%;
    }
    
}





.card_body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.card-container {
    display: flex;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 21px;
    max-width: 1200px;
    justify-content: center;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    overflow: hidden;
    text-align: left;
    width: calc(33.333% - 16px); 
}

.card-image {
    width: 100%;height: auto;
    object-fit: cover;
}

.card-text {
    padding: 16px;
    text-align: left;
}

.card-text h2{
    padding-bottom: 2rem;
}

.card-text .address{
    padding-bottom: 2rem;
}

.card-text .card_time{
    padding-bottom: 1rem;
    opacity: 0.8;
    font-size: 14px;
    font-style: italic;
    font-weight: bold;

}


@media (max-width: 768px) {
    .card {
        width: calc(50% - 16px); /* Two cards per row on medium screens */
    }

    .card-text h2{
        font-size: 12px;
        padding-bottom: 0.8rem;

    }

    .card-text .address{
        font-size: 10px;

    }

    .card-text .card_time{
        font-size: 9.5px;
    }
   

}




