:root {
  --ivory: #f7f4ee;
  --travertine: #d9ccba;
  --deep-olive: #3f4d3f;
  --gold: #c3a464;
  --charcoal: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: Inter, Arial, sans-serif;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button {
  font: inherit;
}

.page-shell {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(10px, 1.5vw, 18px);
  padding: clamp(14px, 2vw, 28px);
}

.top-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 38px);
  width: min(680px, 100%);
  min-height: 44px;
  padding: 8px 18px 10px;
  border: 1px solid rgba(195, 164, 100, 0.36);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.94);
}

.top-nav button {
  border: 0;
  background: transparent;
  color: var(--deep-olive);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(18px, 1.35vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

.top-nav button:hover {
  color: var(--gold);
}

.landing {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  border: 1px solid rgba(195, 164, 100, 0.42);
  border-radius: 12px;
  background: var(--ivory);
  overflow: hidden;
}

.photo-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid rgba(195, 164, 100, 0.42);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.content-panel {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: end;
  padding: clamp(22px, 3.2vw, 52px);
}

.brand-area {
  align-self: center;
  text-align: center;
}

.brand-area img {
  width: min(390px, 92%);
  margin: 0 auto;
}

.suite-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
  margin-top: clamp(18px, 3vh, 34px);
}

.suite-card,
.suite-choice {
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(195, 164, 100, 0.36);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(217, 204, 186, 0.14);
  color: inherit;
  cursor: pointer;
}

.suite-card img,
.suite-choice img {
  width: 100%;
  aspect-ratio: 1 / 0.68;
  object-fit: cover;
}

.suite-card span,
.suite-choice span {
  display: block;
  padding: 10px 8px 8px;
  color: var(--deep-olive);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(20px, 1.65vw, 27px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.suite-choice small {
  display: block;
  min-height: 30px;
  padding: 0 8px 12px;
  color: rgba(42, 42, 42, 0.62);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: center;
}

.action-area {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(16px, 2.4vh, 28px);
  padding-top: clamp(14px, 2.2vh, 24px);
  border-top: 1px solid rgba(195, 164, 100, 0.42);
}

.action-area button {
  min-width: 150px;
  padding: 11px 18px 12px;
  border: 1px solid var(--deep-olive);
  background: transparent;
  color: var(--deep-olive);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: clamp(14px, 2.3vw, 34px);
  background: rgba(247, 244, 238, 0.92);
}

.overlay.is-open {
  display: grid;
}

.overlay-surface {
  position: relative;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  border: 1px solid rgba(195, 164, 100, 0.48);
  border-radius: 12px;
  background: var(--ivory);
  overflow: hidden;
}

.close-button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(195, 164, 100, 0.58);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.94);
  color: var(--deep-olive);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.text-detail,
.contact-detail,
.suites-menu {
  width: min(640px, 100%);
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
}

.suites-menu {
  width: min(900px, 100%);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.1;
}

.text-detail h2,
.suites-menu h2,
.suite-detail h2,
.contact-detail h2 {
  margin: 0;
  color: var(--charcoal);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.text-detail > p:not(.eyebrow),
.contact-detail > p,
.suite-detail-copy > p:not(.eyebrow) {
  margin: 22px auto 0;
  max-width: 540px;
  color: rgba(42, 42, 42, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.suite-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.suite-detail {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
}

.suite-detail-copy {
  min-width: 0;
  padding: clamp(28px, 3.6vw, 52px);
  align-self: center;
}

.suite-detail dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.suite-detail dl div {
  padding-top: 12px;
  border-top: 1px solid rgba(195, 164, 100, 0.32);
}

.suite-detail dt {
  color: var(--deep-olive);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.suite-detail dd {
  margin: 4px 0 0;
  color: rgba(42, 42, 42, 0.78);
  font-size: 15px;
  line-height: 1.5;
}

.suite-detail-photos {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  height: min(620px, calc(100vh - 68px));
}

.suite-detail-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 8px;
}

.detail-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(195, 164, 100, 0.72);
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.9);
  color: var(--deep-olive);
  font-size: 27px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.detail-arrow-prev {
  left: 22px;
}

.detail-arrow-next {
  right: 22px;
}

.phone-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--deep-olive);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4.6vw, 50px);
  font-weight: 400;
  line-height: 1;
}

.contact-detail span {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.top-nav button:focus-visible,
.suite-card:focus-visible,
.suite-choice:focus-visible,
.action-area button:focus-visible,
.close-button:focus-visible,
.detail-arrow:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .landing {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 0.9fr) minmax(310px, 1fr);
  }

  .photo-panel {
    border-right: 0;
    border-bottom: 1px solid rgba(195, 164, 100, 0.42);
  }

  .content-panel {
    padding: clamp(16px, 3vw, 28px);
  }

  .brand-area img {
    width: min(310px, 78vw);
  }

  .suite-row {
    margin-top: 14px;
  }

  .suite-card span,
  .suite-choice span {
    font-size: 19px;
  }

  .suite-detail {
    grid-template-columns: 1fr;
  }

  .suite-detail-copy {
    padding: 26px 28px 20px;
  }

  .suite-detail-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    height: min(280px, 36vh);
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 10px;
    gap: 8px;
  }

  .top-nav {
    gap: 10px;
    min-height: 40px;
    padding: 7px 8px 8px;
  }

  .top-nav button {
    font-size: 15px;
  }

  .landing {
    grid-template-rows: 31vh minmax(0, 1fr);
  }

  .content-panel {
    padding: 14px;
  }

  .brand-area img {
    width: min(250px, 76vw);
  }

  .suite-row {
    gap: 7px;
  }

  .suite-card img {
    aspect-ratio: 1 / 0.6;
  }

  .suite-card span {
    padding: 7px 2px 8px;
    font-size: 15px;
  }

  .action-area {
    margin-top: 12px;
    padding-top: 12px;
  }

  .action-area button {
    min-width: 132px;
    padding: 9px 14px 10px;
    font-size: 18px;
  }

  .text-detail,
  .contact-detail,
  .suites-menu {
    padding: 32px 20px 24px;
  }

  .suite-choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .suite-choice {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    text-align: left;
  }

  .suite-choice img {
    grid-row: 1 / 3;
    height: 92px;
    aspect-ratio: auto;
  }

  .suite-choice span,
  .suite-choice small {
    text-align: left;
  }

  .suite-choice span {
    padding: 0 12px 2px;
  }

  .suite-choice small {
    min-height: 0;
    padding: 0 12px;
  }
}

/* Hakkımızda hikâye metni */
.about-story {
  width: min(780px, 100%);
  max-height: calc(100vh - 48px);
  padding: clamp(34px, 4.8vw, 58px);
  text-align: left;
  overflow-y: auto;
}

.about-story .eyebrow,
.about-story h2 {
  text-align: center;
}

.about-story h2 {
  width: min(560px, 100%);
  margin: 0 auto;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02;
}

.story-copy {
  width: min(600px, 100%);
  margin: 28px auto 0;
}

.story-copy p {
  margin: 0;
  color: rgba(42, 42, 42, 0.74);
  font-size: 15px;
  line-height: 1.72;
}

.story-copy p + p {
  margin-top: 15px;
}

.story-signature {
  width: min(600px, 100%);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(195, 164, 100, 0.34);
  text-align: center;
}

.story-signature strong,
.story-signature span {
  display: block;
}

.story-signature strong {
  color: var(--charcoal);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.story-signature span {
  margin-top: 6px;
  color: var(--gold);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-style: italic;
}

@media (max-width: 640px) {
  .about-story {
    padding: 34px 22px 26px;
  }

  .story-copy {
    margin-top: 22px;
  }

  .story-copy p {
    font-size: 14px;
    line-height: 1.62;
  }
}

/* Dil seçimi */
.site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.site-header .top-nav {
  grid-column: 2;
}

.language-switcher {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid rgba(195, 164, 100, 0.34);
  border-radius: 999px;
  color: var(--deep-olive);
  background: rgba(247, 244, 238, 0.94);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.language-switcher span {
  color: rgba(63, 77, 63, 0.72);
}

.language-switcher select {
  border: 0;
  background: transparent;
  color: var(--deep-olive);
  font-family: Inter, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: 0;
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .site-header .top-nav,
  .language-switcher {
    grid-column: 1;
    justify-self: center;
  }

  .language-switcher {
    min-height: 32px;
    padding: 6px 10px;
  }
}

/* Mobil uyumluluk - telefon öncelikli düzen */
@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .page-shell {
    width: 100%;
    height: auto;
    min-height: 100svh;
    display: block;
    padding: 10px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 8px;
    margin-bottom: 10px;
    padding: 0 0 2px;
    background: var(--ivory);
  }

  .site-header .top-nav {
    grid-column: 1;
    justify-self: stretch;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    min-height: 0;
    padding: 5px;
    border-radius: 10px;
  }

  .top-nav button {
    min-height: 34px;
    padding: 6px 4px 7px;
    border-radius: 7px;
    font-size: 17px;
    line-height: 1;
    white-space: normal;
  }

  .language-switcher {
    grid-column: 2;
    justify-self: end;
    min-height: 38px;
    padding: 7px 9px;
    border-radius: 10px;
  }

  .language-switcher span {
    display: none;
  }

  .language-switcher select {
    font-size: 12px;
  }

  .landing {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 0;
    border-radius: 12px;
    overflow: visible;
  }

  .photo-panel {
    height: clamp(220px, 42svh, 360px);
    border-right: 0;
    border-bottom: 1px solid rgba(195, 164, 100, 0.42);
    border-radius: 11px 11px 0 0;
  }

  .photo-panel img {
    border-radius: 11px 11px 0 0;
  }

  .content-panel {
    display: block;
    min-height: 0;
    padding: 18px 14px 16px;
  }

  .brand-area img {
    width: min(280px, 86vw);
  }

  .suite-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .suite-card {
    display: grid;
    grid-template-columns: minmax(112px, 38%) minmax(0, 1fr);
    align-items: center;
    min-height: 108px;
    text-align: left;
  }

  .suite-card img {
    height: 108px;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .suite-card span {
    padding: 0 16px;
    font-size: 28px;
    text-align: left;
  }

  .action-area {
    margin-top: 16px;
    padding-top: 16px;
  }

  .action-area button {
    width: 100%;
    min-height: 46px;
    border-radius: 8px;
    font-size: 22px;
  }

  .overlay {
    align-items: start;
    place-items: start center;
    padding: 10px;
    overflow-y: auto;
  }

  .overlay-surface {
    width: 100%;
    max-height: none;
    min-height: auto;
    border-radius: 12px;
    overflow: visible;
  }

  .close-button {
    position: sticky;
    top: 10px;
    float: right;
    margin: 0 0 8px 8px;
  }

  .text-detail,
  .contact-detail,
  .suites-menu,
  .about-story {
    width: 100%;
    max-height: none;
    padding: 30px 20px 24px;
    overflow: visible;
  }

  .text-detail h2,
  .suites-menu h2,
  .suite-detail h2,
  .contact-detail h2,
  .about-story h2 {
    font-size: clamp(34px, 12vw, 46px);
    line-height: 1.02;
  }

  .story-copy p,
  .text-detail > p:not(.eyebrow),
  .contact-detail > p,
  .suite-detail-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.62;
  }

  .suite-choice-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .suite-choice {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    min-height: 104px;
  }

  .suite-choice img {
    grid-row: 1 / 3;
    width: 116px;
    height: 104px;
    aspect-ratio: auto;
  }

  .suite-choice span,
  .suite-choice small {
    text-align: left;
  }

  .suite-choice span {
    padding: 0 14px 2px;
    font-size: 24px;
  }

  .suite-choice small {
    min-height: 0;
    padding: 0 14px;
  }

  .suite-detail {
    display: flex;
    flex-direction: column;
  }

  .suite-detail-copy {
    order: 2;
    padding: 22px 20px 24px;
  }

  .suite-detail-photos {
    order: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 260px 150px;
    gap: 8px;
    height: auto;
    padding: 10px;
  }

  .detail-arrow {
    top: 138px;
    width: 42px;
    height: 42px;
  }

  .detail-arrow-prev {
    left: 18px;
  }

  .detail-arrow-next {
    right: 18px;
  }

  .suite-detail dl {
    gap: 10px;
    margin-top: 22px;
  }

  .phone-link {
    font-size: clamp(32px, 10vw, 42px);
    word-break: keep-all;
  }
}

@media (max-width: 390px) {
  .top-nav button {
    font-size: 15px;
  }

  .suite-card {
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 98px;
  }

  .suite-card img {
    height: 98px;
  }

  .suite-card span {
    padding: 0 12px;
    font-size: 24px;
  }

  .suite-detail-photos {
    grid-template-rows: 230px 130px;
  }

  .detail-arrow {
    top: 123px;
  }
}

/* Mobil dil seçici düzeltmesi */
@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .site-header .top-nav,
  .language-switcher {
    grid-column: 1;
  }

  .language-switcher {
    justify-self: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
  }

  .language-switcher span {
    display: inline;
    font-size: 11px;
  }
}

/* Dar telefon yatay taşma kilidi */
@media (max-width: 760px) {
  body {
    max-width: 100vw;
  }

  .page-shell,
  .site-header,
  .landing,
  .content-panel,
  .brand-area,
  .suite-row,
  .action-area {
    max-width: 100%;
  }

  .page-shell {
    overflow-x: hidden;
  }

  .site-header .top-nav {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px);
    justify-self: center !important;
    overflow: hidden;
  }

  .top-nav button {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .landing {
    width: 100%;
    max-width: calc(100vw - 20px);
    overflow: hidden;
  }

  .brand-area img {
    width: min(250px, 72vw) !important;
    max-width: 72vw;
  }
}

@media (max-width: 390px) {
  .brand-area img {
    width: min(230px, 68vw) !important;
    max-width: 68vw;
  }

  .site-header .top-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobil menü hücre hizası */
@media (max-width: 760px) {
  .site-header .top-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 4px;
    row-gap: 2px;
  }

  .top-nav button {
    width: 100%;
    justify-self: stretch;
    text-align: center;
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .top-nav button {
    font-size: 14px;
  }
}

/* 390px altı güvenli mobil genişlik */
@media (max-width: 390px) {
  .page-shell {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-header,
  .site-header .top-nav,
  .landing {
    width: 340px !important;
    max-width: 340px !important;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header .top-nav {
    grid-template-columns: repeat(2, 170px) !important;
  }

  .top-nav button {
    width: 170px;
    padding-left: 2px;
    padding-right: 2px;
  }
}

/* Tüm mobil aralık için daha kompakt güvenli genişlik */
@media (max-width: 760px) {
  .site-header,
  .site-header .top-nav,
  .landing {
    width: min(100%, 390px) !important;
    max-width: min(100%, 390px) !important;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header .top-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .top-nav button {
    width: 100%;
  }
}

/* Konum paneli */
.location-detail .address-line {
  margin-top: 18px;
  color: var(--deep-olive);
  font-size: 14px;
  line-height: 1.55;
}

.maps-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  min-height: 44px;
  padding: 11px 20px 12px;
  border: 1px solid var(--deep-olive);
  border-radius: 8px;
  color: var(--deep-olive);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  line-height: 1;
}

.maps-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .site-header .top-nav {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 4px;
  }

  .top-nav button {
    width: auto;
    min-width: calc(33.333% - 4px);
    flex: 1 1 calc(33.333% - 4px);
  }

  .maps-link {
    width: 100%;
  }
}
