/*
Theme Name: Aqua Travel
Theme URI: https://aquatravelegypt.com
Author: Aqua Travel
Author URI: https://aquatravelegypt.com
Description: Тема для туристической компании Aqua Travel — экскурсии в Египте
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aqua-travel
Tags: tourism, russian, egypt, sharm-el-sheikh, booking
*/

/* ============================================================
   GOOGLE FONTS
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --navy:  #0D2B4E;
  --blue:  #1A4B8C;
  --aqua:  #1E7FB8;
  --gold:  #C8A84B;
  --light: #F4F8FC;
  --white: #ffffff;
  --text:  #333333;
  --text-light: #6b7a8d;
  --shadow: 0 4px 24px rgba(13,43,78,0.15);
  --transition: 0.3s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
}

.text-center { text-align: center; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #b8943d;
  border-color: #b8943d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
  background: var(--navy);
  padding: 8px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}
.top-bar a:hover { color: var(--gold); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 20px; }
.top-bar span { display: flex; align-items: center; gap: 6px; }

/* ============================================================
   STICKY HEADER / NAVIGATION
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(13,43,78,0.25);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--navy);
}
.logo-text { color: var(--white); }
.logo-text strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
}
.logo-text small {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--gold);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(200,168,75,0.1);
}
.main-nav .btn-nav-book {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 22px;
  margin-left: 8px;
}
.main-nav .btn-nav-book:hover {
  background: #b8943d;
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: #0a2240;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0 20px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition);
}
.mobile-nav a:hover { color: var(--gold); background: rgba(200,168,75,0.08); }

/* ============================================================
   HERO SECTION
============================================================ */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(13,43,78,0.88) 0%, rgba(26,75,140,0.75) 50%, rgba(30,127,184,0.6) 100%),
    url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600&q=80') center center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--navy));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 0 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.2);
  border: 1px solid rgba(200,168,75,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-badge::before { content: '●'; font-size: 0.5rem; }

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 8px;
}
.hero h1 span { color: var(--gold); display: block; }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  margin: 20px 0 36px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 40px; height: 40px;
  background: rgba(200,168,75,0.15);
  border: 1px solid rgba(200,168,75,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.trust-text strong { display: block; color: var(--white); font-size: 0.9rem; font-weight: 600; }
.trust-text span { color: rgba(255,255,255,0.6); font-size: 0.75rem; }

/* ============================================================
   STATS SECTION
============================================================ */
.stats {
  background: var(--navy);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-card {
  text-align: center;
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-card:last-child { border-right: none; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ============================================================
   TOURS SECTION
============================================================ */
.tours-section {
  background: var(--light);
  padding: 88px 0;
}
.tours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tour-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(13,43,78,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(13,43,78,0.16);
}
.tour-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}
.tour-image-bg {
  width: 100%; height: 100%;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-image-bg { transform: scale(1.05); }
.tour-image-1 { background: linear-gradient(135deg, #1E7FB8 0%, #0D2B4E 100%); }
.tour-image-2 { background: linear-gradient(135deg, #C8A84B 0%, #8B6914 100%); }
.tour-image-3 { background: linear-gradient(135deg, #E8572A 0%, #C8310A 100%); }
.tour-image-4 { background: linear-gradient(135deg, #2ECC71 0%, #16784A 100%); }

.tour-image-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.tour-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.tour-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.tour-duration {
  font-size: 0.78rem;
  color: var(--aqua);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 6px;
}
.tour-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
  flex: 1;
}
.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(13,43,78,0.08);
}
.tour-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
}
.tour-price small { font-size: 0.75rem; font-weight: 400; color: var(--text-light); display: block; }
.tour-btn {
  background: var(--navy);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 4px;
  transition: background var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Montserrat', sans-serif;
}
.tour-btn:hover { background: var(--blue); }

/* ============================================================
   WHY US SECTION
============================================================ */
.why-us {
  background: var(--navy);
  padding: 88px 0;
}
.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.6); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  text-align: center;
  padding: 36px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all var(--transition);
}
.feature-card:hover {
  background: rgba(200,168,75,0.08);
  border-color: rgba(200,168,75,0.25);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(200,168,75,0.12);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}
.feature-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.feature-desc { color: rgba(255,255,255,0.6); font-size: 0.88rem; line-height: 1.7; }

/* ============================================================
   BOOKING FORM SECTION
============================================================ */
.booking-section {
  background: var(--light);
  padding: 88px 0;
}
.booking-wrapper {
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(13,43,78,0.12);
  overflow: hidden;
}
.booking-header {
  background: var(--navy);
  padding: 36px 40px;
  text-align: center;
}
.booking-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 6px;
}
.booking-header p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.booking-body { padding: 40px; }

.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(13,43,78,0.15);
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control:focus {
  outline: none;
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(30,127,184,0.12);
}
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230D2B4E' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.radio-group { display: flex; gap: 16px; }
.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  padding: 10px 20px;
  border: 1.5px solid rgba(13,43,78,0.15);
  border-radius: 6px;
  flex: 1;
  transition: all var(--transition);
}
.radio-label:has(input:checked) {
  border-color: var(--aqua);
  background: rgba(30,127,184,0.06);
  color: var(--navy);
}
.radio-label input { width: 16px; height: 16px; accent-color: var(--aqua); }

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
  margin-top: 8px;
}
.btn-submit:hover {
  background: #b8943d;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,168,75,0.35);
}
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.success-icon { font-size: 3.5rem; margin-bottom: 16px; }
.form-success h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-success p { color: var(--text-light); font-size: 0.95rem; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #071b31;
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text strong { color: var(--white); font-size: 1.15rem; }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-brand .footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-brand .social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  transition: transform var(--transition);
}
.footer-brand .social-btn:hover { transform: translateY(-3px); }
.social-wa { background: #25D366; }
.social-tg { background: #2AABEE; }

.footer-col h4 {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact span.icon { font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: var(--gold); }

/* ============================================================
   FLOATING CONTACT BUTTONS
============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.float-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
  position: relative;
}
.float-btn:hover { transform: scale(1.12); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.float-btn-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: rgba(13,43,78,0.9);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.float-btn-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: rgba(13,43,78,0.9);
}
.float-btn:hover .float-btn-tooltip { opacity: 1; }
.float-wa { background: #25D366; }
.float-tg { background: #2AABEE; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
============================================================ */
@media (max-width: 1024px) {
  .tours-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .tours-grid, .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { padding: 80px 0 60px; }
  .hero-trust { gap: 20px; }
  .booking-body { padding: 24px; }
  .section-title { font-size: 1.85rem; }
  .floating-buttons { bottom: 20px; right: 16px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; text-align: center; }
  .radio-group { flex-direction: column; }
}
