@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* Genel Ayarlar */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Menü (Header) */
header {
    background-color: #ffffff;
    color: #2c3e50;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #f1f5f9;
}

.menu-btn {
    display: none;
    font-size: 1.8rem;
    color: #d35400;
    cursor: pointer;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #d35400;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 100px;
    width: auto;
}

nav > ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav > ul > li > a {
    transition: all 0.3s;
    font-weight: 500;
}

nav > ul > li > a:not(.btn):not(.user-dropdown-btn) {
    color: #2c3e50;
}

nav > ul > li > a:not(.btn):not(.user-dropdown-btn):hover {
    color: #d35400;
}

nav > ul > li > a:not(.btn).nav-active {
    color: #d35400 !important;
    font-weight: bold;
    position: relative;
}

nav > ul > li > a:not(.btn).nav-active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: #d35400;
    border-radius: 2px;
}

/* ── Kullanıcı Profil Dropdown ── */
.user-dropdown {
    position: relative;
}

.user-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #d35400;
    border: 1.5px solid #d35400;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.user-dropdown:hover .user-dropdown-btn {
    background: #d35400;
    color: #fff;
}

.user-dropdown-btn .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.25s;
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Menü varsayılanda TAMAMEN GİZLİ */
.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;           /* Boşluksuz başlar — hover alanı kesilmez */
    right: 0;
    padding-top: 6px;    /* Görsel boşluk padding ile sağlanır */
    min-width: 170px;
    z-index: 1100;
}

/* Hover'da menü GÖRÜNÜR */
.user-dropdown:hover .user-dropdown-menu {
    display: block;
}

/* Görsel kart — ul'un padding-top'u görünmez geçiş alanı olarak kalır */
.dropdown-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 5px 0;
}

.user-dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.user-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    color: #2c3e50;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
}

.user-dropdown-menu li a:hover {
    background: #fff5ee;
    color: #d35400;
}

.user-dropdown-menu li a.logout-link {
    color: #e74c3c;
    border-top: 1px solid #f0f0f0;
    margin-top: 3px;
    padding-top: 9px;
}

.user-dropdown-menu li a.logout-link:hover {
    background: #fff5f5;
    color: #c0392b;
}


/* Hero Bölümü */
.hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
}

.btn {
    padding: 12px 30px;
    background-color: #d35400;
    color: white;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #b33c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Sayfa Bölümleri */
.section {
    padding: 4rem 5%;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Galeri */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-item {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Odalar */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.room-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: left;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.room-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.room-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-title {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.room-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 50px;
}

.room-price {
    color: #d35400;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: auto;
}

/* Restoran Menü Sekmeleri */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background: #e2e8f0;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #4a5568;
    transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
    background: #d35400;
    color: white;
}

.menu-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed #cbd5e0;
    padding: 15px 0;
    gap: 20px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item h4 {
    color: #2d3748;
    font-size: 1.15rem;
}

.menu-item p {
    font-size: 0.9rem;
    color: #718096;
    margin-top: 5px;
}

.menu-price {
    font-weight: bold;
    color: #d35400;
    font-size: 1.2rem;
    white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* İletişim Formu */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.contact-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #2d3748;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #d35400;
    box-shadow: 0 0 0 3px rgba(211, 84, 0, 0.15);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #d35400;
}

.footer-section p,
.footer-section a {
    color: #bdc3c7;
    margin-bottom: 10px;
    display: block;
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 15px;
    color: #bdc3c7;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.social-links a:hover {
    color: #d35400;
    transform: translateY(-4px) scale(1.15);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #34495e;
    padding-top: 15px;
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* TÜRSAB Entegrasyon Stilleri */
.header-sub-bar {
    background-color: #fafbfc;
    border-bottom: 1px solid #f1f5f9;
    padding: 5px 5%;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    color: #64748b;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.header-sub-bar a {
    display: inline-flex;
    align-items: center;
    transition: color 0.2s ease;
    color: #64748b;
}
.header-sub-bar a:hover {
    color: #d35400;
}

.tursab-footer-badge {
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    padding: 10px;
    border: 1px solid #34495e;
    max-width: 180px;
}
.tursab-footer-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: #d35400;
}
.tursab-footer-badge img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* WhatsApp Canlı Destek Butonu */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: white;
}

/* Tablet Uyumluluk */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    .menu-btn {
        display: block;
    }

    nav {
        width: 100%;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        gap: 15px;
        padding-top: 0;
        width: 100%;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.4s ease;
    }

    nav ul.show {
        max-height: 500px;
        opacity: 1;
        padding-top: 15px;
    }

    nav ul li a {
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Mobil Grid ve Footer Optimizasyonları */
    .room-grid, .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    footer {
        padding: 2.5rem 5% 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-section {
        margin-bottom: 0.5rem;
    }

    .footer-section p,
    .footer-section a {
        margin-bottom: 8px;
    }

    .tursab-footer-badge {
        margin-top: 10px;
    }

    /* Mobil Dropdown Uyumlaştırması */
    .user-dropdown {
        width: 100%;
        margin-top: 4px;
    }
    .user-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }
    .user-dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: 1px solid #f1f5f9;
        background-color: #f8fafc;
        width: 100%;
        margin-top: 4px;
    }
    .user-dropdown.open .user-dropdown-menu {
        display: block;
    }
    .user-dropdown-menu li a {
        padding: 8px 14px;
    }
}

/* Modal Pencere CSS */
.hs-modal {
    display: none;
    /* Başlangıçta gizli */
    position: fixed;
    z-index: 2000;
    /* Header z-index'inden yüksek */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hs-modal.show {
    display: flex;
    opacity: 1;
}

.hs-modal-content {
    background-color: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hs-modal.show .hs-modal-content {
    transform: translateY(0);
}

.hs-modal-header {
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.hs-modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.35rem;
    font-weight: 600;
}

.hs-modal-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.hs-modal-close:hover {
    color: #e74c3c;
    background-color: #f1f5f9;
}

.hs-modal-body {
    padding: 24px;
    overflow-y: auto;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: left;
}

.hs-modal-body h4 {
    color: #1e293b;
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.hs-modal-body p {
    margin-bottom: 15px;
}

.hs-modal-body ul,
.hs-modal-body ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.hs-modal-body li {
    margin-bottom: 8px;
}

/* Body kaydırma kilidi */
body.hs-modal-open {
    overflow: hidden;
}