/* ===== LEGAL PAGES — SHARED CSS ===== */
:root {
  --primary-red: #F5325C;
  --dark-navy: #24182E;
  --footer-navy: #040d2d;
  --body-text: #434343;
  --heading-text: #101010;
  --light-bg: #F7F7F7;
  --menu-text: #252424;
  --footer-link-hover: #e54b4b;
  --white: #ffffff;
}

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

body {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

#site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 40px;
}

.site-logo { display: flex; align-items: center; flex-shrink: 0; }

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--heading-text);
  letter-spacing: 2px;
}

.logo-text span { color: var(--primary-red); }

.main-nav { display: flex; align-items: center; gap: 30px; }

.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--menu-text);
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--primary-red);
  transition: width 0.25s;
}

.main-nav a:hover { color: var(--primary-red); }
.main-nav a:hover::after { width: 100%; }

/* Hamburger */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--heading-text);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0; left: -300px;
  width: 280px;
  height: 100%;
  background: #12141c;
  z-index: 999;
  padding: 80px 30px 30px;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open { left: 0; }

.mobile-menu nav { display: flex; flex-direction: column; gap: 5px; }

.mobile-menu nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #f7f7f7;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.25s, padding-left 0.25s;
}

.mobile-menu nav a:hover { color: var(--primary-red); padding-left: 10px; }

.mobile-menu-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  color: #f7f7f7;
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.25s;
}

.mobile-menu-close:hover { color: var(--primary-red); }

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  background: var(--footer-navy);
  margin-top: 70px;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://tourcon.com.tr/wp-content/uploads/2020/06/service-main-01-optimized.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,13,45,0.95) 0%, rgba(36,24,46,0.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s;
}

.breadcrumb-nav a:hover { color: var(--primary-red); }

.breadcrumb-nav i {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
}

.breadcrumb-nav span {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: var(--primary-red);
}

.page-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
}

/* ===== LEGAL CONTENT ===== */
.legal-content {
  padding: 80px 0 100px;
  background: var(--white);
}

.legal-intro {
  font-family: 'Roboto Slab', serif;
  font-size: 1.05rem;
  color: var(--body-text);
  line-height: 1.9;
  padding: 28px 32px;
  background: var(--light-bg);
  border-left: 4px solid var(--primary-red);
  border-radius: 0 4px 4px 0;
  margin-bottom: 50px;
}

.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--heading-text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary-red);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.legal-section p {
  font-family: 'Roboto Slab', serif;
  font-size: 0.95rem;
  color: var(--body-text);
  line-height: 1.85;
  margin-bottom: 14px;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--primary-red);
  transition: opacity 0.2s;
}

.legal-section a:hover { opacity: 0.75; }

.legal-section ul {
  list-style: none;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-section ul li {
  font-family: 'Roboto Slab', serif;
  font-size: 0.93rem;
  color: var(--body-text);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.legal-section ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary-red);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* Info Table */
.info-table {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  overflow: hidden;
}

.info-row {
  display: flex;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

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

.info-label {
  width: 160px;
  flex-shrink: 0;
  padding: 14px 20px;
  background: var(--light-bg);
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--heading-text);
  letter-spacing: 0.5px;
}

.info-value {
  flex: 1;
  padding: 14px 20px;
  font-family: 'Roboto Slab', serif;
  font-size: 0.9rem;
  color: var(--body-text);
}

.info-value a { color: var(--primary-red); }

/* Contact Box */
.contact-box {
  background: var(--light-bg);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}

.contact-box-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: 'Roboto Slab', serif;
  font-size: 0.93rem;
  color: var(--body-text);
}

.contact-box-item i {
  color: var(--primary-red);
  font-size: 0.95rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

.contact-box-item a {
  color: var(--body-text);
  transition: color 0.25s;
}

.contact-box-item a:hover { color: var(--primary-red); }

/* Info Box */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(245,50,92,0.06);
  border: 1px solid rgba(245,50,92,0.15);
  border-radius: 6px;
  padding: 16px 20px;
  margin-top: 20px;
}

.info-box i {
  color: var(--primary-red);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-box p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.85rem !important;
  color: var(--body-text) !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

/* Cookie Cards */
.cookie-card {
  background: var(--light-bg);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 14px;
  border-left: 3px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.cookie-card:hover {
  border-left-color: var(--primary-red);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.cookie-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-card-header i {
  color: var(--primary-red);
  font-size: 1.1rem;
}

.cookie-card-header h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--heading-text);
  margin: 0;
  flex: 1;
}

.cookie-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
}

.cookie-badge.required { background: rgba(245,50,92,0.12); color: var(--primary-red); }
.cookie-badge.analytics { background: rgba(36,24,46,0.08); color: var(--dark-navy); }
.cookie-badge.functional { background: rgba(36,24,46,0.08); color: var(--dark-navy); }

.cookie-card p {
  font-family: 'Roboto Slab', serif;
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.75;
  margin: 0;
}

/* ===== FOOTER ===== */
#site-footer {
  background: var(--footer-navy);
  padding-top: 70px;
}

.footer-logo-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.footer-logo-text span { color: var(--primary-red); }

.footer-desc {
  font-family: 'Roboto Slab', serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 25px;
  max-width: 280px;
}

.footer-social { display: flex; gap: 12px; }

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.social-link:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
}

.footer-widget-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-red);
  display: inline-block;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact-list li i {
  color: var(--primary-red);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-list li span,
.footer-contact-list li a {
  font-family: 'Roboto Slab', serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  transition: color 0.25s;
}

.footer-contact-list li a:hover { color: var(--footer-link-hover); }

.footer-legal-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal-links li a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.25s, padding-left 0.25s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-legal-links li a::before {
  content: '→';
  color: var(--primary-red);
  font-size: 0.8rem;
}

.footer-legal-links li a:hover {
  color: var(--footer-link-hover);
  padding-left: 5px;
}

.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-bottom p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  color: #5e5e5e;
  text-align: center;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  transition: color 0.25s;
}

.footer-bottom a:hover { color: var(--primary-red); }

/* Logo image */
.logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(23%) sepia(96%) saturate(3000%) hue-rotate(326deg) brightness(105%);
}

.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

/* Header right grouping */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Lang switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #aaa;
  padding: 2px 5px;
  transition: color 0.2s;
}

.lang-switcher button.active { color: var(--primary-red); }
.lang-switcher button:hover { color: var(--primary-red); }

.lang-sep {
  font-size: 0.7rem;
  color: #ddd;
  pointer-events: none;
  user-select: none;
}

/* Search Button */
.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--menu-text);
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s, background 0.25s;
  flex-shrink: 0;
}

.search-btn:hover {
  color: var(--primary-red);
  background: rgba(245,50,92,0.1);
}

/* Search Overlay */
#search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 13, 45, 0.97);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

#search-overlay.open { opacity: 1; visibility: visible; }

.search-overlay-inner {
  width: 100%;
  max-width: 780px;
  padding: 0 30px;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#search-overlay.open .search-overlay-inner { transform: translateY(0); }

.search-overlay-label {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
  text-align: center;
}

.search-overlay-form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255,255,255,0.15);
  padding-bottom: 10px;
  gap: 16px;
  transition: border-color 0.3s;
}

.search-overlay-form:focus-within { border-bottom-color: var(--primary-red); }
.search-overlay-form i { font-size: 1.3rem; color: rgba(255,255,255,0.4); flex-shrink: 0; }

.search-overlay-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 300;
  color: #ffffff;
  caret-color: var(--primary-red);
}

.search-overlay-input::placeholder { color: rgba(255,255,255,0.2); }

.search-overlay-submit {
  background: var(--primary-red);
  border: none;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.2s;
}

.search-overlay-submit:hover { background: #d42050; transform: scale(1.08); }

.search-overlay-hint {
  margin-top: 24px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 1px;
}

.search-overlay-hint kbd {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 2px 7px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

.search-close-btn {
  position: absolute;
  top: 30px;
  right: 35px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.45);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color 0.25s, transform 0.25s;
  padding: 5px;
}

.search-close-btn:hover { color: var(--primary-red); transform: rotate(90deg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .main-nav { display: none; }
  .hamburger-btn { display: flex; }
  #site-header .header-inner { padding: 0 20px; }
  .page-hero-content { padding: 0 20px; }
  .info-label { width: 130px; }
}

@media (max-width: 767px) {
  .page-hero { height: 220px; }
  .legal-content { padding: 50px 0 70px; }
  .legal-intro { padding: 20px; }
  .quote-form { padding: 25px 20px; }
  .info-row { flex-direction: column; }
  .info-label { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.07); }
  .contact-box { padding: 20px; }
}
