:root {
    --bg-color: #FDFFFC;
    --nav-color: #FDFFFC;
    --card-color: #FDFFFC;
    --card-border-color: rgba(114, 114, 114, 0.44);

    --success-color:#198629;

    --nav-color-500: #edebeb;
    --text-dark: #13070C;
    --text-dark-300: #202020;

    --text-light: #FDFFFC;

    --text-dark-300: #1f1f1f;
    --main-color: #235789;
    --accent-color: #D81E5B;
    --header-height: 70px;
}

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

.bg-6{
  background-image: url("../../6.png");

  /* Tekrar etme (repeat) ayarı */
  background-repeat: repeat;       /* varsayılan: hem yatay hem dikey tekrarlar */

  background-size: cover;          /* ekranı kaplar, orantıyı korur */

  /* Opsiyonel hizalama */
  background-position: center top; /* merkeze hizala, üstten başlat */
}

html {
    scroll-behavior: smooth;

}

body {
    font-family: "Poppins", sans-serif;
    background-repeat: repeat;
    background-size: 100px;
    /*background-image: url('../../arabam.png');
    background-color: #478ccd;*/
    background-color: #fff;

        /* ekranı kaplar, orantıyı korur */


  /* Opsiyonel hizalama */

}


a {
    text-decoration: none;
    color: var(--text-dark);
}

.fw-500 {
    font-weight: 500;
}

header {
    position: fixed;
    top: 0px;
    background-color: var(--nav-color);
    width: 100%;
    height: var(--header-height);
    padding: 0rem 2rem;
    display: flex;
    align-items: center;
    color: var(--text-light);
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    z-index: 100;
    transition: 0.2s all ease-in;
}

header a {
    color: var(--text-dark);
}

.mt-header {
    margin-top: var(--header-height);
}

.show {
    right: 0px;
}

.show li a {
    color: var(--text-light) !important;
}

header img {
    /*height: 30px;*/
    height: 90%;
}

header ul {
    flex-grow: 1;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    gap: 3rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.btn-action {
    background-color: var(--main-color);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-light);

}

#open-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    margin-left: auto;
    cursor: pointer;
}

#close-sidebar-button {
    display: none;
    background: none;
    border: none;
    padding: 1em;
    cursor: pointer;
}

#overlay {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    inset: 0;
    z-index: 9;
    display: none;
    top: 0;
    width: 100%;
    height: 100%;
}

.page {
    min-height: calc(100vh - var(--header-height));
    overflow-x: hidden;
}

ol {
    padding-left: 3rem;
}

.mt-3 {
    margin-top: 3rem;
}
.mt-5{
    margin-top: 5rem;
}


.container {
    width: 1200px;
    max-width: 100%;
    margin-inline: auto;
    padding: 1rem;
    color: var(--text-dark-300);
}
.bg-white{
    background-color: #fff;
}
.container h1 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.6rem;
}

.container .haber-image {
    width: 100%;
    border-radius: 16px;
    aspect-ratio: 16/9;

}

footer{
    min-height: 100px;
    display: flex;
    background-color: var(--text-dark);
    color: var(--nav-color);
    padding: 3rem 0rem;
    position: relative;
    overflow: hidden;
}
.footer-bg{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    background-repeat: repeat;
    background-size: 250px;
    background-image: url('../../arabam.svg');
    background-color: #061a2c;
    z-index: 0;
}
.st0{
    fill: #093356!important;
}
.column{
    display: flex;
    flex-direction: column;
}
.g1{
    gap: 1rem;
}
.socials{
    margin-top: 0.5rem;
    width: 100%;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}
.tx-center{
    text-align: center;
}
.socials span{
    color: var(--nav-color);
    
}
footer .area{
    text-align: center;
    z-index: 1;
    width: 33.33%;
    padding: 0rem 2rem;
    overflow: hidden;
}
footer .area img{
    width: 90%;
}
.area a{
    color: var(--nav-color-500);
    transition: 0.2s all ease;
}
.area a:hover{
    color: var(--accent-color);
}
.area .title{
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}
.area .description{
    margin-top: 0.5rem;
    color: #e2e1e1;
    font-size: 0.9rem;
    
}
.copy{
    padding: 0.5rem 3rem;
    background-color: var(--text-dark);
    color: var(--nav-color);
    text-align: center;
    font-size: 0.8rem;
}
.copy a{
    color: var(--main-color);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cards-container .card {
    background-color: var(--card-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border: 1px solid var(--card-border-color);
}

.card .card-img {
    background-color: var(--card-color);
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-bottom: 1px solid var(--card-border-color);
}

.card .card-content {
    padding: 1rem;
}

.card .card-content .title {
    font-weight: bold;
    margin-bottom: 1rem;
}

.card .row {
    display: flex;
    gap: 0.25rem;
    padding: 6px 12px;
    align-items: center;
    border: 1px solid var(--card-border-color);
}

.haber-container {
    margin-top: 3rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 5rem;

}



.haber img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
    box-shadow: rgba(0, 0, 0, 0) 0px 5px 15px;
}

.haber .title {
    margin-top: 6px;
}

.haber .bottom {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
}

.btn-oku {
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: var(--accent-color);
    padding: 1rem 2rem;
    border: none;
    color: white;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    font-size: 1.2rem;
    border-radius: 12px;
    text-shadow: 0px 0px 6px rgba(16, 21, 75, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-success{
    background-color: var(--success-color);
}
.btn-success::before{
    background: radial-gradient(circle closest-side, #fd86ae, transparent) !important;

}
.btn-success:hover::before {
    --size: 300px;
}
.btn-oku span {
    position: relative;
    pointer-events: none;
    z-index: 1;
}
.lang-selector{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lang-selector img{
    border-radius: 6px;
    height: calc( var(--header-height) - 36px );
}

.btn-oku::before {
    --size: 0;
    content: '';
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(circle closest-side, #fd86ae, transparent);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: width .2s ease, height .2s ease;
    z-index: 0;
}

.btn-oku:hover::before {
    --size: 100px;
}
.g-1{
    gap: 1rem;
}
.fg-1{
    flex-grow: 1;
}
.row{
    display: flex;
}
.form-iletisim {
    border-radius: 12px;
    padding: 12px;
    background-color: #fff;
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.form-item {
    position: relative;
}

.form-item input {
    display: block;
    height: 50px;
    border-radius: 12px;
    background: transparent;
    border: solid 1px var(--text-dark-300);
    transition: all .2s ease;
    padding: 0 15px;
    width: 100%;
}
.form-item textarea {
    display: block;
    border-radius: 12px;
    background: transparent;
    border: solid 1px var(--text-dark-300);
    transition: all .2s ease;
    padding: 15px;
    width: 100%;
}
.form-item select{
    display: block;
    height: 50px;
    border-radius: 12px;
    background: transparent;
    border: solid 1px var(--text-dark-300);
    transition: all .2s ease;
    padding: 0 15px;
    width: 100%;
}

.form-item input:focus {
    border-color: blue
}

.form-item label {
    position: absolute;
    cursor: text;
    z-index: 2;
    top: 18px;
    left: 10px;
    font-size: 12px;
    font-weight: bold;
    padding: 0 16px;
    color: var(--text-dark-300);
    background-color: var(--bg-color);
    transition: all .2s ease;
    width: min-content;
    text-wrap: nowrap;
}

.form-item input:focus+label,
.form-item input:valid+label {
    font-size: 11px;
    top: -5px
}
.form-item .selected{
    top: -5px;
}
.form-item input:focus::placeholder {
opacity: 0.8;
}
    .form-item input::placeholder {
opacity: 0;
    }
.form-item input:focus+label {
    color: var(--text-dark)
}
.search-form{
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    padding: 0px 12px;
}
.search-form .search-item select,
.search-form .search-item input[type='text']{
    border-radius: 12px;
    text-align: center;
    height: 40px;
    outline: none;
    border: 1px solid black;
}
.search-form .search-item{
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 3px;
}
.search-form .search-item label{
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
}
.search-form .btn-search{
    height: 40px;
    aspect-ratio: 1/1;
    background-color: var(--success-color);
    color: var(--text-light);
    border-radius: 16px;
    outline: none;
    border: none;
}
.mt-1{
    margin-top: 1rem;
}





@media only screen and (max-width: 900px) {
    h1{
        font-size: 2rem !important;
    }
    .m-none{
        display: none;
    }
    .cards-container {
        grid-template-columns: repeat(1, 1fr);
    }
    footer{
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    footer .area{
        width: 100%;
    }
    .socials{
        justify-content: center;
    }
    .m-column{
        display: flex;
        flex-direction: column;
    }
    .m-column{
        flex-direction: column;
    }

    .haber-container {
        grid-template-columns: repeat(1, 1fr);

    }

    .overflow {
        display: none;
    }

    #open-sidebar-button,
    #close-sidebar-button {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    header {
        padding: 0 1rem;
    }

    header ul {

        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: min(15em, 100%);
        z-index: 10;
        transition: right 300ms ease-in-out;
        background-color: var(--text-dark);
    }

    header ul.show {
        right: 0;
    }

    ul.show~#overlay {
        display: block !important;
    }

    header ul {
        width: 70%;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        gap: 1rem;
    }

    header ul .btn-action {
        width: calc(100% - 2rem);
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    header ul a {
        color: var(--bg-color);
        width: 100%;
    }

    header ul a.active-link {
        border-bottom: none;
    }

    header ul .home-li {
        margin-right: unset;
    }

}
/* Dropdown için */
header ul li {
  position: relative;
}

header ul li .sub-menu {
    position: absolute;
    width: max-content;
  flex-direction: column;
  gap: 0.5rem;
  background-color: var(--nav-color-500);
  padding: 1rem;
  border-radius: 12px;
  display: none;
  top: 70px;
}

header ul li.open .sub-menu {
  display: flex;
  color: #000;
}

/* Sadece mobilde aktif olsun */
@media only screen and (max-width: 900px) {
header ul li .sub-menu {
    top: 2rem;
}
header ul li .sub-menu a {
      color: #000 !important;

    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
}