@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*{
    margin: 0px;
    padding: 0px;
    font-family: 'Poppins', sans-serif;
}
html{
    scroll-behavior: smooth;
    height: 100%;
}
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.container{
    background-color: rgb(240, 240, 240);
}
@keyframes asagiIn {
    from {
        opacity: 0.1;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.giris-anim {
    animation: asagiIn 0.5s ease-out forwards;
}

/*Menü Ve Banner Tasarımı*/

.menu{
    background-color: rgb(240, 240, 240);
    list-style-type: none;
    display: flex;
    justify-content: flex-start; /* Align logo and menu items to the left */
    align-items: center; /* Vertically center items */
    border-bottom: 2px solid rgb(167, 163, 163);
    padding: 0 20px; /* Add padding for spacing */
    gap: 10px; /* Reduce spacing between items */
    font-weight: bold;
}
.menu .logo {
    margin-right: 0; /* Remove auto margin to keep menu items next to the logo */
    display: flex;
    align-items: center; /* Vertically align the logo */
}
.menu img{
    width: 75px;
    padding-right: 0; /* Remove padding */
    margin-left: 0; /* Ensure no extra margin */
}
.menu .menuclass a{
    text-decoration: none;
    color: rgb(54, 54, 54);
    display: block;
    padding: 29px;
    transition: all 0.5s;
    
}
.menu .menuclass a:hover{
    color: rgb(14, 14, 14);
    background-color: rgb(230, 230, 230);
}
.banner{
    background-image: url(img/banner.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    padding: 30vh 0 10vh 0;
    color: #2e2e2e;
    position: relative;
    border-radius: 0px 0px 20px 20px;
}
.logo img{
    width: 50px;
}
.banner::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
}
.banner h1{
    font-size: 50px;
    padding-left: 0px;
    padding-top: 0px;
}
.banner h2{
    font-size: 35px;
    padding-left: 0px;
}
.slogan{
    width: 90%;
    max-width: 500px;
    margin-left: 30px;
    position: relative;
}

/*Arama Kutusu*/

.search-box {
    display: flex;
    padding: 10px;
    width: 90%;
    max-width: 800px;
    margin: 10px auto auto auto;
}

.search-box input {
    flex: 1;
    padding: 10px 16px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 18px 0 0 18px;
    outline: none;
    text-align: left;
}
.search-box input::placeholder{
    text-align: left;
}
.search-box button {
    padding: 10px 15px;
    font-size: 15px;
    border: none;
    background-color: #1e90ff;
    color: white;
    cursor: pointer;
    border-radius: 0 18px 18px 0;
}

.search-box button:hover {
    background-color: #0f78d1;
}

/*Oturum Aç butonu*/

.menu .auth {
    margin-left: auto; /* Push "Oturum Aç" to the far right */
}

.auth-button {
    text-decoration: none;
    color: white;
    background-color: #1e90ff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.auth-button:hover {
    background-color: #0f78d1;
}

/*kartlar*/

.kartlar-kart{
    padding: 0px 0px 25px 0px;
    margin: 10px 0px 20px 0px;
}
.baslik{
    text-align: center;
    font-size: 30px;
    letter-spacing: 8px;
    padding-bottom: 25px;
}
.kartlar{
    gap: 10px;
    display: flex;
    justify-content: space-evenly;
}

.kart{
    width: 300px;
    padding-bottom: 20px;
    background-color: rgb(228, 228, 228);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    flex-direction: column;
    transition: 0.3s;
}
.kart:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.kart img{
    width: 100%;
}
.kart a{
    display: inline-block;
    margin: 10px 10px 0px 0px;
    padding: 10px 20px;
    background-color: #1e90ff;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.kart a:hover {
    background-color: #0f78d1;
}

/*Turlar Sayfasi*/

.basliktur{
    text-align: center;
    font-size: 35px;
    padding-bottom: 10px;
}
.basliktur2{
    font-size: 25px;
    padding-bottom: 25px;
    text-align: center;
}
.turkartlari{
    gap: 20px;
    display:flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.turkart {
    width: 30%; /* Kutuların genişliği %30 olacak, istediğiniz genişlik değerini buraya yazabilirsiniz */
    min-width: 350px; /* Kutuların minimum genişliği 320px olacak */
    padding-bottom: 25px;
    background-color: rgb(228, 228, 228);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: 0.3s;
}
.turkart:hover{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.turkartimg{
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.turkartaciklama{
    margin: 10px;
}
.turkart a{
    display: inline-block;
    margin: 10px 10px 0px 0px;
    padding: 10px 20px;
    background-color: #1e90ff;
    color: white;
    text-decoration: none;
    border-radius: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
}
.turkart a:hover{
    background-color: #0f78d1;
}

/* referanslar Bölümü */

.slider-section {
    padding: 0px 0;
    background-color: rgb(240, 240, 240);
}
.slider-section .baslik {
    margin-top: 30px;
}

.slider-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 550px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.slide {
    position: absolute;
    inset: 0;
    display: none; /* Önce gizle */
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* Sadece aktif olan anında görünür */
.slide.active {
    display: flex;
}

.slide-content {
    color: white;
    z-index: 2;
    padding: 20px;
}

.slide-content h1 {
    font-size: 50px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.kesfet-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 35px;
    background-color: #1e90ff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.kesfet-btn:hover {
    background-color: #0f78d1;
}

/* Düzelttiğimiz Modern Butonlar */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #1e90ff;
}

.left { left: 20px; display: none; } /* Başta gizli */
.right { right: 20px; }

/*rezervasyon bölümü*/

.rezervasyon-section { padding: 80px 20px; }
.rezervasyon-ust-baslik { text-align: center; margin-bottom: 30px; }
.rezervasyon-ust-baslik h2 {
    font-size: 30px;
}
.rezervasyon-kutu {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.input-row { display: flex; gap: 20px; margin-bottom: 15px; }
.field { flex: 1; display: flex; flex-direction: column; margin-bottom: 10px; }
.field label { font-size: 13px; font-weight: bold; margin-bottom: 5px; color: #555; }
.field input, .field select, .field textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}
.rezervasyon-btn {
    width: 100%;
    padding: 15px;
    background: #1e90ff;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}
.rezervasyon-btn:hover { background: #0f78d1; }

/* Telefonlar için uyum */
@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Basit İletişim Tasarımı */
.iletisim-basit {
    max-width: 900px;
    margin: 60px auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Üst Mavi Kısım */
.iletisim-ust-mavi {
    background-color: white;
    color: #1e90ff;
    padding: 30px;
    text-align: center;
}

.iletisim-ust-mavi h2 {
    font-size: 28px;
    margin-bottom: 0px;
    letter-spacing: 2px;
}

.bilgi-satiri {
    font-size: 15px;
    opacity: 0.9;
}

/* Form Kısmı */
.iletisim-alt-form {
    padding: 40px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field input, 
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.form-field input:focus, 
.form-field textarea:focus {
    border-color: #1e90ff;
}

.basit-gonder-btn {
    width: 100%;
    padding: 15px;
    background-color: #1e90ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.basit-gonder-btn:hover {
    background-color: #0f78d1;
    transform: translateY(-2px);
}

/* Mobilde bilgiler alt alta gelsin */
@media (max-width: 600px) {
    .bilgi-satiri { display: flex; flex-direction: column; gap: 10px; }
}

/* --- FOOTER TASARIMI (GÜNCEL) --- */

.site-footer {
    background-color: #2c3e50; /* Koyu modern gri/lacivert */
    color: white;
    padding: 60px 0 0 0; /* Üstten geniş, alttan sıfır başla */
    margin-top: 80px;
    width: 100%;
    display: block;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px 40px 20px; /* İçerik bittikten sonra bir boşluk bırak */
}

.footer-item {
    flex: 1;
}

.footer-item h3 {
    font-size: 26px;
    color: #1e90ff;
    margin-bottom: 20px;
    font-weight: bold;
}

.footer-item h4 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #1e90ff;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-item p {
    font-size: 14px;
    line-height: 1.8;
    color: #bdc3c7;
}

.footer-item ul {
    list-style: none;
}

.footer-item ul li {
    margin-bottom: 10px;
}

.footer-item ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 14px;
}

.footer-item ul li a:hover {
    color: #1e90ff;
    padding-left: 8px; /* Şık bir kayma efekti */
}

.sosyal-ikonlar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sosyal-ikonlar a {
    color: white;
    text-decoration: none;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    transition: 0.3s;
}

.sosyal-ikonlar a:hover {
    background: #1e90ff;
    transform: translateY(-3px);
}

/* En Alt Telif Hakkı Bandı - Boşluğu Bitiren Yer */
.footer-alt {
    background-color: #1a252f; /* Biraz daha koyu bir ton */
    text-align: center;
    padding: 25px 0;
    margin-top: 0;
}

.footer-alt p {
    margin: 0; /* Tarayıcının verdiği otomatik boşluğu öldürür */
    font-size: 13px;
    color: #7f8c8d;
    padding: 0 10px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-item h4 {
        margin-top: 10px;
    }
    .sosyal-ikonlar {
        justify-content: center;
    }
}

/* Consolidated Media Queries */
@media (max-width: 768px) {
    .menu {
        flex-wrap: wrap;
        flex-direction: column; /* Stack menu items vertically */
        align-items: center; /* Center menu items */
    }
    .menu .logo, .menu .auth {
        display: none; /* Hide logo and "Oturum Aç" button */
    }
    .menu li {
        width: 100%; /* Make each menu item take the full width */
    }
    .menu li a {
        padding: 15px;
        width: 100%; /* Ensure the anchor tag spans the full width */
        text-align: center; /* Center the text inside the button */
        display: block; /* Ensure block-level behavior */
    }
    .banner h1 {
        font-size: 34px;
    }
    .banner h2 {
        font-size: 22px;
    }
    .search-box {
        width: 95%;
    }
    .kartlar {
        flex-wrap: wrap; /* Allow wrapping for cards */
        justify-content: center; /* Center the cards */
    }
    .kart {
        width: 45%; /* Adjust width to fit 2 cards per row */
        margin: 10px; /* Add spacing between cards */
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .footer-item h4 {
        margin-top: 10px;
    }
    .sosyal-ikonlar {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .input-row {
        flex-direction: column;
        gap: 0;
    }
    .bilgi-satiri {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .kart {
        width: 100%; /* Full width for smaller screens */
    }
}

/* Remove any extra margin or padding from the body and html */
html, body {
    margin: 0;
    padding: 0;
}

/* Ensure the footer sticks to the bottom of the page */
html {
    height: 100%;
}
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid black;
}
.site-footer {
    margin-top: auto;
}
