/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;600;700;800&display=swap');

/* Variables */
:root {
  --color-primary: #001f3f;
  --color-accent: #39CCCC;
  --color-white: #ffffff;
  --color-text-light: #f4f4f4;
  --color-glass: rgba(255, 255, 255, 0.1);
  --color-glass-border: rgba(255, 255, 255, 0.2);
  --shadow-text: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-box: 0 8px 32px 0 rgba(0, 31, 63, 0.37);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-white);
  background-color: var(--color-primary);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  z-index: 101;
  display: flex;
  align-items: center;
}

.logo img {
  height: 80px;
  width: auto;
  border-radius: 50%;
  border: 3px solid #001f3f;
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  position: relative;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

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

.nav-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  margin-left: 0;
}

#language-selector {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.5rem;
  border-radius: 5px;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
}

#language-selector option {
  background: var(--color-primary);
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--color-white);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      rgba(0, 31, 63, 0.8) 0%,
      rgba(0, 31, 63, 0.4) 50%,
      rgba(0, 31, 63, 0.1) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  display: block;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.2s;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: var(--shadow-text);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.4s;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 450px;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}

/* Buttons — Hero */
.hero .btn-group {
  display: flex;
  gap: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.8s;
}

.hero .btn {
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  display: inline-block;
  text-decoration: none;
}

.hero .btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}

.hero .btn-primary:hover {
  background-color: transparent;
  color: var(--color-white);
}

.hero .btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.hero .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

/* Hero Stats */
.hero-stats {
  position: absolute;
  bottom: 10%;
  right: 5%;
  display: flex;
  gap: 1.5rem;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards 1s;
}

.stat-card {
  background: var(--color-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-glass-border);
  padding: 1.5rem;
  border-radius: 12px;
  min-width: 140px;
  box-shadow: var(--shadow-box);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Social Sidebar */
.social-sidebar {
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 10;
}

.social-sidebar::after {
  content: '';
  width: 1px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

.social-link {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  font-weight: 500;
}

.social-link:hover {
  color: var(--color-accent);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Expeditions Page */
.expeditions-container {
  padding: 8rem 5% 5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-white);
}

.tabs-nav {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.tabs {
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50px;
}

.tab-link {
  padding: 0.8rem 2rem;
  cursor: pointer;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
}

.tab-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.tab-link.active {
  background: var(--color-accent);
  color: var(--color-primary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

.tab-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
  background: rgba(0, 31, 63, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--color-glass-border);
}

.tab-text {
  flex: 1;
}

.tab-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-accent);
}

.tab-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #ddd;
}

.tab-image {
  flex: 1;
}

.tab-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-box);
}

/* ===================================
   НОВЫЕ СЕКЦИИ — SEO-контент
   =================================== */

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

.section-subtitle {
  font-size: 1.1rem;
  color: #b0c4de;
  margin-bottom: 40px;
  text-align: center;
}

/* === SERVICES === */
.services {
  padding: 80px 0;
  background: #0a1628;
  color: #fff;
}

.services h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 150, 255, 0.15);
  border-color: rgba(0, 150, 255, 0.3);
}

.service-icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 15px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #fff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0c4de;
  margin-bottom: 15px;
}

.price-tag {
  display: inline-block;
  background: rgba(57, 204, 204, 0.15);
  color: var(--color-accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.btn-small {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: var(--color-accent);
  color: var(--color-primary);
}

/* === WHY US === */
.why-us {
  padding: 80px 0;
  background: #0d1f3c;
  color: #fff;
}

.why-us h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

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

.why-card {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
}

.why-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: block;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #fff;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #b0c4de;
}

/* === DIVE SITES === */
.dive-sites {
  padding: 80px 0;
  background: #0a1628;
  color: #fff;
}

.dive-sites h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.site-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.site-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57, 204, 204, 0.3);
}

.site-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #fff;
}

.site-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #b0c4de;
}

/* === FAQ === */
.faq {
  padding: 80px 0;
  background: #0d1f3c;
  color: #fff;
}

.faq h2 {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  padding: 20px 0;
  cursor: pointer;
  font-size: 1.05rem;
  color: #fff;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 300;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 0 20px 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #b0c4de;
}

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #003366 0%, #006699 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 1.1rem;
  color: #b0d4f1;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta-section .btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
}

.cta-section .btn-primary:hover {
  background-color: transparent;
  color: var(--color-white);
}

.cta-section .btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.cta-section .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* === FOOTER === */
.site-footer {
  background: #060e1a;
  color: #8899aa;
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col h3 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #8899aa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-social a {
  color: #8899aa;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  text-align: center;
  padding: 25px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
}

/* === Accessibility === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 900px) {
  .hero {
    padding: 0 5%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-stats {
    right: 50%;
    transform: translateX(50%);
    bottom: 5%;
  }

  .social-sidebar {
    display: none;
  }

  .logo img {
    height: 60px;
  }

  .services-grid,
  .why-grid,
  .sites-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab-layout {
    flex-direction: column-reverse;
    padding: 1.5rem;
  }

  .tabs {
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
  }

  .tab-link {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .navbar {
    padding: 1rem 5%;
    flex-direction: row;
    justify-content: space-between;
  }

  .logo img {
    height: 50px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: 100px;
    padding: 0.8rem;
  }

  .hero .btn-group {
    flex-direction: column;
    gap: 1rem;
  }

  .hero .btn {
    width: 100%;
    text-align: center;
  }

  .services-grid,
  .why-grid,
  .sites-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services h2,
  .why-us h2,
  .dive-sites h2,
  .faq h2,
  .cta-section h2 {
    font-size: 1.6rem;
  }

  .cta-section .btn-group {
    flex-direction: column;
  }
}
