/*
Theme Name: Panorama Travel - Ultimate V0 Edition Fixed
Author: Me and AI
Description: Полная адаптация дизайна (Instrument Serif + Inter), исправлены контакты и ссылки.
Version: 12.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Instrument+Serif:ital@0;1&display=swap');

:root {
  --background: #ffffff;
  --foreground: #111111;
  --primary: #ed1c23; /* Твой точный цвет */
  --secondary: #f6f6f6;
  --muted: #f5f5f5;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --radius: 0px;
}

/* --- ГЛОБАЛЬНЫЙ СБРОС --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Исправление синих ссылок с подчеркиванием */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

a:hover {
  text-decoration: none;
  color: var(--primary);
}

.font-serif { font-family: 'Instrument Serif', serif; }
.container { max-width: 1800px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* --- HEADER --- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 80px;
  display: flex;
  align-items: center;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo span:first-child { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; }
.logo span:last-child { font-size: 12px; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); }

nav.desktop-nav { display: none; }
@media (min-width: 1024px) {
  nav.desktop-nav { display: flex; gap: 48px; }
}
nav.desktop-nav a { font-size: 14px; color: var(--muted-foreground); }
nav.desktop-nav a:hover { color: var(--foreground); }

.cta-btn {
  background: var(--foreground);
  color: var(--background);
  padding: 12px 24px;
  font-size: 14px;
  display: none;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
@media (min-width: 1024px) { .cta-btn { display: flex; } }
.cta-btn:hover { background: var(--primary); color: white; }

.burger-btn { display: block; font-size: 24px; cursor: pointer; }
@media (min-width: 1024px) { .burger-btn { display: none; } }

/* --- HERO --- */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 80px; color: white; }
@media (min-width: 1024px) { .hero { padding-bottom: 128px; } }

.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.3); z-index: -1; }

.hero h1 { font-size: 48px; line-height: 0.95; letter-spacing: -0.02em; margin-bottom: 0; }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 120px; } }
.hero h1 i { font-style: italic; }

.hero-bottom { display: flex; flex-direction: column; gap: 48px; margin-top: 64px; }
@media (min-width: 1024px) { .hero-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-top: 96px; } }

.hero-desc { max-width: 448px; font-size: 16px; color: rgba(255,255,255,0.8); }
.hero-stats { display: flex; gap: 48px; }
.stat-item span { display: block; font-size: 36px; }
.stat-label { font-size: 12px; text-transform: uppercase; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; }

/* --- DESTINATIONS --- */
.section-padding { padding: 96px 0; }
@media (min-width: 1024px) { .section-padding { padding: 160px 0; } }

.section-header { display: flex; flex-direction: column; gap: 32px; margin-bottom: 64px; }
@media (min-width: 1024px) { .section-header { flex-direction: row; justify-content: space-between; align-items: flex-end; margin-bottom: 96px; } }
.section-header h2 { font-size: 36px; line-height: 1; }
@media (min-width: 1024px) { .section-header h2 { font-size: 60px; } }

.dest-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .dest-grid { grid-template-columns: repeat(3, 1fr); } }

.dest-card { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--muted); }
.dest-card img { transition: transform 0.7s; }
.dest-card:hover img { transform: scale(1.05); }
.dest-content { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; color: white; z-index: 2; }

/* --- TOURS --- */
.tour-item { display: flex; flex-direction: column; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--border); }
@media (min-width: 1024px) { .tour-item { flex-direction: row; align-items: center; padding: 48px 0; gap: 48px; } }
.tour-item:hover { background: rgba(245, 245, 245, 0.5); }
.tour-cat { font-size: 10px; text-transform: uppercase; color: var(--primary); background: rgba(237, 28, 35, 0.1); padding: 4px 12px; }

/* --- CONTACT SECTION (НОВОЕ) --- */
.contact-section { background: var(--secondary); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 96px; } }

.contact-form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.contact-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.contact-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.3s;
}
.contact-input:focus { border-bottom-color: var(--primary); }
textarea.contact-input { resize: none; }

.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 32px; }
.contact-info-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* --- FOOTER --- */
footer { background: var(--foreground); color: var(--background); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(12, 1fr); gap: 32px; } }

/* --- MOBILE MENU --- */
.mobile-menu { position: fixed; inset: 0; top: 80px; background: var(--background); z-index: 40; display: none; flex-direction: column; padding: 48px 24px; gap: 32px; }
.mobile-menu.active { display: flex; }