/* ==========================================================================
   TurkiTours — Mediterranean Luxury & Azure Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  /* Color Palette — Vibrant Bright Blue-Cyan */
  --primary: #0099ff;
  --primary-dark: #0077ee;
  --primary-light: #e6f4ff;
  --primary-gradient: linear-gradient(135deg, #0099ff 0%, #00c6ff 100%);
  --primary-glow: rgba(0, 153, 255, 0.35);
  
  --accent-gold: #f59e0b;
  --accent-gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  --accent-rose: #f43f5e;
  
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  
  --danger: #ef4444;
  --danger-soft: #fef2f2;
  --ok: #10b981;
  --ok-soft: #ecfdf5;

  /* Glassmorphism & Elevation */
  --glass-bg: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.6);
  --glass-shadow: 0 8px 32px 0 rgba(2, 132, 199, 0.08);
  
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 24px -6px rgba(2, 132, 199, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(2, 132, 199, 0.16);

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1220px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-full-img {
  height: 38px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.logo:hover .logo-full-img {
  transform: scale(1.02);
}

.logo-tagline {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
  padding-left: 2px;
}

.footer-logo .logo-tagline {
  color: #94a3b8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-muted);
}

.nav a {
  position: relative;
  padding: 6px 0;
}

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

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

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: var(--bg-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-full);
  padding: 12px 22px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
  filter: brightness(1.05);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Social Icon Action Buttons */
.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  height: 40px;
  line-height: 1;
  white-space: nowrap;
}

.social-icon-btn svg {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.social-icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.social-icon-btn.tg-btn {
  color: #0088cc;
  border-color: rgba(0, 136, 204, 0.25);
  background: rgba(0, 136, 204, 0.06);
}
.social-icon-btn.tg-btn:hover {
  background: #0088cc;
  color: #ffffff;
  border-color: #0088cc;
}

.social-icon-btn.tg-channel-btn {
  color: #24A1DE;
  border-color: rgba(36, 161, 222, 0.25);
  background: rgba(36, 161, 222, 0.06);
}
.social-icon-btn.tg-channel-btn:hover {
  background: #24A1DE;
  color: #ffffff;
  border-color: #24A1DE;
}

.social-icon-btn.vk-btn {
  color: #0077FF;
  border-color: rgba(0, 119, 255, 0.25);
  background: rgba(0, 119, 255, 0.06);
}
.social-icon-btn.vk-btn:hover {
  background: #0077FF;
  color: #ffffff;
  border-color: #0077FF;
}

.phone-btn {
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

/* ==========================================================================
   Hero Section & Trust Badges
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 56px 0 36px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 350px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(2, 132, 199, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text);
}

.page-hero h1 .highlight {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 28px;
  font-weight: 500;
}

.hero-features {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.feature-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.feature-pill .icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 12px;
}

/* ==========================================================================
   Hotels Section & Grid Cards
   ========================================================================== */

.section {
  padding: 36px 0 64px;
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 15px;
}

.stars-inline {
  background: var(--accent-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hotel-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.hotel-card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-soft);
}

.hotel-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-card:hover .hotel-card-media img {
  transform: scale(1.07);
}

.hotel-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hotel-card-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hotel-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.hotel-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  color: var(--primary-dark);
}

.price-old {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 500;
}

.hotel-card-body h3 {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
}

.hotel-card-body h3 a:hover {
  color: var(--primary);
}

.card-desc {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Hotel Detail Page
   ========================================================================== */

.detail-wrap {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 380px);
  padding: 32px 0 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--surface);
  border-radius: var(--radius-full);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.back-link:hover {
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateX(-3px);
}

.detail-top {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.gallery-card, .info-card, .specs-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-soft);
}

.gallery-card {
  padding: 12px;
  overflow: hidden;
}

.gallery-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--bg-soft);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px 4px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.gallery-thumbs button {
  flex: 0 0 auto;
  width: 84px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.gallery-thumbs button.active,
.gallery-thumbs button:hover {
  border-color: var(--primary);
  opacity: 1;
  transform: scale(1.04);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-card {
  padding: 28px;
}

.info-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.info-head h1 {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0;
}

.info-prices {
  text-align: right;
  flex-shrink: 0;
}

.info-prices .price {
  font-size: 26px;
  display: block;
}

.info-card .lead {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 22px;
  line-height: 1.6;
}

.specs-card {
  padding: 12px 24px;
  margin-top: 18px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-label {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  text-align: right;
  font-weight: 600;
  color: var(--text);
}

.stars {
  color: var(--accent-gold);
  letter-spacing: 2px;
}

.stars-num {
  font-weight: 700;
  color: var(--text);
  margin-right: 4px;
}

.detail-content {
  max-width: 100%;
  margin: 36px 0 0;
  padding: 0;
}

.detail-content h2 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.detail-content .desc p {
  margin-bottom: 16px;
  color: #334155;
  font-size: 16px;
  line-height: 1.7;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 12px;
  background: var(--surface);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 28px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  color: #94a3b8;
  font-size: 14px;
  max-width: 380px;
  line-height: 1.6;
  margin-top: 14px;
}

.footer-logo .logo-text strong {
  color: #ffffff;
}

.footer-logo .logo-text small {
  color: #94a3b8;
}

.site-footer h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  font-size: 14px;
  color: #64748b;
}

.footer-bottom a {
  color: #64748b;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Empty State */
.empty {
  text-align: center;
  padding: 64px 24px;
  color: var(--text-muted);
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--line);
}

/* ==========================================================================
   Admin Panel Design
   ========================================================================== */

.admin-body {
  background: var(--bg-soft);
  min-height: 100vh;
}

.admin-wrap {
  width: min(100% - 36px, 1080px);
  margin: 0 auto;
  padding: 40px 0 80px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-top h1 {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  margin: 0;
}

.admin-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  margin-bottom: 24px;
}

.login-box {
  width: min(100% - 36px, 420px);
  margin: 12vh auto;
}

.login-box h1 {
  font-family: var(--font-title);
  font-size: 26px;
  margin-bottom: 8px;
}

.login-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  background: var(--surface);
  outline: none;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

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

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.flash {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.flash-ok {
  background: var(--ok-soft);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.flash-err {
  background: var(--danger-soft);
  color: #9f1239;
  border: 1px solid #fecdd3;
}

.table-wrap {
  overflow-x: auto;
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.admin-table th {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table .thumb {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.photos-admin {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.photo-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.badge-on {
  background: var(--ok-soft);
  color: #047857;
}

.badge-off {
  background: var(--bg-soft);
  color: var(--text-muted);
}

/* ==========================================================================
   Hero Card Banner (Photo 2)
   ========================================================================== */

.hero-banner-section {
  padding: 32px 0 16px;
}

.hero-banner-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  padding: 32px;
  overflow: hidden;
}

.hero-banner-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
}

.hero-banner-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.hero-banner-media img {
  width: 100%;
  height: 100%;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

.hero-banner-content h1 {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 16px;
  color: var(--text);
}

.hero-banner-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.hero-banner-content p strong {
  color: var(--text);
}

.hero-banner-actions {
  margin-top: 24px;
}

/* ==========================================================================
   Search Bar Component
   ========================================================================== */

.search-section {
  padding: 12px 0 28px;
}

.search-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
  box-shadow: 0 4px 16px rgba(0, 153, 255, 0.1), var(--shadow-sm);
  padding: 16px 20px;
  width: 100%;
}

.home-search-form, .search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.search-field, .search-input-group {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: var(--radius-full);
  padding: 11px 20px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 153, 255, 0.08);
}

.search-field:focus-within, .search-input-group:focus-within {
  border-color: var(--primary-dark);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.15), 0 2px 8px rgba(0, 153, 255, 0.1);
}

.search-field input, .search-input-group input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 15px;
  color: var(--text);
}

.search-field svg, .search-input-group svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Modal Window "Получить точный расчет"
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  width: min(100%, 540px);
  padding: 32px;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: none;
  background: var(--bg-soft);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: grid;
  place-items: center;
}

.modal-close:hover {
  background: var(--line);
  color: var(--text);
}

.modal-head {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon {
  font-size: 38px;
  display: block;
  margin-bottom: 8px;
}

.modal-head h2 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-head p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-contacts-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-contact-btn svg {
  flex-shrink: 0;
}

.modal-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.modal-contact-btn.tg-btn {
  border-color: rgba(0, 136, 204, 0.3);
  background: rgba(0, 136, 204, 0.05);
  color: #0088cc;
}
.modal-contact-btn.tg-btn:hover {
  background: #0088cc;
  color: #ffffff;
  border-color: #0088cc;
}

.modal-contact-btn.tg-channel-btn {
  border-color: rgba(36, 161, 222, 0.3);
  background: rgba(36, 161, 222, 0.05);
  color: #24A1DE;
}
.modal-contact-btn.tg-channel-btn:hover {
  background: #24A1DE;
  color: #ffffff;
  border-color: #24A1DE;
}

.modal-contact-btn.vk-btn {
  border-color: rgba(0, 119, 255, 0.3);
  background: rgba(0, 119, 255, 0.05);
  color: #0077FF;
}
.modal-contact-btn.vk-btn:hover {
  background: #0077FF;
  color: #ffffff;
  border-color: #0077FF;
}

.modal-contact-btn.phone-modal-btn {
  border-color: rgba(0, 153, 255, 0.3);
  background: rgba(0, 153, 255, 0.05);
  color: var(--primary-dark);
}
.modal-contact-btn.phone-modal-btn:hover {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
}

.modal-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.modal-btn-text strong {
  font-size: 15px;
  font-weight: 700;
}

.modal-btn-text small {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

/* ==========================================================================
   Category Page & Filter Tabs
   ========================================================================== */

.category-wrap {
  padding: 32px 0 64px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.category-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.category-head h1 {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  margin-bottom: 6px;
}

.category-subtitle {
  color: var(--text-muted);
  font-size: 15px;
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.category-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.category-more-btn {
  padding: 14px 32px;
  font-size: 15px;
}

.empty-card {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  margin-top: 24px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .detail-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 12px;
    min-height: auto;
  }
  .header-actions {
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
  }
  .btn-calc-nav {
    flex: 1;
    font-size: 13px;
    padding: 8px 14px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 24px 0 44px;
  }
  
  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 22px;
  }

  .hotels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-banner-section {
    padding: 20px 0 12px;
  }

  .hero-banner-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .hero-banner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-banner-media img {
    max-height: 220px;
    border-radius: var(--radius-sm);
  }

  .hero-banner-content h1 {
    font-size: 19px;
    line-height: 1.35;
    margin-bottom: 12px;
  }

  .hero-banner-content p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .hero-banner-actions {
    margin-top: 16px;
  }

  .hero-banner-actions .btn {
    width: 100%;
  }

  .search-card {
    padding: 14px;
    border-radius: var(--radius-md);
  }

  .home-search-form, .search-form {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .search-field, .search-input-group {
    width: 100%;
    padding: 10px 16px;
  }

  .home-search-form .btn, .search-form .btn {
    width: 100%;
    padding: 12px;
  }

  .category-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .category-head form {
    width: 100%;
  }

  .filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    margin-bottom: 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 16px;
    font-size: 13px;
  }

  .category-more-btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
  }

  .detail-wrap {
    padding: 20px 0 48px;
  }

  .info-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .info-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .info-prices {
    text-align: left;
  }

  .info-prices .price {
    font-size: 24px;
  }

  .specs-card {
    padding: 8px 16px;
    border-radius: var(--radius-md);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px;
    border-radius: var(--radius-md);
  }

  .site-footer {
    padding: 40px 0 24px;
    margin-top: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 580px) {
  .header-actions {
    justify-content: flex-start;
  }

  .header-actions .social-icon-btn span {
    display: none;
  }

  .header-actions .social-icon-btn {
    padding: 8px 11px;
    height: 38px;
  }

  .phone-btn span {
    font-size: 13px;
  }

  .logo-full-img {
    height: 32px;
  }

  .logo-tagline {
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-card {
    width: 100%;
    padding: 24px 16px;
    border-radius: var(--radius-md);
  }

  .modal-close {
    top: 12px;
    right: 14px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .modal-head h2 {
    font-size: 20px;
  }

  .modal-head p {
    font-size: 13px;
  }

  .modal-contact-btn {
    padding: 12px 14px;
    gap: 12px;
  }

  .modal-btn-text strong {
    font-size: 14px;
  }

  .modal-btn-text small {
    font-size: 11px;
  }
}
