/* =========================================================
   The Roof Bodrum — Brand theme layer
   Overrides Elegencia base (style.css) with brand colors,
   typography, light/dark variants and new components.
   ========================================================= */

/* ---------- 1. Brand tokens (default = dark / night mode) ---------- */
:root {
  --body-font-family: "Inter", sans-serif;
  --heading-font-family: "Fraunces", serif;
  --mono-font-family: "Roboto Mono", monospace;

  --roof-blue: #004AAD;
  --roof-blue-soft: #1c63c4;
  --roof-coral: #FF5757;
  --roof-coral-soft: #ff8080;
  --roof-cream: #F7F3EC;

  /* theme-elgencia hooks */
  --yellow-color: var(--roof-coral);
  --body-color: #CBD3DD;
  --body-bg-color: #0A1220;
  --body-bg-color-two: #0F1B2E;
  --heading-color: var(--roof-coral-soft);
  --border-color: rgba(247, 243, 236, 0.14);
  --common-color-white: #FFF;
  --common-color-black: #000;

  --roof-surface: #101c30;
  --roof-surface-2: #14213a;
  --roof-text-soft: rgba(203, 211, 221, 0.72);
}

html.theme-light {
  --body-color: #33322f;
  --body-bg-color: var(--roof-cream);
  --body-bg-color-two: #EFE9DE;
  --heading-color: var(--roof-blue);
  --yellow-color: var(--roof-coral);
  --border-color: rgba(0, 74, 173, 0.16);

  --roof-surface: #FFFFFF;
  --roof-surface-2: #F1ECE1;
  --roof-text-soft: rgba(51, 50, 47, 0.7);
}

html { background-color: var(--body-bg-color); }
body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-color) !important;
  font-family: var(--body-font-family);
  transition: background-color .35s ease, color .35s ease;
}

h1, h2, h3, h4, h5, h6,
.ak-section-title, .ak-about-title, .ak-heading {
  font-family: var(--heading-font-family);
}

.ak-section-subtitle, .ak-btn, .top-main-menu-li a::before,
.roof-kicker, .roof-lang_switch, .ak-nav_list, .footer-time p {
  font-family: var(--mono-font-family);
}

a { transition: color .25s ease; }

/* ---------- 1b. Header boyutları: büyük logo + üstten boşluk ---------- */
.ak-site_header.ak-style1 .header-top {
  height: 110px;
  padding-top: 16px;
}
.center-log .roof-logo { max-height: 70px; }
.ak-site_header.ak-style1 .header-top .wrapper .header-logo .logo { font-size: 14px; }

/* ---------- 2. Header controls: language switch + theme toggle ---------- */
.header-controls {
  position: absolute;
  top: 50%;
  right: 96px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 5;
}
@media screen and (max-width: 992px) {
  .header-controls { right: 76px; gap: 12px; }
}
@media screen and (max-width: 576px) {
  .header-controls { right: 62px; gap: 8px; }
}

.roof-lang_switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono-font-family);
  font-size: 13px;
  letter-spacing: .04em;
}
.roof-lang_switch a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  padding: 2px 3px;
}
html.theme-light .roof-lang_switch a { color: rgba(10,18,32,.45); }
.roof-lang_switch a.active { color: var(--roof-coral); font-weight: 600; }
.roof-lang_switch span { color: rgba(255,255,255,.3); }
html.theme-light .roof-lang_switch span { color: rgba(10,18,32,.25); }

.ak-mode_btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}
html.theme-light .ak-mode_btn {
  border-color: rgba(10,18,32,.2);
  color: var(--roof-blue);
}
.ak-mode_btn .icon-moon { display: block; }
.ak-mode_btn .icon-sun { display: none; }
html.theme-light .ak-mode_btn .icon-moon { display: none; }
html.theme-light .ak-mode_btn .icon-sun { display: block; }
.ak-mode_btn:hover { border-color: var(--roof-coral); color: var(--roof-coral); }

/* logo swap: dark-context logo (white) shown by default, blue logo in light theme */
.roof-logo { width: auto; }
.roof-logo-dark { display: inline-block; }
.roof-logo-light { display: none; }
html.theme-light .roof-logo-dark { display: none; }
html.theme-light .roof-logo-light { display: inline-block; }
.ak-site_branding .roof-logo { max-height: 42px; }
.footer-log-elem .roof-logo { max-width: 220px; }

/* ---------- 3. WhatsApp floating button ---------- */
.roof-whatsapp_float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  z-index: 999;
}
.roof-whatsapp_float:hover { background: #1ebc59; color: #fff; }

/* ---------- 4. Shared section utilities ---------- */
.roof-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono-font-family);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--roof-coral);
  margin-bottom: 14px;
}
.roof-kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--roof-coral);
  display: inline-block;
}

.roof-title {
  font-family: var(--heading-font-family);
  color: var(--heading-color);
  font-weight: 500;
  line-height: 1.15;
}

.roof-lead {
  color: var(--roof-text-soft);
  font-size: 18px;
  line-height: 1.7;
  max-width: 640px;
}

.roof-section { padding: 90px 0; }
@media screen and (max-width: 768px) { .roof-section { padding: 55px 0; } }
.roof-section--alt { background: var(--body-bg-color-two); }

/* ---------- 5. Feature / value cards ---------- */
.roof-feature-grid, .roof-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.roof-values-grid { grid-template-columns: repeat(3, 1fr); }
@media screen and (max-width: 992px) {
  .roof-feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 576px) {
  .roof-feature-grid, .roof-values-grid { grid-template-columns: 1fr; }
}
.roof-feature-card {
  background: var(--roof-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px 26px;
}
.roof-feature-card h3 {
  font-size: 20px;
  color: var(--heading-color);
  margin-bottom: 10px;
}
.roof-feature-card p { color: var(--roof-text-soft); font-size: 15px; line-height: 1.65; margin: 0; }
.roof-feature-card .roof-num {
  font-family: var(--mono-font-family);
  color: var(--roof-coral);
  font-size: 13px;
  letter-spacing: .1em;
  display: block;
  margin-bottom: 14px;
}

/* ---------- 6. Gallery grid ---------- */
.roof-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.roof-gallery-grid .roof-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  display: block;
}
.roof-gallery-grid .roof-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.roof-gallery-grid .roof-gallery-item:hover img { transform: scale(1.06); }
.roof-gallery-grid .roof-gallery-zoom {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,12,22,0);
  transition: background .25s ease;
}
.roof-gallery-grid .roof-gallery-zoom::after {
  content: '+';
  color: #fff;
  font-size: 28px;
  font-family: var(--mono-font-family);
  opacity: 0;
  transform: scale(.7);
  transition: all .25s ease;
}
.roof-gallery-grid .roof-gallery-item:hover .roof-gallery-zoom { background: rgba(6,12,22,.35); }
.roof-gallery-grid .roof-gallery-item:hover .roof-gallery-zoom::after { opacity: 1; transform: scale(1); }
.roof-gallery-grid .tall { grid-row: span 2; }
.roof-gallery-grid .wide { grid-column: span 2; }
@media screen and (max-width: 992px) {
  .roof-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .roof-gallery-grid .wide { grid-column: span 2; }
}
@media screen and (max-width: 576px) {
  .roof-gallery-grid { grid-template-columns: 1fr; }
  .roof-gallery-grid .wide, .roof-gallery-grid .tall { grid-column: span 1; grid-row: span 1; }
}

/* ---------- 7. Journal cards ---------- */
.roof-journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media screen and (max-width: 992px) { .roof-journal-grid { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 640px) { .roof-journal-grid { grid-template-columns: 1fr; } }
.roof-journal-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  background: var(--roof-surface);
  border: 1px solid var(--border-color);
}
.roof-journal-card .roof-journal-img { height: 220px; overflow: hidden; }
.roof-journal-card .roof-journal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.roof-journal-card:hover .roof-journal-img img { transform: scale(1.05); }
.roof-journal-card .roof-journal-body { padding: 24px; }
.roof-journal-card .roof-journal-date {
  font-family: var(--mono-font-family);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--roof-coral);
  text-transform: uppercase;
}
.roof-journal-card h3 {
  font-size: 21px;
  color: var(--heading-color);
  margin: 10px 0;
}
.roof-journal-card p { color: var(--roof-text-soft); font-size: 14.5px; line-height: 1.6; }

/* Journal detail page */
.roof-journal-detail img { width: 100%; border-radius: 16px; margin-bottom: 32px; }
.roof-journal-detail .roof-journal-meta {
  font-family: var(--mono-font-family);
  color: var(--roof-coral);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}
.roof-journal-detail p { color: var(--roof-text-soft); font-size: 17px; line-height: 1.85; margin-bottom: 20px; max-width: 720px; }

/* ---------- 8. Experience page ---------- */
.roof-experience-grid { display: grid; gap: 20px; }
.roof-experience-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border-color);
}
.roof-experience-row:last-child { border-bottom: none; }
@media screen and (max-width: 640px) { .roof-experience-row { grid-template-columns: 1fr; gap: 8px; } }
.roof-experience-row .roof-exp-kicker {
  font-family: var(--mono-font-family);
  color: var(--roof-coral);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.roof-experience-row h3 { font-size: 24px; color: var(--heading-color); margin: 6px 0 10px; }
.roof-experience-row p { color: var(--roof-text-soft); font-size: 16px; line-height: 1.7; max-width: 620px; margin: 0; }
.roof-experience-note {
  margin-top: 40px;
  padding: 22px 26px;
  border: 1px dashed var(--border-color);
  border-radius: 14px;
  color: var(--roof-text-soft);
  font-size: 15px;
}

/* ---------- 9. Contact page ---------- */
.roof-contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media screen and (max-width: 768px) { .roof-contact-grid { grid-template-columns: 1fr; } }
.roof-contact-card {
  background: var(--roof-surface);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
}
.roof-contact-card h4 {
  font-family: var(--mono-font-family);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--roof-coral);
  margin-bottom: 12px;
}
.roof-contact-card p, .roof-contact-card a { color: var(--body-color); font-size: 16px; line-height: 1.6; text-decoration: none; }
.roof-contact-card a:hover { color: var(--roof-coral); }
.roof-map { border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); height: 380px; margin-top: 30px; }
.roof-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15); }

/* ---------- 10. Reservation form ---------- */
.roof-reservation-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
@media screen and (max-width: 900px) { .roof-reservation-grid { grid-template-columns: 1fr; } }

.roof-form .roof-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media screen and (max-width: 560px) { .roof-form .roof-form-row { grid-template-columns: 1fr; } }
.roof-form label {
  display: block;
  font-family: var(--mono-font-family);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--roof-text-soft);
  margin-bottom: 8px;
}
.roof-form input, .roof-form textarea, .roof-form select {
  width: 100%;
  background: var(--roof-surface);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--body-color);
  font-size: 15px;
  font-family: var(--body-font-family);
}
.roof-form input:focus, .roof-form textarea:focus, .roof-form select:focus {
  outline: none;
  border-color: var(--roof-coral);
}
.roof-form .roof-field { margin-bottom: 18px; }
.roof-form button.roof-submit {
  background: var(--roof-coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 15px 34px;
  font-family: var(--mono-font-family);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.roof-form button.roof-submit:hover { background: var(--roof-blue); transform: translateY(-2px); }
.roof-error { color: #ff9d9d; font-size: 13px; margin-top: 6px; display: block; }
.roof-success-banner {
  background: rgba(37, 211, 102, .12);
  border: 1px solid rgba(37, 211, 102, .4);
  color: #3fdc82;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 26px;
  font-size: 15px;
}
.roof-whatsapp-alt {
  margin-top: 22px;
  font-size: 14px;
  color: var(--roof-text-soft);
}
.roof-whatsapp-alt a { color: var(--roof-coral); font-weight: 600; text-decoration: none; }

.roof-reservation-aside {
  background: var(--roof-surface);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  overflow: hidden;
}
.roof-reservation-aside img { width: 100%; height: 240px; object-fit: cover; }
.roof-reservation-aside .roof-aside-body { padding: 26px; }
.roof-reservation-aside .roof-hours-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-color); font-size: 15px; }
.roof-reservation-aside .roof-hours-row:last-child { border-bottom: none; }

/* ---------- 11. CTA band ---------- */
.roof-cta-band {
  background: linear-gradient(120deg, var(--roof-blue), #002a63);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  color: #fff;
}
.roof-cta-band .roof-title { color: #fff; }
.roof-cta-band p { color: rgba(255,255,255,.78); margin: 14px 0 28px; }
@media screen and (max-width: 640px) { .roof-cta-band { padding: 44px 24px; } }

/* ---------- 12. Buttons ---------- */
.roof-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--roof-coral);
  color: #fff !important;
  border-radius: 999px;
  padding: 15px 32px;
  font-family: var(--mono-font-family);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.roof-btn:hover { background: var(--roof-blue); transform: translateY(-2px); color: #fff; }
.roof-btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff !important;
}
html.theme-light .roof-btn--outline { border-color: rgba(10,18,32,.3); color: var(--body-color) !important; }
.roof-btn--outline:hover { background: rgba(255,255,255,.1); }

/* ---------- 13. Homepage custom hero ---------- */
.roof-home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.roof-home-hero .roof-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.roof-home-hero .roof-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,22,.35) 0%, rgba(6,12,22,.55) 55%, rgba(6,12,22,.92) 100%);
}
.roof-home-hero .roof-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 60px 90px;
  color: #fff;
}
@media screen and (max-width: 768px) { .roof-home-hero .roof-hero-content { padding: 0 24px 60px; } }
.roof-home-hero .roof-hero-kicker {
  font-family: var(--mono-font-family);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--roof-coral-soft);
  font-size: 13px;
  margin-bottom: 18px;
}
.roof-home-hero h1 {
  font-family: var(--heading-font-family);
  font-size: clamp(48px, 8vw, 108px);
  line-height: .98;
  color: #fff;
  margin: 0;
}
.roof-home-hero h1 em { font-style: italic; color: var(--roof-coral-soft); }
.roof-home-hero .roof-hero-sub {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.82);
  margin: 26px 0 34px;
}
.roof-home-hero .roof-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.roof-home-hero .roof-hero-hours {
  font-family: var(--mono-font-family);
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 8px;
}
.roof-home-hero .roof-hero-hours::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: #3fdc82;
  display: inline-block;
}

/* ---------- 14. About page ---------- */
.roof-about-quote {
  font-family: var(--heading-font-family);
  font-style: italic;
  font-size: 26px;
  color: var(--heading-color);
  border-left: 3px solid var(--roof-coral);
  padding-left: 24px;
  margin: 40px 0;
  max-width: 620px;
}
.roof-about-media { border-radius: 20px; overflow: hidden; }
.roof-about-media img { width: 100%; display: block; }

/* ---------- 15. Footer (sade) ---------- */
.roof-footer {
  position: relative;
  z-index: 1;
  padding: 70px 0 34px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.roof-footer-logo { margin-bottom: 34px; }
.roof-footer-logo .roof-logo { max-width: 180px; width: 100%; height: auto; }

.roof-footer-info {
  font-family: var(--mono-font-family);
  font-size: 13.5px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.72);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 640px;
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.roof-footer-info a { color: inherit; text-decoration: none; }
.roof-footer-info a:hover { color: var(--roof-coral); }
.roof-footer-dot { color: rgba(255,255,255,.35); }

.roof-footer-bottom p {
  font-family: var(--mono-font-family);
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.5);
  margin: 0;
}
.roof-footer-bottom a { color: rgba(255,255,255,.75); text-decoration: none; }
.roof-footer-bottom a:hover { color: var(--roof-coral); }

/* Alt sayfa hero banner - dikey fotoğraflar için daha az kırpma */
.ak-commmon-hero.ak-style1 {
  min-height: 560px;
}
@media screen and (max-width: 768px) {
  .ak-commmon-hero.ak-style1 { min-height: 420px; }
}
