/* style.css - Custom design system and layout styling for Strogino Boat Rent */

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

:root {
  --primary: #007ce2;
  --primary-hover: #0069c2;
  --primary-active: #00569e;
  --primary-light: #e5f2fd;
  --primary-light-hover: #d2e8fc;
  --dark: #081d33;
  --dark-overlay: rgba(8, 29, 51, 0.65);
  --text-main: #2b3a4a;
  --text-muted: #6b7c90;
  --bg-soft: #f4f8fc;
  --bg-white: #ffffff;
  --border-color: #e2ecf5;
  --border-hover: #cbdceb;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(8, 29, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(8, 29, 51, 0.06);
  --shadow-lg: 0 16px 40px rgba(8, 29, 51, 0.1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-soft);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

/* Main Layout Wrapper */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Scroll Animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header Section */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  background: transparent;
  transition: all var(--transition-normal);
}

header.scrolled {
  padding: 6px 0;
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 29, 51, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 10px 30px rgba(8, 29, 51, 0.15);
  transition: all var(--transition-normal);
}

header.scrolled .header-inner {
  background: rgba(8, 29, 51, 0.3);
  box-shadow: 0 12px 40px rgba(8, 29, 51, 0.15);
  border-color: rgba(255, 255, 255, 0.05);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  color: #fff;
}

.header-logo-img {
  height: 48px;
  max-width: 220px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.logo:hover .header-logo-img {
  transform: scale(1.05);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Header Right info */
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-phone {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  transition: color var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone:hover {
  color: var(--primary-light-hover);
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1000;
}

.burger-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Burger Menu Animation */
.burger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Nav Dropdown */
.mobile-nav-overlay {
  position: fixed;
  top: 70px;
  right: 24px;
  width: 260px;
  height: auto;
  background: rgba(8, 29, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) translateY(-10px);
  transform-origin: top right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}

.mobile-nav-content {
  text-align: left;
  width: 100%;
  padding: 24px;
}

.mobile-nav-close {
  display: none;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.mobile-nav-link {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  padding: 12px 0;
  text-transform: none;
  letter-spacing: normal;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-socials {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.mobile-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-social-icon svg {
  width: 20px;
  height: 20px;
}

.mobile-nav-phone {
  font-size: 16px;
  font-weight: 600;
  text-align: left;
}

.mobile-nav-phone a {
  color: rgba(255, 255, 255, 0.7);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 124, 226, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 124, 226, 0.4);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 2px 8px rgba(0, 124, 226, 0.3);
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #fff;
  color: var(--dark);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-outline:active {
  transform: translateY(1px) scale(0.96);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  background-image: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('/demo/hero1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 180px;
  padding-bottom: 120px;
  color: #fff;
  text-align: left;
}

.hero-content {
  max-width: 700px;
  margin-bottom: 70px;
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  opacity: 0.95;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Feature Bar in Hero */
.hero-features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-wrapper {
  color: #fff;
  background-color: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.hero-feature-item:hover .feature-icon-wrapper {
  background-color: transparent;
  color: var(--primary-light);
  transform: translateY(-3px) scale(1.1);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.feature-info {
  display: flex;
  flex-direction: column;
}

.feature-title {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.feature-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2px;
}

/* Animated Wave Separator */
.waves-container {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 60px;
  min-height: 40px;
  max-height: 80px;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.waves {
  position: relative;
  width: 100%;
  height: 60px;
  margin-bottom: -7px;
}

/* Parallax Wave Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate(-90px, 0);
  }
  100% { 
    transform: translate(85px, 0);
  }
}

/* Section Common Styles */
.section {
  padding: 60px 0;
  position: relative;
  scroll-margin-top: 100px;
}

.section-bg-soft {
  background-color: var(--bg-soft);
}

.section-bg-white {
  background-color: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 32px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-decor {
  width: 60px;
  height: 6px;
  color: var(--primary);
  margin: 0 auto;
}

/* What's Included Section */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px; /* reduced from 24px */
}

.included-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px; /* reduced from 32px */
  display: flex;
  align-items: center; /* change to center for less height */
  gap: 16px; /* reduced from 24px */
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.included-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.included-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  background-color: transparent;
  padding: 0;
}

.included-card:hover .included-icon-wrapper {
  transform: scale(1.08) translateY(-2px);
}

.included-card-icon {
  width: 44px; /* reduced from 56px */
  height: 44px; /* reduced from 56px */
  object-fit: contain;
  transition: transform var(--transition-normal);
}

.included-card:hover .included-card-icon {
  transform: scale(1.1) rotate(4deg);
}

.included-content {
  display: flex;
  flex-direction: column;
}

.included-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.included-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* Booking Section */
.booking-section {
  background-color: var(--bg-soft);
}

.booking-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.booking-column {
  display: flex;
  flex-direction: column;
}

.booking-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.booking-col-title svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

/* Calendar Styling */
.calendar-wrapper {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  background-color: #fff;
  box-shadow: var(--shadow-sm);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-month {
  font-size: 14px;
  font-weight: 700;
  text-transform: capitalize;
}

.calendar-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-btn:hover {
  background-color: var(--bg-soft);
  color: var(--dark);
}

.calendar-btn svg {
  width: 16px;
  height: 16px;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 6px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-day:hover:not(.empty):not(.disabled) {
  background-color: var(--bg-soft);
  color: var(--primary);
}

.calendar-day.active {
  background-color: var(--primary);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 124, 226, 0.25);
}

.calendar-day.disabled {
  color: #c4d1df;
  cursor: not-allowed;
}

.calendar-day.empty {
  cursor: default;
}

/* Selector Grids (Time & Duration) */
.select-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.booking-select-group {
  margin-bottom: 24px;
}

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

.selector-btn {
  padding: 12px 6px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background-color: #fff;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.selector-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.selector-btn.active {
  border-color: var(--primary);
  background-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 124, 226, 0.15);
}

/* Total Box */
.total-box {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-soft) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  position: relative;
  min-height: 80px;
  overflow: hidden;
}

.total-info {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.total-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.total-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin: 2px 0;
}

.total-duration {
  font-size: 12px;
  color: var(--text-muted);
}

.total-boat-img {
  position: absolute;
  right: -5px;
  bottom: -5px;
  width: 100px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  transition: transform var(--transition-normal);
}

.total-box:hover .total-boat-img {
  transform: scale(1.05) translate(-3px, -3px);
}

/* Forms input fields */
.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

.form-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  background-color: var(--bg-soft);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 124, 226, 0.1);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7c90' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}

textarea.form-input {
  resize: none;
  height: 90px;
  padding-left: 16px;
}

.btn-book-submit {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  margin-top: 8px;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

.secure-note svg {
  width: 14px;
  height: 14px;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.reviewer-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
}

.rating-stars {
  display: flex;
  gap: 2px;
  color: #ffb800;
}

.rating-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-main);
  flex-grow: 1;
  margin-bottom: 20px;
  font-style: italic;
}

.review-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* Pagination Dots */
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  background-color: var(--primary);
  width: 24px;
}

/* Footer & Waves Bottom */
footer {
  margin-top: auto;
  position: relative;
  background-color: var(--primary);
  color: #fff;
  padding: 80px 0 40px;
  overflow: visible;
}

/* Animated Footer Wave */
.footer-waves-container {
  position: absolute;
  top: -59px;
  left: 0;
  width: 100%;
  height: 60px;
  min-height: 40px;
  max-height: 80px;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
}

.footer-waves {
  position: relative;
  width: 100%;
  height: 60px;
}

.footer-parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.footer-parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.footer-parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.footer-parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.footer-parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 100px;
  max-width: 280px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: #fff;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(8, 29, 51, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  color: var(--primary);
  background-color: var(--primary-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.modal-success-icon svg {
  width: 32px;
  height: 32px;
}

.modal-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}

.modal-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.modal-details {
  background-color: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.modal-detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}

.modal-detail-row:last-child {
  margin-bottom: 0;
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
  font-weight: 700;
  color: var(--dark);
}

.modal-detail-label {
  color: var(--text-muted);
}

/* Responsiveness */
@media (max-width: 1024px) {
  .booking-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* License Split Layout */
.license-split-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 48px;
  align-items: stretch;
}

.license-hero-panel {
  background: linear-gradient(135deg, #08325a 0%, #1572a1 50%, #003366 100%);
  background-size: 200% 200%;
  padding: 48px;
  border-radius: var(--radius-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(10, 58, 96, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.license-hero-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  transition: all 0.8s ease;
  pointer-events: none;
}

.license-hero-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 58, 96, 0.35);
  background-position: 100% 100%;
}

.license-hero-panel:hover::before {
  left: 150%;
}

.license-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.badge-age {
  background: #ffcc00;
  color: #0b1d33;
  font-weight: 800;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-text {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.license-hero-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(120deg, #ffffff 60%, #e6f2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.license-hero-desc {
  font-size: 15px;
  color: #cbdcf2;
  line-height: 1.7;
  margin-bottom: 32px;
}



.license-facts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.fact-card:hover {
  transform: translateX(6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.fact-icon-wrapper {
  background: rgba(10, 132, 255, 0.08);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-normal);
}

.fact-card:hover .fact-icon-wrapper {
  background: var(--primary);
  color: #fff;
  transform: scale(1.05) rotate(-3deg);
}

.fact-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.fact-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.fact-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Boats Section */
.boats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.boat-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.boat-card:not(.disabled):hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.boat-card.disabled {
  opacity: 0.7;
  filter: grayscale(80%);
}

.boat-badge-soon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #ff007f, #ff0055);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255, 0, 85, 0.4);
  text-transform: uppercase;
}

.boat-card-image {
  background: linear-gradient(to bottom, #e8f0fe, #f8faff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.boat-card-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.boat-card:not(.disabled):hover .boat-card-image img {
  transform: scale(1.05);
}

.boat-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.boat-card-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.boat-card-desc {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.boat-card-features {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.boat-card-features span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.boat-card-features svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.boat-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.boat-card-actions .btn {
  padding: 10px 0;
  font-size: 14px;
  width: 100%;
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover:not(:disabled) {
  background: var(--primary);
  color: #fff;
}

.boat-card-actions button:disabled,
.boat-card-actions .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Gift Certificate Section */
.cert-split-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, #081d33 0%, #153250 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black); /* Fix for Safari border-radius overflow */
}

.cert-content {
  padding: 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
  width: fit-content;
}

.cert-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #fff;
}

.cert-desc {
  font-size: 16px;
  color: #cbdcf2;
  line-height: 1.7;
  margin-bottom: 32px;
}

.cert-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cert-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.cert-features svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.cert-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cert-price-hint {
  font-size: 14px;
  color: #cbdcf2;
  font-weight: 600;
}

.cert-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 400px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-img-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.cert-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.cert-split-layout:hover .cert-img-inner img {
  transform: scale(1.03);
}

.cert-floating-badge {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
  transition: transform 0.3s ease;
}

.cert-split-layout:hover .cert-floating-badge {
  transform: translateY(-5px);
}

.cert-icon {
  font-size: 28px;
}

.cert-badge-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.3;
}

.cert-badge-text span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-gray);
}

/* Locations Section */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.location-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.location-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.location-card:hover .location-image img {
  transform: scale(1.05);
}

.location-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(8,29,51,0.95) 0%, rgba(8,29,51,0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.location-title {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  font-family: 'Outfit', sans-serif;
}

.location-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.location-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.location-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Boat Details Page CSS */
.boat-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.boat-main-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  height: auto;
  aspect-ratio: 4 / 3;
}

.boat-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.boat-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.boat-thumbnails {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.boat-thumbnails .thumb {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.boat-thumbnails .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.boat-thumbnails .thumb.active,
.boat-thumbnails .thumb:hover {
  border-color: var(--primary);
  opacity: 0.8;
}

.boat-info-module {
  display: flex;
  flex-direction: column;
}

.boat-page-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.boat-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.tag-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 124, 226, 0.1);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.tag-primary svg {
  width: 16px;
  height: 16px;
}

.boat-page-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.boat-key-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
  padding: 20px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.key-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.key-spec-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.key-spec-lbl {
  font-size: 13px;
  color: var(--text-muted);
}

.boat-price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-soft);
  padding: 24px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.boat-price-info {
  display: flex;
  flex-direction: column;
}

.price-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
}

.price-lbl {
  font-size: 14px;
  color: var(--text-muted);
}

.btn-book-large {
  padding: 16px 32px;
  font-size: 16px;
}

.boat-bonus-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
  padding: 0 10px;
}

.boat-bonus-info svg {
  width: 20px;
  height: 20px;
  color: #2e7d32;
}

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

.spec-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.spec-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 15px;
}

.spec-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
  top: -2px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* FAQ Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all var(--transition-normal);
  border: 1px solid rgba(8, 29, 51, 0.05);
}

.faq-item.active {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: rgba(var(--primary-rgb), 0.3);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: rgba(8, 29, 51, 0.02);
}

.faq-question-text {
  font-size: 18px;
  font-weight: 700;
  padding-right: 24px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background: #f8fbff;
}

.faq-item.active .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer {
  overflow: hidden;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  margin: 0;
  color: var(--text-light);
  line-height: 1.6;
  font-size: 16px;
}

/* Location Details Page */
.location-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  margin-top: -120px; /* Offset the spacer to go under header */
}

.location-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(8,29,51,0.95) 0%, rgba(8,29,51,0.4) 100%);
}

.relative { position: relative; }
.z-10 { z-index: 10; }
.text-left { text-align: left; margin-left: 0; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 40px; }

.location-hero-content {
  max-width: 700px;
  padding-top: 80px;
}

.location-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.location-hero-title {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}

.location-hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

.location-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.location-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.location-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 450px;
}

.location-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.route-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.route-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.route-card-img {
  height: 220px;
}

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

.route-card:hover .route-card-img img {
  transform: scale(1.05);
}

.route-card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.route-card-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--dark);
}

.route-card-meta {
  display: inline-block;
  background: rgba(0, 124, 226, 0.1);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  width: fit-content;
}

@media (max-width: 1200px) {
  .header-inner {
    padding: 12px 20px;
    gap: 15px;
  }
  .nav-menu {
    gap: 20px;
  }
  .header-right {
    gap: 16px;
  }
  .header-phone {
    font-size: 14px;
  }
  .logo .header-logo-img {
    height: 40px;
  }
  .nav-link {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  .header-phone {
    display: none;
  }
  #header-book-btn {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
}

@media (max-width: 992px) {
  .boats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .boat-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cert-split-layout {
    grid-template-columns: 1fr;
  }
  .cert-floating-badge {
    left: 24px;
    bottom: 24px;
  }
  .routes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .boats-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .routes-grid {
    grid-template-columns: 1fr;
  }
  .location-hero-title {
    font-size: 44px;
  }
}

@media (max-width: 768px) {

  .nav-menu {
    display: none;
  }
  .header-phone {
    display: none;
  }
  #header-book-btn {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .hero-title {
    font-size: 40px;
  }
  .section {
    padding: 40px 0;
  }
  .section-header {
    margin-bottom: 24px;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .included-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .included-card {
    padding: 16px;
  }
  .locations-grid {
    grid-template-columns: 1fr;
  }
  .license-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .license-hero-panel {
    padding: 32px;
  }
  .cert-content {
    padding: 32px;
  }
  .cert-title {
    font-size: 28px;
  }
  .cert-image-wrapper {
    min-height: 250px;
  }
  .cert-actions {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .boat-key-specs {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .boat-main-image {
    height: auto;
  }
  .boat-thumbnails {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .boat-thumbnails::-webkit-scrollbar {
    display: none;
  }
  .boat-thumbnails .thumb {
    flex: 0 0 120px;
    height: auto;
  }
  .boat-price-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-features {
    grid-template-columns: 1fr;
  }
  .license-hero-panel {
    padding: 24px;
  }
  .license-hero-title {
    font-size: 22px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .selector-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .header-right {
    gap: 12px;
  }
  .header-phone {
    font-size: 14px;
  }
}

@media (max-width: 600px) {

  .header-inner {
    flex-wrap: nowrap;
    padding: 8px 16px;
    gap: 12px;
  }
  .logo {
    flex: 0 1 auto;
    gap: 12px;
  }
  .header-right {
    flex: 0 1 auto;
    gap: 12px;
  }
  .header-phone {
    font-size: 14px;
    white-space: nowrap;
  }
  #header-book-btn {
    display: none;
  }
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--dark);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all var(--transition-fast);
  z-index: 10;
}

.slider-btn:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 16px; }
.next-btn { right: 16px; }

/* Boat Hero Text Colors Override */
.boat-details-hero .boat-page-title,
.boat-details-hero .key-spec-val {
  color: #fff;
}

.boat-details-hero .boat-page-desc,
.boat-details-hero .key-spec-lbl {
  color: #cbdcf2;
}

.boat-details-hero .boat-price-cta {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.boat-details-hero .price-val {
  color: #fff;
}

.boat-details-hero .price-lbl {
  color: #cbdcf2;
}

.boat-details-hero .boat-bonus-info {
  color: #cbdcf2;
}
.boat-details-hero .boat-bonus-info svg {
  color: #4ade80; /* lighter green for dark background */
}
.boat-details-hero .tag-primary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.boat-details-hero .tag-primary svg {
  color: #fff;
}
.boat-details-hero .boat-key-specs {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Video Split Layout */
.video-split-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 992px) {
  .video-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Modern Video Section Decor */
.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  animation: float-blob 10s ease-in-out infinite alternate;
}
.glow-blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(0, 124, 226, 0.15);
  top: -100px;
  right: -100px;
}
.glow-blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(46, 204, 113, 0.1);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 50px) scale(1.1); }
}

.video-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.feature-card-modern {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(8, 29, 51, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-normal);
  cursor: default;
}

.feature-card-modern:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 35px rgba(0, 124, 226, 0.08);
  border-color: rgba(0, 124, 226, 0.2);
}

.feature-card-modern .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  color: var(--primary);
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(255,255,255,0.8), 0 4px 12px rgba(0, 124, 226, 0.15);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.feature-card-modern:hover .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
  color: #fff;
}

.feature-card-modern .feature-text {
  font-weight: 700;
  font-size: 15px;
  color: var(--dark);
}

.video-mockup {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 48px rgba(8, 29, 51, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-mockup:hover {
  transform: translateY(-10px) scale(1.02);
}

.video-mockup video {
  width: 100%;
  display: block;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-mockup .video-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  filter: blur(60px);
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

.section-waves-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 5;
  pointer-events: none;
  overflow: hidden;
  line-height: 0;
}

.section-waves-bottom svg {
  width: 100%;
  height: 100%;
}

/* Test Drive Mockup 2 Section */
.test-drive-section {
    background: #f4f9ff;
    padding: 80px 20px;
}
.test-drive-card {
    background: linear-gradient(135deg, #eef6ff 0%, #ffffff 50%, #e2efff 100%);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px rgba(8, 29, 51, 0.06);
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
    min-height: 560px;
}
.test-drive-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 152, 255, 0.07) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.test-drive-card::after {
    content: '';
    position: absolute;
    top: 50px; right: -150px;
    width: 400px; height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(0, 152, 255, 0.03);
    pointer-events: none;
}
.test-drive-card-content {
    padding: 50px 60px 40px 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    text-align: left;
}
.test-drive-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.5px solid #0098ff;
    padding: 8px 18px;
    border-radius: 30px;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}
.test-drive-badge-pill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0098ff;
}
.test-drive-badge-pill-text {
    font-size: 11px;
    font-weight: 800;
    color: #0098ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.test-drive-title-mockup-2 {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.15;
    color: #0d1e36;
    margin: 0 0 32px 0;
    letter-spacing: -1px;
}
.test-drive-title-mockup-2 span {
    color: #0098ff;
    display: block;
    font-weight: 800;
}
.test-drive-btn-pill {
    background: #0098ff;
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 152, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 40px;
}
.test-drive-btn-pill:hover {
    background: #0087e0;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 152, 255, 0.4);
}
.test-drive-features-row {
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid rgba(13, 30, 54, 0.08);
    padding-top: 24px;
}
.test-drive-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.test-drive-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0098ff;
    flex-shrink: 0;
}
.test-drive-feature-text {
    font-size: 11px;
    font-weight: 700;
    color: #0d1e36;
    line-height: 1.3;
}
.test-drive-feature-text span {
    display: block;
    font-weight: 500;
    color: #64748b;
}
.test-drive-features-divider {
    width: 1px;
    height: 32px;
    background: rgba(13, 30, 54, 0.1);
}
.test-drive-card-image-2 {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px 20px 0;
}
.test-drive-card-image-2 img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

@media (max-width: 992px) {
    .test-drive-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .test-drive-card-content {
        padding: 40px 24px;
        align-items: center;
        text-align: center;
    }
    .test-drive-badge-pill, .test-drive-btn-pill {
        align-self: center;
    }
    .test-drive-title-mockup-2 {
        font-size: 38px;
    }
    .test-drive-features-row {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        width: 100%;
        border-top: 1px solid rgba(13, 30, 54, 0.08);
    }
    .test-drive-features-divider {
        display: none;
    }
    .test-drive-feature-item {
        text-align: left;
        width: 220px;
    }
    .test-drive-card-image-2 {
        padding: 20px;
        height: 280px;
    }
}

/* Test Drive Hero */
.test-drive-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(15, 32, 63, 0.35) 0%, rgba(15, 32, 63, 0.1) 100%), url('/demo/bg_testdrive.png');
  background-size: cover;
  background-position: right center;
  overflow: hidden;
  margin: 0;
  padding: 150px 0;
}

.test-drive-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  z-index: 2;
  margin-top: -1px;
}

.test-drive-hero-inner {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 3;
}

.test-drive-hero-content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  color: #ffffff;
}

.test-drive-hero-content .hero-title {
  font-size: 64px;
}

.test-drive-hero-btn {
  padding: 16px 40px;
  font-size: 1.15rem;
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .test-drive-hero {
    min-height: 450px;
    background-image: linear-gradient(90deg, rgba(15, 32, 63, 0.38) 0%, rgba(15, 32, 63, 0.15) 100%), url('/demo/bg_testdrive.png');
    padding: 100px 0;
  }
  .test-drive-hero-content .hero-title {
    font-size: 46px;
  }
}

/* Single Location Centered and Larger */
.single-location-grid {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
}

.single-location-card {
  max-width: 550px;
  width: 100%;
  box-shadow: var(--shadow-md);
}

.single-location-card .boat-card-content {
  padding: 32px;
}

.single-location-card .boat-card-title {
  font-size: 24px;
}

.single-location-card .boat-card-desc {
  font-size: 15px;
  line-height: 1.6;
}
