/* ==========================================================================
   PERDE GUNLERI - Festival Sinemasi Rehberi
   Dark cinema + spotlight theme
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #0f0f1a;
  color: #e8e5df;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  padding-top: 64px; /* compensate for fixed header */
}

/* Subtle film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  body::before { display: none; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: #e2b93b; text-decoration: none; transition: color 0.2s; }
a:hover { color: #f5d87a; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Focus */
:focus-visible {
  outline: 3px solid #e2b93b;
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  line-height: 1.3;
  color: #f0ede8;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


/* --- Container --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 185, 59, 0.15);
  padding: 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #e2b93b !important;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Desktop nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-list > li > a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: #c5c2bb;
  font-size: 0.9rem;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: #e2b93b;
  background: rgba(226, 185, 59, 0.08);
}

.nav-list > li > a[aria-current="page"],
.nav-list > li > a.active {
  color: #e2b93b;
  position: relative;
}

/* Active underline — only for items WITHOUT a submenu */
.nav-list > li:not(.has-dropdown) > a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: #e2b93b;
  border-radius: 1px;
}

/* Dropdown chevron indicator */
.has-dropdown > a {
  padding-right: 1.6rem !important;
}

.has-dropdown > a::after {
  content: "";
  position: absolute;
  right: 0.55rem;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  opacity: 0.6;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.has-dropdown:hover > a::after {
  transform: translateY(-30%) rotate(-135deg);
  opacity: 1;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #1a1a2e;
  border: 1px solid rgba(226, 185, 59, 0.12);
  border-radius: 6px;
  min-width: 220px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  /* Smooth close: fade+slide out, visibility hides after animation */
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
  z-index: 100;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* Smooth open: visibility snaps immediately, then fade+slide in */
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
}

.dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #c5c2bb;
  font-size: 0.85rem;
  transition: background 0.15s, color 0.15s;
}

.dropdown li a:hover,
.dropdown li a.active {
  background: rgba(226, 185, 59, 0.1);
  color: #e2b93b;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8e5df;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    /* Fill remaining viewport height below the header */
    height: calc(100vh - 64px);
    background: rgba(10, 10, 20, 0.99);
    padding: 1rem 1.5rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    /* Sit above everything on the page */
    z-index: 1999;
    /* Fade + slight slide down */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list > li > a {
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  /* Hide chevron on mobile — dropdowns are always expanded */
  .has-dropdown > a {
    padding-right: 0.5rem !important;
  }

  .has-dropdown > a::after {
    display: none;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(26, 26, 46, 0.5);
    padding: 0 0 0 1rem;
    min-width: auto;
    border-radius: 0;
    /* Override transition so mobile dropdown stays always visible */
    transition: none;
  }

  .dropdown li a {
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero,
.hero-spotlight {
  position: relative;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(
    135deg,
    #0f0f1a 0%,
    #1a1a2e 40%,
    #16213e 70%,
    #0f0f1a 100%
  );
  overflow: hidden;
  text-align: center;
}

/* Spotlight cone effect */
.hero::before {
  content: "";
  position: absolute;
  top: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(226, 185, 59, 0.12) 0%,
    rgba(226, 185, 59, 0.04) 40%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.25rem;
  color: #f0ede8;
}

.hero-subtitle,
.page-subtitle {
  font-size: 1.1rem;
  color: #b8b4ac;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
  text-align: center;
  border-bottom: 1px solid rgba(226, 185, 59, 0.1);
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero .page-subtitle {
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}


/* ==========================================================================
   SECTIONS & CONTENT
   ========================================================================== */

.section {
  padding: 3rem 0;
}

.section + .section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-intro {
  font-size: 1.05rem;
  color: #b8b4ac;
  max-width: 700px;
  margin-bottom: 2rem;
}

/* Light content panels */
.content-section {
  background: #f0ede8;
  color: #1a1a2e;
  border-radius: 8px;
  padding: 2.5rem;
  margin: 0 auto 2rem;
  max-width: 1100px;
}

.content-section h2,
.content-section h3,
.content-section h4 {
  color: #1a1a2e;
}

.content-section a {
  color: #2a4080;
}

.content-section a:hover {
  color: #16213e;
}

/* Intro section (homepage) */
.intro-section {
  background: #141428;
}

.intro-content {
  max-width: 900px;
}


/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: #1a1a2e;
  border: 1px solid rgba(226, 185, 59, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(226, 185, 59, 0.3);
}

.feature-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(226, 185, 59, 0.15), rgba(226, 185, 59, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 1px solid rgba(226, 185, 59, 0.2);
}

.feature-card .card-icon div {
  width: 20px;
  height: 20px;
  background: #e2b93b;
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

.icon-film {
  border-radius: 3px;
  mask-image: none;
  background: #e2b93b !important;
  clip-path: polygon(10% 0%, 30% 0%, 30% 100%, 10% 100%, 10% 80%, 0% 80%, 0% 20%, 10% 20%, 70% 0%, 90% 0%, 90% 20%, 100% 20%, 100% 80%, 90% 80%, 90% 100%, 70% 100%);
}

.icon-guide, .icon-city, .icon-plan {
  border-radius: 2px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feature-card h3 a {
  color: #f0ede8;
}

.feature-card h3 a:hover {
  color: #e2b93b;
}

.feature-card p {
  color: #b8b4ac;
  font-size: 0.92rem;
  line-height: 1.6;
}


/* ==========================================================================
   SCENARIO CARDS (secim-senaryolari)
   ========================================================================== */

.scenario-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.scenario-card {
  background: #1a1a2e;
  border: 1px solid rgba(226, 185, 59, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}

.scenario-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 185, 59, 0.3);
}

.scenario-card-header {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(226, 185, 59, 0.08), rgba(22, 33, 62, 0.5));
  border-bottom: 1px solid rgba(226, 185, 59, 0.1);
}

.scenario-card-header h2,
.scenario-card-header h3 {
  color: #e2b93b;
  margin-bottom: 0;
}

.scenario-card-header p {
  color: #9a978f;
  font-size: 0.85rem;
  margin-top: 0.2rem;
  margin-bottom: 0;
}

.scenario-card-body {
  padding: 1.25rem 1.5rem;
}

.scenario-card-body h2,
.scenario-card-body h3,
.scenario-card-body h4 {
  color: #e8e5df;
  font-size: 0.95rem;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}

.scenario-card-body p,
.scenario-card-body li {
  color: #b8b4ac;
  font-size: 0.92rem;
}

.scenario-card-body ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.scenario-card-body ul li {
  list-style: disc;
  margin-bottom: 0.3rem;
}

.scenario-card-body strong {
  color: #e8e5df;
}


/* ==========================================================================
   LATEST CONTENT / CONTENT LIST
   ========================================================================== */

.content-list {
  display: grid;
  gap: 1rem;
}

.content-item {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s;
}

.content-item:hover {
  border-color: rgba(226, 185, 59, 0.2);
}

.content-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.content-item h3 a {
  color: #f0ede8;
}

.content-item h3 a:hover {
  color: #e2b93b;
}

.content-item p {
  color: #9a978f;
  font-size: 0.9rem;
  margin: 0;
}


/* ==========================================================================
   TABS (Ozet / Detay)
   ========================================================================== */

[role="tablist"],
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid rgba(226, 185, 59, 0.15);
  margin-bottom: 1.5rem;
}

[role="tab"],
.tab {
  padding: 0.7rem 1.5rem;
  background: none;
  border: none;
  color: #8a877f;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}

[role="tab"]:hover,
.tab:hover {
  color: #e2b93b;
}

[role="tab"][aria-selected="true"],
.tab.active {
  color: #e2b93b;
  border-bottom-color: #e2b93b;
}

/* In light panels */
.content-section [role="tablist"],
.content-section .tabs {
  border-bottom-color: #d5d0c8;
}

.content-section [role="tab"],
.content-section .tab {
  color: #6a6860;
}

.content-section [role="tab"]:hover,
.content-section .tab:hover,
.content-section [role="tab"][aria-selected="true"],
.content-section .tab.active {
  color: #1a1a2e;
  border-bottom-color: #1a1a2e;
}

[role="tabpanel"][aria-hidden="true"],
.tab-panel:not(.active) {
  display: none;
}

[role="tabpanel"],
.tab-panel {
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-panel article section {
  margin-bottom: 2rem;
}

.tab-panel article section:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   ACCORDION / FAQ
   ========================================================================== */

.accordion {
  margin-top: 1.5rem;
}

.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.content-section .accordion-item {
  border-bottom-color: #d5d0c8;
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1rem 2.5rem 1rem 0;
  background: none;
  border: none;
  color: #f0ede8;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.content-section .accordion-trigger {
  color: #1a1a2e;
}

.accordion-trigger:hover {
  color: #e2b93b;
}

.content-section .accordion-trigger:hover {
  color: #2a4080;
}

/* Plus/minus indicator */
.accordion-trigger::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: #e2b93b;
  font-family: "Segoe UI", sans-serif;
  transition: transform 0.2s;
}

.accordion-trigger[aria-expanded="true"]::after {
  content: "\2212";
}

.accordion-panel {
  display: block !important; /* override [hidden] display:none so CSS transition fires */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  transition: max-height 0.32s ease, opacity 0.28s ease, padding-bottom 0.32s ease;
}

.accordion-panel.is-open {
  max-height: 900px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

.accordion-panel p {
  color: #b8b4ac;
  font-size: 0.95rem;
  line-height: 1.7;
}

.content-section .accordion-panel p {
  color: #4a4a5a;
}


/* ==========================================================================
   TOOLTIP
   ========================================================================== */

.tooltip {
  position: relative;
  border-bottom: 1px dotted #e2b93b;
  cursor: help;
}

.content-section .tooltip {
  border-bottom-color: #2a4080;
}

/* Tooltip bubble is injected by JS */


/* ==========================================================================
   IMAGE PLACEHOLDERS
   ========================================================================== */

.img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(
    135deg,
    #1a1a2e 0%,
    #252542 40%,
    #1a1a2e 60%,
    #16213e 100%
  );
  border: 1px solid rgba(226, 185, 59, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  margin: 1.5rem 0;
}

.placeholder-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px;
  opacity: 0.06;
}

.img-placeholder::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(226, 185, 59, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}


/* ==========================================================================
   CONTENT IMAGE + TEXT LAYOUT
   ========================================================================== */

.content-image-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 1.5rem 0;
}

.content-image-block--reverse {
  flex-direction: row-reverse;
}

.content-image-block .content-image {
  flex: 0 0 280px;
  max-width: 280px;
  border-radius: 6px;
  border: 2px solid rgba(226, 185, 59, 0.15);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  height: auto;
  display: block;
  object-fit: cover;
}

.content-section .content-image-block .content-image {
  border-color: #d5d0c8;
}

.content-image-block .content-text {
  flex: 1;
  min-width: 0;
}

@media (max-width: 640px) {
  .content-image-block,
  .content-image-block--reverse {
    flex-direction: column;
  }
  .content-image-block .content-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}


/* ==========================================================================
   RELATED CONTENT (Ilgili Icerikler)
   ========================================================================== */

.related-content {
  background: #141428;
  border-top: 1px solid rgba(226, 185, 59, 0.08);
}

.related-content h2 {
  font-size: 1.2rem;
  color: #e2b93b;
  margin-bottom: 1rem;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.75rem;
}

.related-list li a {
  display: block;
  padding: 0.75rem 1rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  color: #c5c2bb;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.related-list li a:hover {
  border-color: rgba(226, 185, 59, 0.25);
  color: #e2b93b;
  background: rgba(226, 185, 59, 0.05);
}


/* ==========================================================================
   DISCLAIMER
   ========================================================================== */

.disclaimer-section {
  padding: 1.5rem 0;
}

.disclaimer {
  background: rgba(226, 185, 59, 0.04);
  border-left: 3px solid rgba(226, 185, 59, 0.3);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
}

.disclaimer p {
  color: #8a877f;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  text-align: center;
  font-family: inherit;
}

.btn-primary {
  background: #e2b93b;
  color: #0f0f1a;
}

.btn-primary:hover {
  background: #f5d87a;
  color: #0f0f1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(226, 185, 59, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #e2b93b;
  border: 1px solid #e2b93b;
}

.btn-secondary:hover {
  background: rgba(226, 185, 59, 0.1);
  color: #f5d87a;
}


/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.info-item-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(226, 185, 59, 0.08);
  border: 1px solid rgba(226, 185, 59, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2b93b;
  margin-top: 0.05rem;
}

.info-item-body {
  flex: 1;
  min-width: 0;
}

.info-item h3 {
  font-size: 0.8rem;
  color: #e2b93b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.2rem;
}

.info-item p {
  color: #c5c2bb;
  margin: 0;
  font-size: 0.95rem;
}

.info-item a {
  color: #c5c2bb;
}

.info-item a:hover {
  color: #e2b93b;
}

.contact-social {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.contact-social h3 {
  font-size: 0.8rem;
  color: #e2b93b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.85rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  background: rgba(226, 185, 59, 0.05);
  border: 1px solid rgba(226, 185, 59, 0.15);
  border-radius: 5px;
  color: #c5c2bb;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.social-link:hover {
  background: rgba(226, 185, 59, 0.12);
  border-color: rgba(226, 185, 59, 0.35);
  color: #e2b93b;
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(226, 185, 59, 0.04);
  border-radius: 6px;
  border: 1px solid rgba(226, 185, 59, 0.1);
}

.contact-note h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-note p {
  color: #9a978f;
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: #1a1a2e;
  border: 1px solid rgba(226, 185, 59, 0.1);
  border-radius: 8px;
  padding: 2rem;
}

.contact-form-wrapper h2 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #c5c2bb;
  font-weight: 500;
}

.form-required {
  color: #e2b93b;
}

.form-optional {
  color: #6a6860;
  font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: #0f0f1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #e8e5df;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #e2b93b;
  box-shadow: 0 0 0 3px rgba(226, 185, 59, 0.1);
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #555;
}

.form-checkbox {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: #e2b93b;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.form-checkbox label {
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.form-error {
  display: block;
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 0.3rem;
}

.form-result {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 5px;
  font-size: 0.92rem;
}

#form-result:empty {
  display: none;
}

/* Form submit button */
#contact-form .btn-primary,
form .btn-primary {
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem;
  font-size: 1rem;
}


/* ==========================================================================
   COOKIE BANNER (injected by JS)
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #1a1a2e;
  border-top: 1px solid rgba(226, 185, 59, 0.2);
  padding: 1.25rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.cookie-banner .container {
  max-width: 1100px;
  margin: 0 auto;
}

.cookie-banner p {
  color: #c5c2bb;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-buttons button {
  flex: 1;
  min-width: 120px;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(226, 185, 59, 0.3);
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.cookie-btn-accept {
  background: #e2b93b;
  color: #0f0f1a;
  border-color: #e2b93b !important;
}

.cookie-btn-accept:hover {
  background: #f5d87a;
}

.cookie-btn-reject {
  background: transparent;
  color: #e8e5df;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-settings {
  background: transparent;
  color: #c5c2bb;
}

.cookie-btn-settings:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #e2b93b;
}

/* Cookie settings panel */
.cookie-settings-panel {
  margin-top: 1rem;
  padding: 1rem;
  background: #0f0f1a;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-settings-panel h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #e2b93b;
}

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-toggle-row:last-child {
  border-bottom: none;
}

.cookie-toggle-label {
  color: #c5c2bb;
  font-size: 0.9rem;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  background: #333;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
}

.cookie-toggle.active {
  background: #e2b93b;
}

.cookie-toggle::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.cookie-toggle.active::after {
  transform: translateX(18px);
}

.cookie-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: #0a0a16;
  border-top: 1px solid rgba(226, 185, 59, 0.1);
  padding: 3rem 0 0;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  font-size: 1rem;
  color: #e2b93b;
  margin-bottom: 1rem;
  font-family: "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
}

.footer-col p {
  color: #7a776f;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  display: block;
}

.footer-col ul li a {
  display: block;
  padding: 0.3rem 0;
  color: #9a978f;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: #e2b93b;
}

@media (max-width: 900px) {
  /* Increase touch target height to meet the 44px minimum on mobile */
  .footer-col ul li a {
    padding: 0.7rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-bottom p {
  color: #5a5850;
  font-size: 0.8rem;
  margin: 0;
}


/* ==========================================================================
   ETIQUETTE CARDS (salon-adabi)
   ========================================================================== */

.etiquette-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.etiquette-card {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.etiquette-card:hover {
  border-color: rgba(226, 185, 59, 0.2);
}

.etiquette-card h2,
.etiquette-card h3 {
  color: #e2b93b;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.etiquette-card p {
  color: #b8b4ac;
  font-size: 0.92rem;
}


/* ==========================================================================
   CITY PAGES
   ========================================================================== */

.city-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.city-card {
  background: #1a1a2e;
  border: 1px solid rgba(226, 185, 59, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.city-card:hover {
  transform: translateY(-3px);
  border-color: rgba(226, 185, 59, 0.3);
}

.city-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.city-card h3 a {
  color: #e2b93b;
}

.city-card p {
  color: #9a978f;
  font-size: 0.9rem;
}


/* ==========================================================================
   SITE MAP PAGE
   ========================================================================== */

.sitemap-section {
  margin-bottom: 2rem;
}

.sitemap-section h2 {
  font-size: 1.15rem;
  color: #e2b93b;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(226, 185, 59, 0.15);
}

.sitemap-section ul {
  padding-left: 0;
}

.sitemap-section li {
  padding: 0.4rem 0;
}

.sitemap-section li a {
  color: #c5c2bb;
}

.sitemap-section li a:hover {
  color: #e2b93b;
}

.sitemap-section .sitemap-desc {
  color: #6a6860;
  font-size: 0.82rem;
  margin-left: 0.5rem;
}


/* ==========================================================================
   LEGAL PAGES (Privacy, Terms, Cookies)
   ========================================================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #e2b93b;
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
  color: #b8b4ac;
  font-size: 0.93rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 0.35rem;
}

.legal-content strong {
  color: #e8e5df;
}


/* ==========================================================================
   SSS / FAQ page
   ========================================================================== */

.faq-list .accordion-item {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-list .accordion-trigger {
  padding: 1rem 2.5rem 1rem 1.25rem;
}

.faq-list .accordion-panel:not([hidden]) {
  padding: 0 1.25rem 1.25rem;
}


/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

.about-content section {
  margin-bottom: 2.5rem;
}

.about-content section:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   BACK TO TOP
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: #e2b93b;
  color: #0f0f1a;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 900;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #f5d87a;
}


/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.features-section {
  background: #141428;
}

.features-section h2 {
  text-align: center;
}

.features-section .section-intro {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


/* ==========================================================================
   LATEST CONTENT SECTION
   ========================================================================== */

.latest-content {
  background: #0f0f1a;
}


/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  body::before,
  .site-header,
  .nav-toggle,
  .cookie-banner,
  .back-to-top,
  .img-placeholder {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  h1, h2, h3, h4 { color: #000; }
  a { color: #000; text-decoration: underline; }

  .container { max-width: 100%; padding: 0; }
  .hero, .page-hero { background: none; padding: 20pt 0; }

  .site-footer {
    border-top: 1px solid #ccc;
    padding-top: 10pt;
  }
}


/* ==========================================================================
   CLASS ALIASES (variant names used across pages)
   ========================================================================== */

/* FAQ page uses faq-* classes */
.faq-list { margin-top: 1rem; }

.faq-item {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem 2.5rem 1rem 1.25rem;
  background: none;
  border: none;
  color: #f0ede8;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.faq-question:hover { color: #e2b93b; }

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: #e2b93b;
  font-family: "Segoe UI", sans-serif;
}

.faq-question[aria-expanded="true"]::after {
  content: "\2212";
}

.faq-answer {
  display: block !important; /* override [hidden] display:none so CSS transition fires */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 1.25rem;
  transition: max-height 0.32s ease, opacity 0.28s ease, padding-bottom 0.32s ease;
}

.faq-answer.is-open {
  max-height: 900px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  color: #b8b4ac;
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-answer a { color: #e2b93b; }

/* Spoiler page uses accordion-header/content/icon/title */
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem 2.5rem 1rem 0;
  background: none;
  border: none;
  color: #1a1a2e;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}

.accordion-header:hover { color: #2a4080; }

.accordion-title { flex: 1; }

.accordion-icon::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 300;
  color: #2a4080;
  font-family: "Segoe UI", sans-serif;
}

.accordion-header[aria-expanded="true"] .accordion-icon::after {
  content: "\2212";
}

.accordion-content {
  display: block !important; /* override [hidden] display:none so CSS transition fires */
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-bottom: 0;
  transition: max-height 0.32s ease, opacity 0.28s ease, padding-bottom 0.32s ease;
}

.accordion-content.is-open {
  max-height: 900px;
  opacity: 1;
  padding-bottom: 1.25rem;
}

.content-section .accordion-content p,
.content-section .accordion-content li {
  color: #4a4a5a;
  font-size: 0.93rem;
  line-height: 1.7;
}

.content-section .accordion-content ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.content-section .accordion-content ul li {
  list-style: disc;
  margin-bottom: 0.3rem;
}

.content-section .accordion-content h4 {
  font-size: 0.95rem;
  margin: 1rem 0 0.4rem;
  color: #1a1a2e;
}

/* Tab variant: tab-button / tab-content */
.tab-button {
  padding: 0.7rem 1.5rem;
  background: none;
  border: none;
  color: #6a6860;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  font-family: inherit;
}

.tab-button:hover { color: #1a1a2e; }

.tab-button.active,
.tab-button[aria-selected="true"] {
  color: #1a1a2e;
  border-bottom-color: #1a1a2e;
}

.tab-content { animation: fadeIn 0.25s ease; }

.tab-content:not(.active),
.tab-content[aria-hidden="true"] {
  display: none;
}

/* Related content: card variant */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.related-card {
  display: block;
  padding: 1.25rem;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: border-color 0.2s, transform 0.2s;
  color: #c5c2bb;
}

.related-card:hover {
  border-color: rgba(226, 185, 59, 0.25);
  transform: translateY(-2px);
  color: #c5c2bb;
}

.related-card h3 {
  font-size: 1rem;
  color: #e2b93b;
  margin-bottom: 0.4rem;
}

.related-card p {
  font-size: 0.88rem;
  color: #9a978f;
  margin: 0;
}
