/* ================================================================
   Antalya 420 Travel — Tourist Brochure Design
   Simple. Classic. Not a startup.
   ================================================================ */

:root {
  --bg:           #fffdf8;
  --bg-alt:       #f6f1e8;
  --white:        #ffffff;
  --ink:          #1c1409;
  --ink-mid:      #4a3f30;
  --ink-light:    #7a6b58;
  --border:       #cec5b2;
  --sea:          #1a5c7a;
  --sea-bg:       #e4f0f7;
  --terra:        #c4430c;
  --terra-bg:     #fdf0e5;
  --terra-border: #f0c09a;
  --green:        #2a7044;
  --max:          54rem;
  --f:            'Lato', Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--f);
  font-size: 1rem;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--sea); }
a:hover { text-decoration: underline; }
p + p { margin-top: .75rem; }

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

/* ---- Layout ---- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================================================================
   NAV
   ================================================================ */
.site-nav {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  color: #fff;
  font-weight: 900;
  font-size: .92rem;
  text-decoration: none;
  letter-spacing: .01em;
}
.nav-brand em { color: #f0a070; font-style: normal; }

.nav-links { display: flex; gap: 1.5rem; }
.nav-links a {
  color: #b8a898;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
  text-transform: uppercase;
  transition: color .15s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }

/* ================================================================
   HERO — full photo
   ================================================================ */
.hero-photo {
  background-image:
    linear-gradient(rgba(10,6,2,.58), rgba(10,6,2,.62)),
    url('https://images.pexels.com/photos/18761177/pexels-photo-18761177.jpeg?auto=compress&cs=tinysrgb&w=1400&fit=crop');
  background-size: cover;
  background-position: center 60%;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero-inner { color: #fff; }

.hero-flag  { font-size: 2.5rem; margin-bottom: 1rem; }

.hero-inner h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.hero-inner h1 em {
  color: #f0a070;
  font-style: normal;
}

.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 1.75rem;
  max-width: 32rem;
}

/* Warning card inside hero */
.hero-card {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-left: 5px solid var(--terra);
  border-radius: 4px;
  padding: 1rem 1.25rem;
  max-width: 30rem;
  margin-bottom: 1.75rem;
}

.hero-card-label {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: .3rem;
}

.hero-card p {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* Hero CTA */
.hero-cta {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  padding: .6rem 1.4rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.hero-cta:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.8);
  text-decoration: none;
  color: #fff;
}

.hero-updated {
  display: block;
  margin-top: 1rem;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
}

/* ================================================================
   SECTIONS — brochure style
   ================================================================ */
.section     { padding: 3rem 0; }
.section-alt { padding: 3rem 0; background: var(--bg-alt); }

.section-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

h2 {
  font-size: clamp(1.3rem, 3.5vw, 1.75rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .4rem;
}

.section-sub {
  font-size: .93rem;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

/* ================================================================
   LEGAL STATUS TABLE
   ================================================================ */
.status-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  font-size: .92rem;
  background: var(--white);
  margin-bottom: 1rem;
}

.status-table th {
  background: var(--ink);
  color: #fff;
  text-align: left;
  padding: .6rem .9rem;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.status-table td {
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.status-table tr:last-child td { border-bottom: none; }
.status-table tr:nth-child(even) td { background: #faf7f2; }

.s-no      { color: var(--terra); font-weight: 700; }
.s-caution { color: #c87000;      font-weight: 700; }

.table-note {
  font-size: .73rem;
  color: var(--ink-light);
}

/* ================================================================
   WARN & INFO BOXES
   ================================================================ */
.warn-box {
  border-left: 4px solid var(--terra);
  background: var(--terra-bg);
  border-radius: 3px;
  padding: .9rem 1.1rem;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 1.25rem 0;
}

.info-box {
  border-left: 4px solid var(--sea);
  background: var(--sea-bg);
  border-radius: 3px;
  padding: .9rem 1.1rem;
  font-size: .9rem;
  color: var(--ink);
  line-height: 1.65;
  margin: 1.25rem 0;
}

/* ================================================================
   REALITY SECTION — inline
   ================================================================ */
.reality-body {
  max-width: 38rem;
  font-size: .95rem;
  color: var(--ink-mid);
  line-height: 1.75;
}

/* ================================================================
   CBD SECTION
   ================================================================ */
.cbd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
@media (min-width: 520px) {
  .cbd-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.cbd-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: .9rem 1rem;
  border-radius: 3px;
  font-size: .86rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

.cbd-card strong { color: var(--ink); display: block; margin-bottom: .3rem; }

/* ================================================================
   ENJOY ANTALYA — photo grid
   ================================================================ */
.enjoy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (min-width: 560px) { .enjoy-grid { grid-template-columns: 1fr 1fr 1fr; } }

.enjoy-card {
  position: relative;
  height: 140px;
  border-radius: 4px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: default;
}

.enjoy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,6,2,.72) 0%, rgba(10,6,2,.18) 60%);
}

.enjoy-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: .6rem .75rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}

/* ================================================================
   COMMENTS — static
   ================================================================ */
.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.comment-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1rem 1.1rem;
}

.comment-card.pinned {
  border-left: 4px solid var(--terra);
  background: var(--terra-bg);
}

.c-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .6rem;
  margin-bottom: .6rem;
}

.c-name { font-weight: 700; font-size: .9rem; }
.c-tag  {
  font-size: .72rem;
  color: var(--ink-light);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1px .4rem;
  border-radius: 2px;
}
.c-date  { font-size: .72rem; color: var(--ink-light); margin-left: auto; }
.c-text  { font-size: .88rem; color: var(--ink-mid); line-height: 1.7; }

.c-pin-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--terra);
  background: #fde8d8;
  padding: 1px .4rem;
  border-radius: 2px;
}

/* ================================================================
   COMMENT FORM
   ================================================================ */
.comment-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}

.comment-form-wrap h3 {
  font-size: 1.05rem;
  margin-bottom: .3rem;
}

.form-note {
  font-size: .78rem;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (max-width: 420px) { .form-row { grid-template-columns: 1fr; } }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .75rem;
}

.form-group label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--ink);
}

.req { color: var(--terra); }

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--f);
  font-size: .9rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .5rem .75rem;
  outline: none;
  resize: vertical;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 2px rgba(26,92,122,.1);
}

.char-count {
  font-size: .67rem;
  color: var(--ink-light);
  text-align: right;
  margin-top: 2px;
}

.btn-submit {
  width: 100%;
  background: var(--sea);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: .75rem 1.5rem;
  font-family: var(--f);
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  letter-spacing: .01em;
}
.btn-submit:hover    { background: #134a60; }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.success-check {
  font-size: 2rem;
  margin-bottom: .75rem;
}
.form-success h3 {
  font-size: 1.05rem;
  margin-bottom: .4rem;
}
.form-success p { color: var(--ink-light); font-size: .88rem; }

/* Formspree tip */
.formspree-tip {
  margin-top: 1rem;
  font-size: .75rem;
  color: var(--ink-light);
  border-top: 1px solid var(--border);
  padding-top: .75rem;
  line-height: 1.5;
}
.formspree-tip a { color: var(--sea); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--ink);
  color: #8a7a6a;
  padding: 2.5rem 0;
  font-size: .82rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand { color: #fff; font-weight: 900; margin-bottom: .2rem; }
.footer-brand em { color: #f0a070; font-style: normal; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
}
.footer-links a { color: #8a7a6a; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.footer-legal { color: #5a4a3a; font-size: .72rem; line-height: 1.6; }

@media (min-width: 560px) {
  .footer-inner { flex-direction: row; align-items: flex-start; justify-content: space-between; }
}

/* ================================================================
   BREADCRUMB (travel-safety page)
   ================================================================ */
.breadcrumb {
  font-size: .78rem;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--sea); }
.breadcrumb span { margin: 0 .35rem; }

/* Page header (travel-safety) */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.page-kicker {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: .5rem;
}

/* Inline CTA banner */
.cta-banner {
  background: var(--sea-bg);
  border: 1px solid #b0d0e0;
  border-radius: 4px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.5rem;
}

.cta-banner-text { font-size: .92rem; font-weight: 700; color: var(--ink); }
.cta-banner-sub  { font-size: .8rem; color: var(--ink-mid); margin-top: 2px; }

.btn-sea {
  display: inline-block;
  background: var(--sea);
  color: #fff;
  padding: .55rem 1.1rem;
  border-radius: 3px;
  font-weight: 700;
  font-size: .85rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s;
}
.btn-sea:hover { background: #134a60; text-decoration: none; color: #fff; }

/* Travel safety content */
.safety-content { max-width: 40rem; }
.safety-content h3 { margin-top: 1.5rem; }
.safety-content p  { font-size: .93rem; color: var(--ink-mid); line-height: 1.75; }
.safety-content ul { font-size: .9rem; color: var(--ink-mid); line-height: 1.8; padding-left: 1.4rem; margin: .6rem 0 1rem; }

.dont-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.dont-row:last-child { border-bottom: none; }
.dont-x { color: var(--terra); font-weight: 900; flex-shrink: 0; margin-top: 1px; }

.misc-item {
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.misc-item:last-child { border-bottom: none; }
.misc-myth { font-weight: 700; color: var(--terra); font-size: .88rem; margin-bottom: .25rem; }
.misc-fact { font-size: .87rem; color: var(--ink-mid); line-height: 1.65; }

.card-list { display: flex; flex-direction: column; gap: .75rem; }
.cli-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .9rem 1rem;
}
.cli-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.cli-body h3 { font-size: .88rem; margin-bottom: .2rem; }
.cli-body p  { font-size: .83rem; color: var(--ink-mid); line-height: 1.65; }

.disclaimer-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  font-size: .86rem;
  color: var(--ink-mid);
  line-height: 1.75;
}
.disclaimer-box h2 { font-size: 1.05rem; margin-bottom: .75rem; }
.disclaimer-box p + p { margin-top: .6rem; }

/* Mini alt grid (travel-safety) */
.mini-alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}
@media (min-width: 480px) { .mini-alt-grid { grid-template-columns: repeat(3, 1fr); } }

.mini-alt {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: .6rem .75rem;
  font-size: .82rem;
  color: var(--ink-mid);
  line-height: 1.5;
}
.mini-alt strong { display: block; color: var(--ink); font-size: .8rem; margin-bottom: 2px; }

/* ================================================================
   ALTERNATIVES — text list style
   ================================================================ */
.alt-text-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: .5rem; }

.alt-text-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.alt-text-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  margin-top: .1rem;
}

.alt-text-item > div { flex: 1; }
.alt-text-item strong { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.alt-text-item p { font-size: .88rem; color: var(--ink-mid); line-height: 1.7; margin: 0; }

/* ================================================================
   TRAVEL-SAFETY PHOTO STRIPS
   ================================================================ */
.photo-strip {
  height: 160px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.photo-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,8,2,.75) 0%, rgba(12,8,2,.2) 65%);
}

.photo-strip-label {
  position: relative;
  z-index: 1;
  padding: .9rem 1.1rem;
  color: #fff;
}

.photo-strip-label h2 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .15rem;
}

.photo-strip-label p {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  margin: 0;
}

/* ================================================================
   ADMIN PAGE
   ================================================================ */
.admin-body { background: #f0ede8; min-height: 100vh; font-family: var(--f); }

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.admin-login-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  max-width: 22rem;
  width: 100%;
  text-align: center;
}

.admin-login-card h1 { font-size: 1.1rem; margin-bottom: .3rem; }
.admin-login-sub  { font-size: .8rem; color: var(--ink-light); margin-bottom: 1.5rem; }

.admin-bar {
  background: var(--ink);
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}

.admin-bar-title { color: #fff; font-size: .9rem; font-weight: 900; }
.admin-bar-sub   { color: #7a6a5a; font-size: .72rem; }

.btn-logout {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background .15s;
}
.btn-logout:hover { background: rgba(255,255,255,.2); }

.admin-panel {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.admin-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

.admin-tab {
  padding: .55rem 1.1rem;
  background: none;
  border: none;
  font-family: var(--f);
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .15s;
}
.admin-tab:hover  { color: var(--ink); }
.admin-tab.active { color: var(--sea); border-bottom-color: var(--sea); }

.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }

/* Comment composer */
.composer-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}

.composer-preview-wrap {
  margin-top: 1.5rem;
}

.preview-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: .6rem;
}

/* HTML output box */
.html-output {
  background: #1e1409;
  color: #b8f0a0;
  border-radius: 4px;
  padding: 1rem;
  font-family: monospace;
  font-size: .78rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: .6rem;
  max-height: 280px;
  overflow-y: auto;
}

.copy-btn {
  background: var(--sea);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: .4rem .9rem;
  font-family: var(--f);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  margin-top: .5rem;
}
.copy-btn:hover { background: #134a60; }
.copy-btn.copied { background: var(--green); }

/* How-to steps */
.howto-steps { counter-reset: step; }
.howto-step {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: var(--ink-mid);
  line-height: 1.6;
}
.howto-step:last-child { border-bottom: none; }
.howto-step::before {
  counter-increment: step;
  content: counter(step);
  background: var(--sea);
  color: #fff;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: .1rem;
}

.admin-info-box {
  background: var(--sea-bg);
  border: 1px solid #b0d0e0;
  border-radius: 3px;
  padding: .75rem 1rem;
  font-size: .83rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.flag-select {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .4rem;
}
.flag-opt {
  font-size: .85rem;
  padding: .2rem .5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  background: var(--white);
  transition: background .12s;
  user-select: none;
}
.flag-opt:hover { background: var(--bg-alt); }
