/* ============================================
   Respect Safaris — Modern Safari Theme
   ============================================ */

/* --- Variables --- */
:root {
  --primary: #2D5016;
  --primary-light: #4A7C28;
  --primary-dark: #1E3A0E;
  --accent: #C8A84E;
  --accent-dark: #A68A3A;
  --accent-light: #E8D48B;
  --bg: #FAFAF5;
  --bg-alt: #F0EDE4;
  --bg-dark: #1A1A1A;
  --text: #2A2A2A;
  --text-light: #666666;
  --text-muted: #999999;
  --white: #FFFFFF;
  --danger: #8B4513;
  --border: #E0DDD4;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
  --nav-height: 72px;
  --transition: 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
ul { list-style: none; }
h1, h2, h3, h4, h5 { line-height: 1.3; font-weight: 700; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-light); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* --- Section Headers --- */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 18px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(200,168,78,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary-dark);
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-dark);
  height: var(--nav-height);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; color: var(--white) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  z-index: 999;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--white); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  margin-bottom: 32px;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero .btn { font-size: 16px; }

/* --- Info Cards (3-col) --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.info-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.info-card p {
  font-size: 15px;
  color: var(--text-light);
}

/* --- Photo Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.featured {
  border-color: var(--accent);
  position: relative;
}
.price-card.featured::before {
  content: 'Популярный';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-card h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.price-card .price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.price-card .price small {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light);
}
.price-card ul {
  margin-bottom: 24px;
}
.price-card li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
  content: '✓ ';
  color: var(--primary-light);
  font-weight: 700;
}

/* --- Big 5 Cards --- */
.animal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.animal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition);
}
.animal-card:hover { transform: translateY(-4px); }
.animal-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.animal-card-body { padding: 24px; }
.animal-card-body h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.animal-card-body .animal-subtitle {
  font-size: 14px;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 12px;
}
.animal-card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.animal-card-body .price-range {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
}

/* --- Checklists (Included / Not Included) --- */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.checklist {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}
.checklist h4 {
  font-size: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist h4 .icon { font-size: 20px; }
.checklist li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.checklist li:last-child { border-bottom: none; }
.checklist-included li::before { content: '✓'; color: var(--primary-light); font-weight: 700; flex-shrink: 0; }
.checklist-excluded li::before { content: '✗'; color: var(--danger); font-weight: 700; flex-shrink: 0; }

/* --- Gift Section --- */
.gift-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.gift-section img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info { }
.contact-info h3 {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.contact-item-text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-item-text span {
  font-size: 14px;
  color: var(--text-light);
}
.contact-item-text a { color: var(--text-light); }
.contact-item-text a:hover { color: var(--accent); }
.contact-photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* --- WhatsApp FAB --- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.whatsapp-fab svg { width: 32px; height: 32px; fill: white; }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo img { height: 32px; opacity: 0.8; }
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: var(--accent); }
.footer-copy {
  width: 100%;
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* --- Specials Page --- */
.specials-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.special-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  transition: transform var(--transition);
}
.special-card:hover { transform: translateY(-2px); }
.special-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.special-card-body { padding: 24px; }
.special-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.special-card-meta .tag {
  background: var(--accent-light);
  color: var(--primary-dark);
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 12px;
}
.special-card-body h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.special-card-body .special-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.special-card-body p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.special-card-body ul {
  margin-bottom: 16px;
}
.special-card-body li {
  font-size: 13px;
  color: var(--text-light);
  padding: 3px 0;
}
.special-card-body li.included::before { content: '✓ '; color: var(--primary-light); font-weight: 700; }
.special-card-body li.excluded::before { content: '✗ '; color: var(--danger); font-weight: 700; }

/* Sidebar */
.sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.sidebar-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.sidebar-block h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
}
.sidebar-block li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.sidebar-block li:last-child { border-bottom: none; }
.sidebar-block.checklist-included li::before { content: '✓ '; color: var(--primary-light); font-weight: 700; }
.sidebar-block.checklist-excluded li::before { content: '✗ '; color: var(--danger); font-weight: 700; }

/* --- Page Header (for specials) --- */
.page-header {
  padding: calc(var(--nav-height) + 60px) 0 60px;
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
}
.page-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 8px;
}
.page-header p {
  font-size: 18px;
  opacity: 0.8;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: var(--text-muted);
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; }

/* --- Responsive --- */
@media (max-width: 992px) {
  .info-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .gift-section { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .specials-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .animal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 48px 0; }
  .hero { min-height: 80vh; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 28px; }
  .btn { padding: 12px 24px; font-size: 14px; }
}

/* --- Scroll-to-top --- */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 96px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 800;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--primary-light); }

/* --- Divider Line --- */
.divider-line {
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 24px;
}

/* --- Specials Grid (homepage) --- */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.specials-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.specials-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.specials-card-img {
  height: 180px;
  overflow: hidden;
}
.specials-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.specials-card:hover .specials-card-img img { transform: scale(1.05); }
.specials-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.specials-card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.specials-card-body h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.specials-card-body p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

/* --- Package Blocks (plains game) --- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.package-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.package-title {
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.package-subtitle {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.animal-label {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 600;
}

/* --- Package Carousels --- */
.carousel {
  position: relative;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-dark);
}
.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
}
.package-block .carousel-track {
  aspect-ratio: 1/1;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-slide.active { opacity: 1; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  line-height: 1;
}
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.carousel-dot.active { background: var(--white); }

/* --- Animal Card Carousel (Big 5) --- */
.animal-card-carousel {
  height: 240px;
  overflow: hidden;
}
.animal-card-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .specials-grid { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .carousel-btn { width: 32px; height: 32px; font-size: 18px; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
