/* 1. TEMEL DEĞİŞKENLER VE MARKA RENKLERİ */
:root {
  --brand: rgb(98, 199, 239);
  --bs-body-bg-rgb: 244, 246, 248;
  --bs-dark-bg-subtle: #1e1e1e;
  --bs-dark-border-subtle: rgba(255, 255, 255, 0.1);
}

body {
  background-color: rgb(var(--bs-body-bg-rgb));
  padding-bottom: 70px; /* Mobil alt bar için boşluk */
}

.btn-brand, [data-bs-theme="dark"] .btn-brand {
  background-color: var(--brand);
  color: #000 !important;
  border-color: var(--brand);
  font-weight: 600;
}
.btn-brand:hover, [data-bs-theme="dark"] .btn-brand:hover {
  background-color: color-mix(in srgb, var(--brand) 85%, black);
  border-color: color-mix(in srgb, var(--brand) 85%, black);
  color: #fff !important;
}

/* 2. GALERİ (MASONRY) STİLLERİ */
.masonry{display:block!important;column-count:2;column-gap:14px;}
@media (min-width:576px){.masonry{column-count:2}}
@media (min-width:768px){.masonry{column-count:3}}
@media (min-width:1200px){.masonry{column-count:4}}
.masonry-item{display:inline-block;width:100%;margin:0 0 14px;break-inside:avoid;-webkit-column-break-inside:avoid;position:relative}
.masonry-item img{
  display:block;width:100%;height:auto;border-radius:12px;
  box-shadow:0 6px 18px rgba(17,24,39,.08);
  opacity: 0;
  transition: opacity .35s ease, box-shadow .25s ease;
}
.masonry-item img.is-loaded{opacity:1}

/* 3. KARANLIK MOD KAPSAMLI STİLLERİ */
[data-bs-theme="dark"] {
  --bs-body-bg-rgb: 18, 18, 18;
  --bs-body-color: #e8e6e3;

  .bg-white, .bg-body-tertiary, .accordion-item, .card, .review-card, .offcanvas {
    background-color: var(--bs-dark-bg-subtle) !important;
  }
  .text-secondary { color: #a9a9a9 !important; }
  .text-dark { color: var(--bs-body-color) !important; }
  .border { border-color: var(--bs-dark-border-subtle) !important; }
  .shadow-sm { box-shadow: 0 .125rem .25rem rgba(0,0,0,.5) !important; }
  .swiper-button-next, .swiper-button-prev { color: var(--bs-body-color); }
  .accordion-button { color: var(--bs-body-color); }
  .accordion-button:not(.collapsed) { background-color: rgba(255,255,255, .05); }
  .masonry-item img {
    box-shadow: 0 6px 18px rgba(0,0,0,.4);
  }
  .logo-dark { display: block; }
  .logo-light { display: none; }
  .btn-outline-dark {
    color: var(--bs-tertiary-color);
    border-color: var(--bs-tertiary-color);
  }
   .btn-outline-dark:hover {
    color: #000;
    background-color: var(--bs-tertiary-color);
    border-color: var(--bs-tertiary-color);
  }
  .mini-header {
    background: rgba(30, 30, 30, 0.75);
  }
  .site-footer {
    background: #111;
  }
}
.logo-dark { display: none; }
.logo-light { display: block; }

/* 4. TEMA DEĞİŞTİRİCİ (SWITCH) TASARIMI */
.theme-switch {
  position: relative; display: inline-flex; align-items: center;
  width: 56px; height: 30px; border-radius: 15px;
  background-color: var(--bs-tertiary-bg);
  border: 1px solid var(--bs-border-color);
  cursor: pointer; padding: 0;
  transition: background-color 0.2s ease-in-out;
}
.theme-switch-icon {
  position: absolute; font-size: 0.8rem;
  transition: opacity 0.2s ease-in-out, transform 0.3s ease-in-out;
}
.theme-switch-icon-light { left: 7px; color: #ffc107; }
.theme-switch-icon-dark { right: 7px; color: #8468F5; }
.theme-switch-handle {
  position: absolute; top: 2px; left: 2px;
  width: 24px; height: 24px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
[data-bs-theme="light"] .theme-switch-icon-dark { opacity: 1; transform: translateX(0); }
[data-bs-theme="light"] .theme-switch-icon-light { opacity: 0; transform: translateX(-10px); }

[data-bs-theme="dark"] .theme-switch-handle {
  transform: translateX(26px);
  background-color: #343a40;
}
[data-bs-theme="dark"] .theme-switch-icon-dark { opacity: 0; transform: translateX(10px); }
[data-bs-theme="dark"] .theme-switch-icon-light { opacity: 1; transform: translateX(0); }

/* 5. MOBİL OFF-CANVAS MENÜ STİLLERİ */
.mobile-nav-links .nav-link {
  font-size: 1.2rem;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.5rem;
}
.mobile-nav-links .nav-link:hover {
  background-color: var(--bs-secondary-bg);
}
.mobile-nav-links .nav-link.active {
  font-weight: bold;
  color: var(--brand);
  background-color: color-mix(in srgb, var(--brand) 15%, transparent);
}
.offcanvas-body .bg-body-secondary {
  background-color: var(--bs-secondary-bg) !important;
}

/* 6. MİNİ HEADER */
.mini-header {
  position:fixed; top:0; left:0; right:0; z-index:1055;
  background: rgba(255,255,255,.75);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(12,63,77,.1);
  transform: translateY(-100%);
  transition: transform .35s ease;
}
.mini-header.show {
  transform: translateY(0);
}
.mini-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}

/* 7. MOBİL ALT NAVİGASYON */
.mobile-bottom-nav{
  position:fixed; left:0; right:0; bottom:0; z-index:1030;
  background-color: var(--bs-body-bg);
  border-top: 1px solid var(--bs-border-color);
  display:flex; justify-content:space-around; padding:.35rem .25rem;
  box-shadow:0 -4px 24px rgba(0,0,0,.08);
}
.mobile-bottom-nav .mbn-item{
  flex:1; text-align:center; color: var(--bs-body-color); text-decoration:none; font-size:.75rem;
  display:flex; flex-direction:column; align-items:center; gap:.1rem;
}
.mobile-bottom-nav .mbn-item i{ font-size:1.25rem; color: var(--brand); }
@media (min-width: 992px){ .mobile-bottom-nav{ display:none; } body {padding-bottom: 0;} }

/* DİĞER SAYFA STİLLERİ (footer, home, rooms, room) */
.site-footer{
  background: var(--bs-tertiary-bg);
  border-top:1px solid var(--bs-border-color);
}
.site-footer .footer-link{
  color: var(--bs-secondary-color);
  text-decoration:none;
  transition:color .2s ease;
}
.site-footer .footer-link:hover{color:var(--brand);}

.hero-section { height: calc(100vh - 66px); position: relative; overflow: hidden; border-radius: 0 0 32px 32px; }
.hero-video-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-video-iframe { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: calc(100vh - 66px); min-width: calc((100vh - 66px) * 1.777); transform: translate(-50%, -50%); border: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; background: linear-gradient(0deg, rgba(0,0,0,.3), rgba(0,0,0,.1)); z-index: 2; }
.hero-text-container { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: white; padding-left: 1rem; padding-right: 1rem; width: 100%; z-index: 3; }
.hero-text-panel { display: inline-block; background: rgba(0, 0, 0, 0.25); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); padding: 2rem; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); }
.hero-section .btn { transition: transform 0.2s ease; }
.hero-section .btn:hover { transform: scale(1.05); }
.scroll-down-indicator { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); opacity: 0; animation: fadeIn 1.5s ease-in-out 2s forwards; cursor: pointer; z-index: 3; color: white; }
.scroll-down-indicator i { display: block; animation: bounce 2s infinite 2.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 40% { transform: translateY(-15px); } 60% { transform: translateY(-7px); } }
.reviews-section { padding-top: 4rem; padding-bottom: 4rem; }
.review-card { background: #fff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.05); height: 100%; display: flex; flex-direction: column; }
.review-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.review-author { font-weight: 600; font-size: 1.1rem; }
.review-source { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: #555; }
.review-rating { color: #ffc107; margin-bottom: 1rem; }
.review-text { font-size: 0.95rem; color: #666; flex-grow: 1; }
.reviews-swiper .swiper-pagination-bullet-active { background-color: var(--brand); }
.resto-swiper { padding-bottom: 32px; }
.resto-swiper .swiper-slide{ aspect-ratio: 16/9; overflow: hidden; border-radius: 14px; background: #f3f4f6; }
.resto-swiper .swiper-slide > a{ display:block; width:100%; height:100%; }
.resto-swiper img{ width:100%; height:100%; object-fit:cover; display:block; }
.room-card:hover { box-shadow:0 10px 24px rgba(0,0,0,.08); transform: translateY(-1px); transition:.2s; }
.room-card .stretched-link { z-index: 1; }
.room-card .btn { position: relative; z-index: 2; }
.room-hero { max-height: min(72vh, 820px); }
.object-fit-cover { object-fit: cover; }
.other-room-card { transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; }
.other-room-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }

@media (max-width: 991.98px){
  #rooms .room-col { flex-basis: calc((100% - 1.5rem) / 2); max-width: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 767.98px){
  #rooms .room-col { flex-basis:100%; max-width:100%; }
  .hero-text-panel { width: 95%; padding: 1.5rem; }
  .display-5 { font-size: 1.75rem; }
  .lead { font-size: 1rem; }
  .scroll-down-indicator { bottom: 4rem; }
  .scroll-down-indicator i { font-size: 1.5rem !important; }
}
