/*
Theme Name: İzmir Otelleri MTC
Theme URI: https://izmirhotels.biz/
Author: Marketing the Change (editorial team, İzmir Otelleri since 2013)
Author URI: https://marketingthechange.com/
Description: Bilingual (TR primary, EN secondary) editorial FSE theme for İzmir Otelleri. Aegean palette (Deep Aegean, Whitewash, Terracotta, Olive, Pomegranate). Manrope + Fraunces + Inter + JetBrains Mono. Custom post types for hotel, neighbourhood, attraction. Turkish diacritic-safe throughout.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: izmirhotels-mtc
Tags: full-site-editing, block-patterns, editorial, travel, hotels, bilingual, turkish
*/

/* Minimal supplemental styles. Bulk of styling flows from theme.json. */

:root {
  --izh-deep-aegean: #0F3550;
  --izh-sea-slate: #1E4A6B;
  --izh-whitewash: #F6F1E7;
  --izh-salt: #F0F3F5;
  --izh-linen: #EDE4D0;
  --izh-terracotta: #C9553B;
  --izh-pomegranate: #8B2A2F;
  --izh-olive: #7A8A4F;
  --izh-ink: #12181E;
  --izh-cream: #F8F3E8;
  --izh-driftwood: #7A6E5A;
  --izh-mist: #2E4A63;
  --izh-deep-olive: #5C6E3C;
  --izh-saffron: #B87B1F;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--izh-deep-aegean);
  color: var(--izh-cream);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  border-radius: 4px;
}
.skip-link:focus { left: 8px; }

/* Sea Wash treatment (heroes, section dividers) */
.wp-block-cover.is-sea-wash::after,
.img-sea-wash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,53,80,0.30) 0%, rgba(15,53,80,0.70) 100%);
  pointer-events: none;
  z-index: 1;
}
.img-sea-wash { position: relative; overflow: hidden; isolation: isolate; }
.img-sea-wash img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Golden Glow treatment (Alaçatı stone streets, Çeşme sunsets) */
.img-golden-glow { position: relative; overflow: hidden; isolation: isolate; }
.img-golden-glow img { filter: contrast(1.03) saturate(1.08); }
.img-golden-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(201,85,59,0.18) 0%, transparent 65%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

/* Linen Frame treatment (room interiors, editorial inline images) */
.img-linen-frame {
  padding: 12px;
  background: var(--izh-linen);
  border: 1px solid #D9CDB4;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(18,24,30,0.06);
  display: inline-block;
}
.img-linen-frame img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* Verdict pills */
.izh-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.izh-pill--terracotta { background: var(--izh-terracotta); color: var(--izh-cream); }
.izh-pill--olive      { background: var(--izh-olive);      color: var(--izh-cream); }
.izh-pill--pomegranate{ background: var(--izh-pomegranate); color: var(--izh-cream); }
.izh-pill--deep-olive { background: var(--izh-deep-olive); color: var(--izh-cream); }
.izh-pill--driftwood  { background: var(--izh-linen);      color: var(--izh-driftwood); border: 1px solid #D9CDB4; }
.izh-pill--saffron    { background: var(--izh-saffron);    color: var(--izh-ink); }

/* Mono figures (prices, drive times, distances) */
.izh-mono, .izh-price, .izh-distance {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 400;
}

/* Trust strip */
.izh-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--izh-deep-aegean);
  color: var(--izh-cream);
}
.izh-trust-strip .stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  color: var(--izh-terracotta);
  display: block;
  line-height: 1;
}
.izh-trust-strip .stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  margin-top: 8px;
  display: block;
}
@media (max-width: 782px) {
  .izh-trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Seasonal / ferry / price-spike alert */
.izh-alert {
  background: var(--izh-saffron);
  color: var(--izh-ink);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Affiliate disclosure band (Booking.com widgets) */
.izh-disclosure {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--izh-driftwood);
  padding: 8px 12px;
  background: var(--izh-linen);
  border-left: 3px solid var(--izh-terracotta);
  margin: 16px 0;
}

/* Editorial eyebrow */
.izh-eyebrow {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--izh-terracotta);
  letter-spacing: 0.02em;
}

/* Hotel card */
.izh-hotel-card {
  background: var(--izh-cream);
  border: 1px solid #E4DECB;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}
.izh-hotel-card:hover {
  transform: translateY(-4px);
  border-color: var(--izh-terracotta);
}
.izh-hotel-card .card-body { padding: 24px; }

/* Neighbourhood card */
.izh-neighbourhood-card {
  background: var(--izh-cream);
  border: 1px solid #E4DECB;
  border-radius: 4px;
  overflow: hidden;
}

/* Nearby-town card (Golden Glow accent) */
.izh-town-card { background: var(--izh-linen); border-radius: 4px; overflow: hidden; }

/* Cruise-port band */
.izh-cruise-band {
  background: var(--izh-sea-slate);
  color: var(--izh-cream);
  padding: 24px;
  border-left: 4px solid var(--izh-terracotta);
  border-radius: 0 4px 4px 0;
}

/* Fact box (Linen) */
.izh-fact-box {
  background: var(--izh-linen);
  padding: 24px;
  border-radius: 4px;
  border-left: 3px solid var(--izh-olive);
}

/* Pull quote */
.izh-pullquote {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 1.125rem + 1vw, 1.75rem);
  line-height: 1.4;
  color: var(--izh-deep-aegean);
  border-top: 2px solid var(--izh-terracotta);
  padding-top: 16px;
  margin: 32px 0;
}

/* Language switcher (TR / EN) */
.izh-lang-switcher {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.izh-lang-switcher a { color: inherit; text-decoration: none; padding: 4px 8px; border-radius: 3px; }
.izh-lang-switcher a[aria-current="true"] { background: var(--izh-terracotta); color: var(--izh-cream); }

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
