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

:root {
  --color-primary: #0a7e8c;
  --color-primary-dark: #065a64;
  --color-accent: #f0a500;
  --color-white: #ffffff;
  --color-light: #f8f9fa;
  --color-dark: #1a1a2e;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #e0e0e0;
  --font-heading: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --nav-height: 80px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ========================
   NAVIGATION - TOP
   ======================== */
.nav-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav-top.scrolled {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-top .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  transition: color var(--transition);
}

.nav-top.scrolled .nav-logo {
  color: var(--color-primary-dark);
}

.nav-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.nav-top.scrolled .nav-logo img {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  transition: color var(--transition);
}

.nav-top.scrolled .nav-links a {
  color: var(--color-text);
}

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

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

.nav-lang {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-top.scrolled .nav-lang {
  border-color: var(--color-border);
}

.nav-lang:hover {
  background: rgba(255, 255, 255, 0.15);
}

.nav-top.scrolled .nav-lang:hover {
  background: var(--color-light);
}

.nav-lang img {
  display: block;
  border-radius: 50%;
  object-fit: cover;
  width: 24px;
  height: 24px;
}

.flag-icon {
  display: inline-block;
  border-radius: 50%;
  object-fit: cover;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.nav-top.scrolled .nav-burger span {
  background: var(--color-text);
}

.nav-burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-burger.active span:nth-child(2) {
  opacity: 0;
}

.nav-burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================
   MOBILE MENU
   ======================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -80vw;
  width: 80vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-links a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}

.mobile-menu-links a:hover {
  color: var(--color-primary);
}

.mobile-menu-footer {
  margin-top: auto;
  padding-top: 40px;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.mobile-menu-footer a {
  color: var(--color-primary);
  display: block;
  margin-top: 8px;
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--color-white);
  max-width: 800px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content h1 mark {
  background: none;
  color: var(--color-accent);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  opacity: 0.9;
  margin-bottom: 32px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(10, 126, 140, 0.4);
}

.hero-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(10, 126, 140, 0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.hero-video-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hero-video-btn svg {
  width: 20px;
  height: 20px;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.active {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  background: var(--color-dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}

.video-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.video-modal-close svg {
  width: 24px;
  height: 24px;
}

.video-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-modal-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.enisxysh-banner {
  position: fixed;
  bottom: 20%;
  left: 20px;
  width: 20%;
  max-width: 200px;
  z-index: 900;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.enisxysh-banner.hidden {
  transform: translateY(150%);
  opacity: 0;
}

.enisxysh-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .enisxysh-banner {
    width: 100%;
    max-width: none;
    right: 0;
    left: 0;
    bottom: 0;
  }
  
  .enisxysh-banner img {
    border-radius: 0;
  }
}

/* Hero bottom nav */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  z-index: 10;
}

.hero-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-bottom-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.hero-bottom-nav a {
  color: var(--color-white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.08);
}

.hero-bottom-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  animation: bounce 2s infinite;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ========================
   SECTIONS - GENERAL
   ======================== */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
}

.section-alt {
  background: var(--color-light);
}

/* ========================
   BOATS SECTION
   ======================== */
.boats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.boats-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}

.boats-info .boat-specs {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.boats-info .boat-specs:last-child {
  border-bottom: none;
}

.boats-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.boats-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform var(--transition);
}

.boats-gallery img:hover {
  transform: scale(1.03);
}

.boats-gallery img:first-child {
  grid-column: 1 / -1;
  height: 240px;
}

/* ========================
   SERVICES SECTION
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--color-white);
}

.service-card-overlay h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

/* ========================
   DESTINATIONS SECTION
   ======================== */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.destination-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition);
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.destination-card:hover img {
  transform: scale(1.08);
}

.destination-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--color-white);
}

.destination-card-overlay h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

/* ========================
   BOOKING SECTION
   ======================== */
.booking-section {
  background: var(--color-dark);
  color: var(--color-white);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.booking-info img {
  width: 120px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.booking-info h3 {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 16px;
  opacity: 0.8;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.8;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--color-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: rgba(255, 255, 255, 0.12);
}

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

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.btn-submit {
  padding: 16px 40px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
  align-self: flex-start;
}

.btn-submit:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.form-message {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(40, 167, 69, 0.15);
  color: #51cf66;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-message.error {
  display: block;
  background: rgba(220, 53, 69, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: #111;
  color: var(--color-white);
  padding: 60px 0 30px;
}

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

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .boats-grid,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-bottom-nav {
    gap: 12px;
  }

  .hero-bottom-nav a {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-bottom .container {
    flex-direction: column;
    gap: 16px;
  }

  .hero-bottom-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .boats-gallery {
    grid-template-columns: 1fr;
  }

  .boats-gallery img:first-child {
    grid-column: auto;
  }
}
