/* Temel Ayarlar ve Renk Paleti */
:root {
    --color-background: #F8F5F2;
    --color-text: #4a4a4a;
    --color-primary: #8D9B87;
    --color-secondary: #BFA89E;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;
    --font-arabic: 'Cairo', sans-serif;
}
body { font-family: var(--font-body); background-color: var(--color-background); color: var(--color-text); margin: 0; line-height: 1.7; }
body.no-scroll { overflow: hidden; }

/* Dil ve Font Ayarları */
.lang { display: none; }
.lang-tr, .lang-en, .lang-ar { display: inline-block; }
:lang(ar) { font-family: var(--font-arabic); }

/* Header ve Navigasyon */
.main-header { position: absolute; width: 100%; z-index: 100; transition: all 0.4s ease; padding: 20px 0; }
.main-header.scrolled { position: fixed; background-color: rgba(248, 245, 242, 0.95); backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 10px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; width: 90%; max-width: 1200px; margin: 0 auto; }
.main-header .logo a { font-family: var(--font-heading); font-size: 1.8rem; letter-spacing: 3px; color: white; transition: color 0.4s ease; text-decoration: none; }
.main-header.scrolled .logo a { color: var(--color-text); }
.nav-wrapper { display: flex; align-items: center; gap: 20px; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; }
.main-nav a { color: white; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.main-header.scrolled .main-nav a { color: var(--color-text); }
.main-nav a:hover { color: var(--color-secondary); }

/* Dil Menüsü */
.language-switcher { position: relative; }
.lang-button { background: transparent; border: 1px solid white; color: white; padding: 8px 15px; border-radius: 50px; cursor: pointer; font-family: var(--font-body); transition: all 0.4s ease; }
.main-header.scrolled .lang-button { border-color: var(--color-primary); color: var(--color-primary); }
.lang-button:hover { background-color: var(--color-primary); border-color: var(--color-primary); color: white; }
.lang-dropdown { display: none; position: absolute; top: 110%; right: 0; background-color: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; min-width: 120px; z-index: 10; }
.lang-dropdown.show { display: block; }
.lang-dropdown a { display: block; padding: 10px 20px; color: var(--color-text); text-decoration: none; }
.lang-dropdown a:hover { background-color: var(--color-background); color: var(--color-primary); }

/* Mobil Menü */
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 101; padding: 10px; }
.mobile-menu-toggle .bar { display: block; width: 25px; height: 3px; background-color: white; margin: 5px 0; transition: all 0.3s ease-in-out; }
.main-header.scrolled .mobile-menu-toggle .bar { background-color: var(--color-text); }
.mobile-menu-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-menu-toggle.open .bar:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Butonlar */
.button-primary { background-color: var(--color-primary); color: white !important; padding: 10px 25px; border-radius: 50px; text-decoration: none; transition: background-color 0.3s ease; display: inline-block; }
.button-primary:hover { background-color: #7a8a73; }
.button-secondary { display: inline-block; background-color: var(--color-primary); color: white !important; padding: 12px 30px; border-radius: 50px; text-decoration: none; margin-top: auto; font-weight: bold; }
.button-secondary:hover { background-color: #7a8a73; }

/* Hero Bölümü */
.hero-section { position: relative; height: 100vh; display: flex; justify-content: center; align-items: center; text-align: center; color: white; overflow: hidden; }
.video-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; filter: brightness(0.6); }
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 2.1rem; margin: 0; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; }

/* Genel Bölümler */
.content-section { padding: 100px 5%; text-align: center; }
h2 { font-size: 2.5rem; margin-bottom: 40px; }
p.subtitle { margin-top: 0; margin-bottom: 40px; color: var(--color-secondary); }

/* MENÜ BÖLÜMÜ */
.menu-section-wrapper { padding: 50px 4%; background-color: #fff; }
.menu-container { display: flex; gap: 40px; max-width: 1400px; margin: 0 auto; }
.menu-sidebar { flex: 4; }
.menu-details { flex: 5; position: sticky; top: 100px; height: calc(100vh - 120px); align-self: flex-start; }
.details-content-wrapper { height: 100%; display: flex; flex-direction: column; }

/* Menü Başlık ve İçerikleri */
.accordion { margin-top: 20px; }
.menu-header { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; margin-top: 20px; padding: 15px; border-radius: 8px; border: 1px solid #e9e4e0; background-color: var(--color-background); color: var(--color-primary); }
.menu-content { margin-top: 10px; }

/* "Daha Fazla Göster" Butonu */
.menu-content .menu-item:nth-child(n+4) { display: none; }
.menu-content.expanded .menu-item { display: flex; }
.show-more { background: none; border: 1px solid var(--color-secondary); color: var(--color-secondary); padding: 8px 15px; border-radius: 20px; cursor: pointer; margin: 10px auto; display: block; }
.show-more:hover { background-color: var(--color-secondary); color: white; }

/* Menü Öğeleri */
.menu-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 10px; cursor: pointer; border-radius: 8px; transition: all 0.2s ease; border-bottom: 1px solid #f5f5f5; border-left: 4px solid transparent; }
.menu-item:hover { background-color: #f0ebe8; }
.menu-item.active { background-color: var(--color-background); border-left-color: var(--color-secondary); }
.menu-item.main-package { border-left-color: var(--color-primary); background-color: #e9e4e0; font-weight: bold; margin-bottom: 10px; }
.menu-item.main-package.active { background-color: #e0d9d4; border-left-color: var(--color-secondary); }
.item-title { font-weight: 500; font-size: 1rem; color: #333; }
.item-price { font-weight: bold; font-size: 1rem; color: var(--color-primary); }

/* Detay Sütunu */
.menu-details h3 { font-family: var(--font-heading); font-size: 2.5rem; margin: 0 0 15px 0; }
.menu-details img { width: 100%; height: 250px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.menu-details #detail-desc { font-size: 0.95rem; line-height: 1.7; margin-bottom: 15px; }
.menu-details .price-detail { font-size: 1.7rem; font-weight: bold; color: var(--color-primary); margin: 10px 0; }
.details-content-wrapper { overflow-y: auto; }
.durations-container { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; font-weight: 500; }
.duration-item { background-color: var(--color-background); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; }
#detail-contents-container, #amenities-container { margin-top: 15px; margin-bottom: 15px; }
#detail-contents-container h4, .common-content h4 { font-family: var(--font-body); font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; border-top: 1px solid #e9e4e0; padding-top: 15px; font-weight: 500; text-align: left; }
.package-contents-list { list-style: '✓  '; padding-left: 20px; margin: 0; text-align: left; }
.package-contents-list li { padding-left: 10px; margin-bottom: 5px; }
.common-content .amenities-list { font-size: 0.95rem; line-height: 2; margin: 0; text-align: left;}
.menu-details .button-secondary { margin-top: auto; }

/* İLETİŞİM BÖLÜMÜ */
.contact-section { padding: 100px 5%; background-color: var(--color-background); }
.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; max-width: 1200px; margin: 0 auto; text-align: left; }
.contact-info h3 { font-family: var(--font-heading); font-size: 2rem; margin-top: 0; margin-bottom: 20px; }
.contact-item { margin-bottom: 20px; line-height: 1.8; }
.contact-item strong { color: var(--color-primary); }
.contact-item a { color: var(--color-text); text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: var(--color-primary); }
.whatsapp-button { margin-top: 20px; }
.contact-map iframe { border-radius: 8px; width: 100%; height: 100%; min-height: 400px; }

/* Galeri, Footer vb. */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; transition: transform 0.3s ease; }
.gallery-item img:hover { transform: scale(1.05); }
.main-footer { text-align: center; padding: 20px; background-color: #e0d9d4; font-size: 0.9rem; }

/* Mobil Uyumlu Stiller */
@media (max-width: 992px) {
    .mobile-menu-toggle { display: block; }
    .nav-wrapper { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background-color: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 30px; transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1); box-shadow: -5px 0 15px rgba(0,0,0,0.1); z-index: 1000; }
    .nav-wrapper.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 20px; }
    .main-nav a, .main-header.scrolled .main-nav a { color: var(--color-text); font-size: 1.2rem; }
    .lang-button, .main-header.scrolled .lang-button { border-color: var(--color-primary); color: var(--color-primary); }
    .menu-container { flex-direction: column; }
    .menu-details { position: static; height: auto; margin-top: 40px; }
    .details-content-wrapper { overflow-y: visible; }
    .hero-content h1 { font-size: 3rem; }
    .contact-container { grid-template-columns: 1fr; }
}

/* RTL Yönlendirme Stilleri */
[dir="rtl"] .main-header .logo { order: 2; }
[dir="rtl"] .nav-wrapper { order: 1; }
[dir="rtl"] .mobile-menu-toggle { order: 1; }
[dir="rtl"] .lang-dropdown { right: auto; left: 0; }
[dir="rtl"] .lang-button span:last-child { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .menu-sidebar { border-right: none; border-left: 1px solid #e9e4e0; padding-right: 0; padding-left: 30px; }
[dir="rtl"] .menu-header::after { left: 20px; right: auto; }
[dir="rtl"] .contact-container, [dir="rtl"] #detail-contents-container h4, [dir="rtl"] .common-content h4, [dir="rtl"] .package-contents-list, [dir="rtl"] .common-content .amenities-list { text-align: right; }
[dir="rtl"] .package-contents-list { list-style: '  ✓'; padding-left: 0; padding-right: 20px; }
[dir="rtl"] .package-contents-list li { padding-left: 0; padding-right: 10px;}
.image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Puts the image behind the text content */
    overflow: hidden;
}

.image-background img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without distortion */
    object-position: center;
}

.hero-section {
    position: relative; /* Necessary for z-index to work on child elements */
}