/* ===== KARNELYAN ALAÇATI — Ege / Alaçatı esintili tema ===== */

:root {
  --stone: #faf7f1;          /* beyaz taş */
  --stone-dark: #f0ebe0;     /* sıcak taş tonu */
  --ink: #22303a;            /* koyu metin */
  --ink-soft: #5b6a75;       /* yumuşak metin */
  --aegean: #1e5f8a;         /* Ege mavisi */
  --aegean-deep: #14425f;    /* koyu mavi */
  --karnelyan: #d63a26;      /* Karnelyan kırmızısı — cumbaların rengi */
  --olive: #8a9a5b;          /* zeytin yeşili */
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 40px rgba(20, 66, 95, 0.10);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito Sans', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--stone);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }

.center { text-align: center; }

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--karnelyan);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--aegean);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(30, 95, 138, 0.35);
}
.btn-primary:hover { background: var(--aegean-deep); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); }

.btn-light {
  background: var(--white);
  color: var(--aegean-deep);
}

.btn-outline {
  background: transparent;
  color: var(--aegean);
  border: 1.5px solid var(--aegean);
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
}
.btn-outline:hover { background: var(--aegean); color: var(--white); }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled {
  background: rgba(250, 247, 241, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(20, 66, 95, 0.10);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  transition: color 0.3s ease;
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.3s ease;
}
.navbar.scrolled .brand-name { color: var(--aegean-deep); }
.navbar.scrolled .brand-sub { color: var(--ink-soft); }

.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--karnelyan); }
.navbar.scrolled .nav-links a { color: var(--ink); }
.navbar.scrolled .nav-links a:hover { color: var(--karnelyan); }

.nav-actions { display: flex; align-items: center; gap: 0.8rem; }

.lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-sans);
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.2); }
.navbar.scrolled .lang-toggle { border-color: var(--aegean); color: var(--aegean); }
.navbar.scrolled .lang-toggle:hover { background: var(--aegean); color: var(--white); }

.btn-nav { padding: 0.55rem 1.3rem; font-size: 0.88rem; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  width: 24px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.navbar.scrolled .hamburger span { background: var(--aegean-deep); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1533105079780-92b9be482077?w=1800&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 66, 95, 0.55) 0%, rgba(20, 66, 95, 0.35) 45%, rgba(20, 66, 95, 0.72) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 7rem 0 5rem; }

.hero-kicker {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffcfc2;
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  max-width: 15ch;
  margin-bottom: 1.2rem;
}
.hero-sub {
  max-width: 52ch;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.2rem;
  flex-wrap: wrap;
}
.badge-item { display: flex; flex-direction: column; }
.badge-item strong {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
}
.badge-item strong span { font-size: 1.1rem; opacity: 0.8; }
.badge-item > span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-hint {
  position: absolute;
  bottom: 1.6rem; left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
  z-index: 2;
  animation: bob 2s infinite ease-in-out;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Sections ===== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--stone-dark); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-text p:not(.kicker) { color: var(--ink-soft); margin-bottom: 1rem; }

.feature-list { list-style: none; margin-top: 1.4rem; }
.feature-list li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-weight: 600;
}
.feature-list li::before {
  content: '✦';
  position: absolute; left: 0;
  color: var(--karnelyan);
}

.split-media { position: relative; }
.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame-small {
  position: absolute;
  width: 55%;
  bottom: -2.5rem; left: -2.5rem;
  border: 6px solid var(--stone);
}

/* ===== Rooms ===== */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(20, 66, 95, 0.18);
}
.room-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.room-card:hover .room-media img { transform: scale(1.06); }
.room-tag {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: var(--karnelyan);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.room-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.room-specs {
  font-size: 0.82rem;
  color: var(--aegean);
  font-weight: 700;
  letter-spacing: 0.03em;
}
.room-body p:not(.room-specs) { color: var(--ink-soft); font-size: 0.93rem; flex: 1; }
.room-body .btn { align-self: flex-start; margin-top: 0.4rem; }

.rooms-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ===== Amenities ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  margin-top: 3rem;
}
.amenity {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(20, 66, 95, 0.06);
  transition: transform 0.25s ease;
}
.amenity:hover { transform: translateY(-4px); }
.amenity-icon { font-size: 2rem; margin-bottom: 0.7rem; }
.amenity h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.amenity p { color: var(--ink-soft); font-size: 0.9rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow);
}
.gallery-note {
  text-align: center;
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ===== Location ===== */
.distance-list { list-style: none; margin: 1.4rem 0 1.8rem; }
.distance-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(30, 95, 138, 0.25);
  gap: 1rem;
}
.distance-list strong { font-weight: 700; }
.distance-list span { color: var(--ink-soft); font-size: 0.9rem; white-space: nowrap; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--aegean-deep) 0%, var(--aegean) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p {
  max-width: 55ch;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.88);
}
.cta-band .hero-actions { justify-content: center; }

/* ===== Footer ===== */
.footer {
  background: #16232c;
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand { color: var(--white); margin-bottom: 0.6rem; }
.footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.footer p { margin-bottom: 0.5rem; }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: var(--karnelyan); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.2rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-frame-small { left: auto; right: -0.5rem; bottom: -2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: min(320px, 80vw);
    background: var(--stone);
    flex-direction: column;
    padding: 5.5rem 2rem 2rem;
    gap: 1.2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    z-index: 99;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--ink) !important; font-size: 1.05rem; }
  .hamburger { display: flex; z-index: 101; }
  .btn-nav { display: none; }
}

@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .hero-badges { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr; }
  .distance-list li { flex-direction: column; gap: 0; }
}
