﻿@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Source+Sans+3:wght@300;400;600&display=swap");

:root {
  --deep-green: #1f3b2f;
  --cream: #f5efe5;
  --wood: #8b6b4f;
  --wood-dark: #6e513b;
  --accent: #c6a06a;
  --text: #1a1a1a;
  --white: #ffffff;
  --whatsapp: #25d366;
  --instagram: #e1306c;
  --header-offset: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body[data-lang="tr"] [data-lang="en"],
body[data-lang="en"] [data-lang="tr"] {
  display: none;
}

body {
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(31, 59, 47, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-mark img {
  width: 52px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--cream);
  font-size: 0.95rem;
  padding: 6px 8px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 5px;
  flex-direction: column;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  cursor: pointer;
}

.lang-btn[data-lang-code="tr"] {
  color: #ff4b4b;
  border-color: rgba(255, 75, 75, 0.7);
}

.lang-btn[data-lang-code="en"] {
  color: #4aa8ff;
  border-color: rgba(74, 168, 255, 0.7);
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  display: block;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-offset));
  display: grid;
  align-items: center;
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 40, 32, 0.55), rgba(20, 40, 32, 0.55)),
    url("https://picsum.photos/seed/kackar-hero/1600/900");
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-content {
  padding: 90px 0 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: rgba(245, 239, 229, 0.85);
}

.eyebrow [data-lang="en"] {
  text-transform: none;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  margin: 12px 0;
}

.hero-title {
  display: inline-block;
  position: relative;
  text-align: left;
  padding-left: 78px;
  white-space: normal;
}

.hero-logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
}

.hero-logo img {
  width: 64px;
  height: auto;
  display: block;
}

.tagline {
  max-width: 520px;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-frame {
  margin-top: 0;
  padding: 24px 26px 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(15, 24, 18, 0.45);
  backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  width: min(780px, 100%);
}

.hero-media {
  display: flex;
  justify-content: center;
  position: relative;
}

.glow-frame {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.glow-frame::before,
.glow-frame::after {
  content: "";
  position: absolute;
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  z-index: 0;
}

.glow-frame::before {
  background:
    radial-gradient(ellipse at 25% 25%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 52%),
    radial-gradient(ellipse at 70% 45%, rgba(198, 160, 106, 0.95), rgba(198, 160, 106, 0) 58%),
    radial-gradient(ellipse at 45% 80%, rgba(159, 208, 182, 0.8), rgba(159, 208, 182, 0) 60%);
  filter: blur(14px);
  opacity: 1;
}

.glow-frame::after {
  background: radial-gradient(ellipse at 60% 30%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 58%);
  filter: blur(12px);
  opacity: 1;
  transform: rotate(-6deg);
}

.glow-frame img {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 16px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 20px rgba(198, 160, 106, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.7;
}

.glow-frame--sm::before {
  width: 58px;
  height: 46px;
}

.glow-frame--sm::after {
  width: 52px;
  height: 40px;
}

.glow-frame--sm img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.glow-frame--md::before {
  width: 120px;
  height: 92px;
}

.glow-frame--md::after {
  width: 110px;
  height: 82px;
}

.glow-frame--md img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.hero-media::before {
  content: "";
  position: absolute;
  width: min(560px, 98vw);
  height: min(420px, 70vw);
  border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%;
  background:
    radial-gradient(ellipse at 25% 25%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 52%),
    radial-gradient(ellipse at 70% 45%, rgba(198, 160, 106, 0.95), rgba(198, 160, 106, 0) 58%),
    radial-gradient(ellipse at 45% 80%, rgba(159, 208, 182, 0.8), rgba(159, 208, 182, 0) 60%);
  filter: blur(14px);
  opacity: 1;
  z-index: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  width: min(520px, 92vw);
  height: min(360px, 62vw);
  border-radius: 58% 42% 46% 54% / 48% 52% 42% 58%;
  background: radial-gradient(ellipse at 60% 30%, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0) 58%);
  filter: blur(12px);
  opacity: 1;
  z-index: 0;
  transform: rotate(-6deg);
}

.hero-media img {
  width: min(520px, 92vw);
  height: auto;
  max-height: 62vh;
  object-fit: cover;
  border-radius: 20px;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 24px rgba(198, 160, 106, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  opacity: 0.7;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.btn-primary {
  background: var(--accent);
  color: #1b1b1b;
}

.btn-outline {
  border-color: var(--cream);
  color: var(--cream);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #0b1a12;
  border: 1px solid #1fb257;
}

.btn-instagram {
  background: var(--instagram);
  color: var(--white);
  border: 1px solid #c1265e;
}

.section {
  padding: 80px 0;
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--deep-green);
  margin-bottom: 10px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(31, 59, 47, 0.08);
  border: 1px solid rgba(139, 107, 79, 0.2);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.room-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(31, 59, 47, 0.08);
}

.room-body {
  padding: 20px 22px 24px;
}

.room-body h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 8px;
}

.room-body ul {
  list-style: none;
  margin-top: 14px;
  color: #3c3c3c;
}

.room-body li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.room-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--wood);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.gallery-video {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  background: #0b0f0c;
}

.gallery-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6));
  color: var(--cream);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-play svg {
  width: 46px;
  height: 46px;
  fill: currentColor;
}

.gallery-video.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.location .map-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(31, 59, 47, 0.15);
}

.location iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.contact-info {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(139, 107, 79, 0.2);
}

.info-item {
  margin-bottom: 16px;
}

.info-item .label {
  display: block;
  font-weight: 600;
  color: var(--deep-green);
  margin-bottom: 6px;
}

.info-item a {
  color: var(--deep-green);
}

.link-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.link-indicator::after {
  content: "↗";
  font-size: 0.9rem;
}

.contact-form {
  display: grid;
  gap: 14px;
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(139, 107, 79, 0.2);
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: var(--deep-green);
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(31, 59, 47, 0.2);
  font-family: inherit;
}

.site-footer {
  background: var(--deep-green);
  color: var(--cream);
  padding: 30px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-left: 8px;
  font-size: 0.8rem;
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 12, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--cream);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}

@media (max-width: 980px) {
  .features,
  .cards,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-left: 0;
    white-space: normal;
  }

  .hero-logo {
    position: static;
    transform: none;
  }

  .nav {
    position: fixed;
    top: 64px;
    right: 16px;
    background: var(--deep-green);
    flex-direction: column;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .hamburger {
    display: inline-flex;
  }

  .features,
  .cards,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 70px 0 90px;
  }
}
