/* Diamond Elite Bornova Otel & SPA - ortak stil dosyasi */

/* Fontlar kendi sunucumuzdan (SIL Open Font License 1.1, Fontsource) */
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/marcellus-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/marcellus-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/figtree-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url(/assets/fonts/figtree-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --ink: #3b2a20;      /* koyu kahve, ana metin ve koyu alanlar (brosurdeki yazi rengi) */
  --marble: #efebe4;   /* krem, bolum zeminleri (brosur zemini) */
  --paper: #fffdf9;    /* sicak beyaz, sayfa zemini */
  --brass: #7a5b3a;    /* bronz, vurgu ve linkler */
  --salt: #d5bfa4;     /* kum, koyu zemin uzerinde vurgu (brosurdeki daire) */
  --stone: #6b5848;    /* ikincil metin */
  --line: #e0d6c8;

  --font-display: "Marcellus", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: 2.15rem;
  --step-4: clamp(2.4rem, 5vw, 3.6rem);

  --wrap: 72rem;
  --gap: clamp(1rem, 3vw, 2rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--brass); text-underline-offset: 0.18em; }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 1em; max-width: 65ch; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
}
.skip:focus { left: 1rem; z-index: 100; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; line-height: 1.1; padding: 0.4rem 0; }
.brand img { height: 4rem; width: auto; }
.brand small { font-family: var(--font-body); font-size: 0.78rem; color: var(--stone); padding-left: 0.7rem; border-left: 1px solid var(--line); }
@media (max-width: 30rem) { .brand img { height: 3.2rem; } .brand small { display: none; } }
.footer-logo { height: 4.2rem; width: auto; margin-bottom: 1rem; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.4rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 6px; padding: 0.45rem 0.7rem; font: inherit; color: var(--ink); cursor: pointer;
}

@media (max-width: 52rem) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 0.5rem var(--gap) 1rem; }
  .nav li a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 1.3rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper);
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Hero: tek cesur oge, elmas kesimli fotograf */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-lead { font-size: var(--step-1); color: var(--stone); }
.hero-photo {
  margin: 0;
  background: var(--salt);
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 82%, 82% 100%, 18% 100%, 0 82%, 0 18%);
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--marble);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-address { margin-top: 1.5rem; font-size: var(--step--1); color: var(--stone); }

@media (max-width: 52rem) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 1.75rem; }
  .hero-photo { max-width: 22rem; margin-inline: auto; }
}

/* Bolumler */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-marble { background: var(--marble); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink a { color: var(--salt); }
.section-ink a.btn { color: var(--paper); }
.section-ink p { color: #e9dfd3; }
.section-intro { max-width: 46rem; margin-bottom: 2.5rem; }

/* Odalar */
.price-note { font-weight: 600; margin-top: 1rem; }
.amenities { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.amenities li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: var(--step--1); }
.rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--gap); }
.room { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.room img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.room-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.room-facts { list-style: none; padding: 0; margin: 0 0 1.2rem; color: var(--stone); font-size: var(--step--1); }
.room-facts li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.room-body .btn { margin-top: auto; align-self: flex-start; }

/* Spa */
.spa .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.spa-photo { margin: 0; border-radius: 10px; overflow: hidden; }
.spa-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.spa-list li { padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.18); }
.spa-list h3 { margin-bottom: 0.3rem; color: var(--salt); }
.spa-list p { margin: 0; }
@media (max-width: 52rem) { .spa .wrap { grid-template-columns: 1fr; } }

/* Konum */
.location .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--marble); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contact-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: inline-block; min-width: 6.5rem; font-weight: 600; }
@media (max-width: 52rem) { .location .wrap { grid-template-columns: 1fr; } }

/* SSS */
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; max-width: 50rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: var(--step-0); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--brass); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.7rem 0 0; color: var(--stone); }

/* Blog listesi */
.posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--gap); }
.posts a { display: block; padding: 1.3rem; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--ink); height: 100%; background: var(--paper); }
.posts a:hover { border-color: var(--brass); }
.posts h3 { margin: 0; font-size: 1.15rem; }

/* Footer */
.site-footer { background: var(--ink); color: #e9dfd3; padding: 3rem 0 6rem; font-size: var(--step--1); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem; }
.site-footer a { color: var(--paper); }
.site-footer h2 { font-size: 1.15rem; color: var(--paper); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.site-footer address { font-style: normal; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 1.2rem; margin-top: 1rem; }

/* Sabit iletisim cubugu */
.contact-bar {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: flex; gap: 0.5rem;
}
.contact-bar a {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600;
  background: #1f7a4d; color: #fff; box-shadow: 0 4px 14px rgba(59, 42, 32, 0.25);
}
.contact-bar a.call { background: var(--ink); outline: 1px solid rgba(255, 255, 255, 0.35); outline-offset: -1px; }
.contact-bar svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }

@media (max-width: 52rem) {
  body { padding-bottom: calc(3.4rem + env(safe-area-inset-bottom, 0px)); }
  .contact-bar { left: 0; right: 0; bottom: 0; gap: 0; padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--ink); }
  .contact-bar a { flex: 1; justify-content: center; border-radius: 0; box-shadow: none; padding: 1rem; }
  .site-footer { padding-bottom: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Alt sayfalar */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); line-height: 1.2; margin: 0 0 0.6em; }
.mt { margin-top: 2rem; }
.page-intro { padding-top: clamp(1.5rem, 4vw, 2.5rem); }

.crumbs { border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.crumbs ol { list-style: none; margin: 0; padding: 0.7rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--stone); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--line); }
.crumbs a { color: var(--stone); }

.room-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--gap); }
.room-photo { margin: 0; background: var(--marble); border-radius: 10px; overflow: hidden; }
.room-photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; background: var(--salt); }
.room-photo figcaption { padding: 0.9rem 1.1rem; display: flex; flex-direction: column; gap: 0.2rem; font-size: var(--step--1); color: var(--stone); }
.room-photo figcaption strong { color: var(--ink); font-weight: 600; }
.other-link { margin-top: 2rem; }

.note-box { background: var(--marble); border-left: 3px solid var(--brass); padding: 0.9rem 1.1rem; font-weight: 500; }

.prices { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 52rem) { .prices { grid-template-columns: 1fr; } }
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 10px; overflow: hidden; }
.price-table th, .price-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { font-weight: 500; }
.price-table td { text-align: right; font-weight: 600; white-space: nowrap; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--gap); margin-bottom: 1rem; }
.package { border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; display: flex; flex-direction: column; background: var(--paper); }
.package ul { padding-left: 1.1rem; margin: 0 0 1rem; color: var(--stone); }
.package-price { margin: auto 0 0; font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); }

.posts .h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.posts time { font-size: var(--step--1); color: var(--stone); }

.videos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: var(--gap); }
.videos a { display: flex; flex-direction: column; gap: 0.3rem; text-decoration: none; color: var(--ink); }
.videos img { aspect-ratio: 9 / 16; object-fit: cover; width: 100%; border-radius: 10px; background: var(--salt); }
.videos span { font-weight: 600; line-height: 1.3; margin-top: 0.4rem; }
.videos small { color: var(--brass); }
.videos a:hover span { color: var(--brass); }

.room-block { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.room-facts.inline { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.room-facts.inline li { border: 0; padding: 0; }
.room-thumbs { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.6rem; }
.room-thumbs img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; border-radius: 8px; background: var(--salt); }
.room-thumbs a:focus-visible img { outline: 3px solid var(--brass); outline-offset: 2px; }
.hero-photo img, .spa-photo img, .room img { aspect-ratio: auto; }
.spa-photo img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* Blog yazisi */
.prose { max-width: 46rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.prose figure { margin: 1.5rem 0; }
.prose figure img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--salt); }
.post-meta { color: var(--stone); font-size: var(--step--1); }
.post-note { margin-top: 2.5rem; font-weight: 400; font-size: var(--step--1); }
.post-note p { margin: 0 0 0.5rem; }
.cta-box { margin-top: 2rem; padding: 1.6rem; border-radius: 10px; background: var(--ink); color: var(--paper); }
.cta-box h2 { color: var(--paper); margin-top: 0; }
.cta-box p { color: #e9dfd3; }
.cta-box .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-box .btn-ghost { background: transparent; color: var(--paper); border-color: var(--paper); }
