/* Custom styles for the PHP Bootstrap site */

html,
body {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

}

#mainBody {
    flex: 1;
    padding: 1em;
}

.un_decoration__link {
    color: var(--bs-body-color);
    text-decoration: none;
}

.fa-instagram {
    font-size: xx-large !important;
}

/*.model-section .model-section-item {
    padding: 5px;
}

.model-section .model-image-container {
    position: relative;
    width: 100%;
}

.model-section .model-image-container img {
    display: block;
    width: 100%;
    height: auto;
}

.model-section .model-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.5);
}

.model-section .model-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}*/

/*yyy*/

/* Ana düzen */
.about-page {
    max-width: 1200px; /* Maksimum genişlik */
    margin: 20px auto; /* Üstten ve alttan boşluk */
    padding: 20px;
    display: flex; /* Yan yana düzen */
    flex-wrap: wrap; /* Küçük ekranlarda alt alta geçiş */
    gap: 20px; /* Yazı ve resim arasında boşluk */
    background-color: #343a40; /* Hafif gri arka plan */
    border-radius: 8px; /* Köşeleri yumuşat */
    box-shadow: 0 4px 10px #020202; /* Hafif gölge efekti */
}

/* Yazı kısmı */
.text-section {
    flex: 1 1 60%; /* Yazı genişliği (%60) */
    color: #555; /* Yazı rengi */
    font-family: 'Roboto', sans-serif; /* Modern sans-serif font */
    text-align: justify; /* Metin hizalama */
}

/* Başlık düzeni */
.text-section h2 {
    font-size: 1.8rem;
    color: #333;
    font-family: 'Playfair Display', serif; /* Serif başlık fontu */
    margin-bottom: 15px;
    border-bottom: 2px solid #ddd; /* Alt çizgi */
    padding-bottom: 5px;
}

/* Metin düzeni */
.text-section p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Görsel kısmı */
.image-section img {
    max-width: 100%;
    border-radius: 8px; /* Köşeleri yumuşat */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Hafif gölge */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Yumuşak geçiş efekti */
}

/* Hover sırasında efekt */
.image-section img:hover {
    transform: scale(1.05); /* Görseli %5 büyüt */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Gölgeyi artır */
}


/* Mobil uyumluluk */
@media (max-width: 768px) {
    .about-page {
        flex-direction: column; /* Alt alta düzen */
    }

    .text-section, .image-section {
        flex: 1 1 100%; /* Her iki kısım tam genişlikte */
    }

    .image-section {
        margin-top: 20px; /* Görsel üst boşluk */
    }
}







/* Model Section */
.model-section {
   display: flex;
    flex-wrap: wrap; /* Elemanların birden fazla satıra taşınmasına izin verir */
    justify-content: space-between; /* Boşlukları eşitler */
    gap: 10px; /* Elemanlar arasında boşluk */
}

.model-section-item {
    flex: 1 1 calc(50% - 10px); /* %50 genişlik (boşluklara uyumlu) */
    box-sizing: border-box; /* Padding genişlik hesaplamasına dahil edilir */
    max-width: calc(50% - 10px); /* Maksimum genişlik */
}

@media (max-width: 768px) { /* Küçük ekranlar için */
    .model-section-item {
        flex: 1 1 100%; /* %100 genişlik */
        max-width: 100%;
    }
}

/* Resim Konteyneri */
.model-image-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Taşmaları gizle */
    background-color: #f0f0f0; /* Görsel yüklenmeden önce arka plan */
    height: 0; /* Konteyner yüksekliği 16:9 oranına göre ayarlanır */
    padding-top: 56.25%; /* 16:9 oranı */
    display: block; /* Link olarak kullanıldığından blok öğesi yap */
}

.model-image-container img {
    position: absolute; /* Konumunu ayarla */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resim oranını koruyarak konteyneri doldur */
    transition: transform 0.5s ease; /* Zoom animasyonu */
}

/* Overlay */
.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Şeffaf siyah arka plan */
    opacity: 0; /* Başlangıçta görünmez */
    transition: opacity 0.5s ease; /* Görünürlük animasyonu */
}

/* Başlık */
.model-title {
    color: white;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    opacity: 0; /* Başlangıçta görünmez */
    transition: opacity 0.5s ease; /* Görünürlük animasyonu */
}

/* Hover Efektleri */
.model-image-container:hover img {
    transform: scale(1.1); /* Resmi büyüt */
}

.model-image-container:hover .model-overlay {
    opacity: 1; /* Overlay görünür */
}

.model-image-container:hover .model-title {
    opacity: 1; /* Başlık görünür */
}




/* yyy */


/* Contact Start */
.contact-section {
    padding: 20px;
}

.contact-section section {
    margin-bottom: 20px;
    background-color: #343a40;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.contact-section h1,
.contact-section h2 {
    text-align: center;
    color: #fff3cd;
}

.contact-section p {
    text-align: center;
    color: #fff;
    line-height: 1.6;
}

.contact-main {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Dikeyde ortalama */
    height: 75vh;
    /* Ekranın tamamını kaplamak için yükseklik */
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
    color: #555;
}
/* Contact End */

/* Models Page Start */
.models .card {
    background-color: #383E42;
}

.models .card-title {
    color: #ffffff;
}

.models .img-model {
    padding: 0;
}

/*yyy*/

.row .card {
    background-color: #383E42 !important;
    color: white;
}
/* yyy*/




/*yyy*/


/*yyy*/



.model-banner {
    padding: 25px 0;
}

/* Models Page End */

/* Footer Start */
.footer_logo {
    text-align: center;
    padding: 5px;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.footer__title {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.footer__list {
    padding: 0;
}

.footer__item {
    font-size: 1.0rem;
    text-align: center;
    margin: 0;
    padding: 3px;
    list-style: none;
}

.footer__link {
    color: #ffffff;
    text-decoration: none;
}

.copyright {
    padding-top: 10px;
    border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

/* Footer End */

/* Index Page Start */
.catalog-section {
    overflow: hidden;
    position: relative;
    z-index: 1;
    background-color: rgb(177 162 138);
    margin: 10px 0;
}

.catalog-section:before,
.catalog-section:after {
    width: 100%;
    height: 42px;
    display: block;
    overflow: hidden;
    position: absolute;
    left: 0;
    z-index: 0;
    background-color: var(--white-color);
    content: "";
}

.catalog-section:before {
    top: 0;
}

.catalog-section:after {
    bottom: 0;
    background-color: var(--color-02);
}

.catalog-section>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.catalog-section .title {
    max-width: 240px;
    text-align: left;
    color: white;
    font-size: 28px;
    font-weight: 700;
    padding: 20px;
}

.catalog-section .catalog {
    max-width: 525px;
    display: inline-block;
}

.catalog>img {
    max-width: 100%;
}

.catalog-link-list {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.catalog-link-list>li:last-child {
    margin-right: 0;
}

.catalog-link-list>li>a {
    display: inline-block;
    overflow: hidden;
    margin: 0 5px;
    color: white;
    position: relative;
}

.catalog-link-list>li>a>span {
    width: 100%;
    display: block;
    font-size: 15px;
    font-weight: 700;
    position: absolute;
    color: white;
    left: 0;
    top: 67px;
    z-index: 1;
}

body.index .catalog-section:after {
    background-color: var(--white-color);
}

/* Index Page End */

@media (min-width: 991px) {
    .nav-item .dropdown-menu {
        display: none;
        position: absolute;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }
}

@media (max-width: 990px) {
    .catalog-section>.container {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-section .title {
        max-width: 100%;
        text-align: center;
        font-size: 24px;
    }

    .catalog-section .catalog {
        max-width: 100%;
        margin: 10px 0;
    }

    .catalog-link-list {
        width: 100%;
        flex-direction: row;
        align-items: center;
    }

    .catalog-link-list>li {
        padding: 5px 20px;
    }

    .catalog-link-list>li>a>span {
        bottom: -20px;
        font-size: 14px;
    }
}