@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
  background-color: #FAF7F2;
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #FAF7F2;
}
::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0f766e;
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* ─── Hero ─── */
.hero-gradient {
  background: linear-gradient(180deg, rgba(16, 42, 67, 0.7) 0%, rgba(16, 42, 67, 0.4) 50%, rgba(16, 42, 67, 0.8) 100%);
}

/* ─── Cards ─── */
.yacht-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yacht-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.yacht-card .card-img {
  transition: transform 0.5s ease;
}
.yacht-card:hover .card-img {
  transform: scale(1.08);
}

.destination-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.destination-card .dest-img {
  transition: transform 0.6s ease;
}
.destination-card:hover .dest-img {
  transform: scale(1.1);
}
.destination-card .dest-overlay {
  transition: opacity 0.3s ease;
}
.destination-card:hover .dest-overlay {
  opacity: 0.6;
}

/* ─── Buttons ─── */
.btn-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
}
.btn-secondary {
  background: transparent;
  color: #0d9488;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: 2px solid #0d9488;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.btn-secondary:hover {
  background: #0d9488;
  color: white;
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, #F97316 0%, #ea580c 100%);
  color: white;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
}

/* ─── Accordion ─── */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.accordion-header {
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  font-weight: 600;
  font-size: 1.05rem;
  color: #243b53;
  transition: background 0.2s;
}
.accordion-header:hover {
  background: #f9fafb;
}
.accordion-header .icon {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: #0d9488;
}
.accordion-item.active .accordion-header .icon {
  transform: rotate(180deg);
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  background: white;
  color: #627d98;
  line-height: 1.7;
}
.accordion-item.active .accordion-body {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ─── Gallery Slider ─── */
.gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.gallery-slide {
  min-width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #243b53;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 10;
}
.gallery-btn:hover {
  background: white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.gallery-btn.prev { left: 16px; }
.gallery-btn.next { right: 16px; }
.gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.gallery-dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

/* ─── Calendar ─── */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.calendar-day:hover:not(.disabled) {
  background: #ccfbf1;
  color: #0d9488;
}
.calendar-day.available {
  background: #f0fdfa;
  color: #0f766e;
  font-weight: 500;
}
.calendar-day.booked {
  background: #fee2e2;
  color: #b91c1c;
  cursor: not-allowed;
  text-decoration: line-through;
}
.calendar-day.selected {
  background: #0d9488;
  color: white;
  font-weight: 600;
}
.calendar-day.in-range {
  background: #ccfbf1;
  color: #0d9488;
  font-weight: 500;
}
.calendar-day.check-in {
  border-radius: 8px 0 0 8px;
}
.calendar-day.check-out {
  border-radius: 0 8px 8px 0;
}
.calendar-day.disabled {
  color: #d1d5db;
  cursor: default;
}
.calendar-day.today {
  border: 2px solid #0d9488;
}

/* ─── Booking Progress ─── */
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}
.progress-step .step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s ease;
  background: #e5e7eb;
  color: #9ca3af;
}
.progress-step.active .step-circle {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
  color: white;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}
.progress-step.completed .step-circle {
  background: #0d9488;
  color: white;
}
.progress-line {
  flex: 1;
  height: 3px;
  background: #e5e7eb;
  margin-top: 20px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.progress-line.active::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: #0d9488;
  border-radius: 2px;
}

/* ─── Filter Tags ─── */
.filter-tag {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  color: #627d98;
}
.filter-tag:hover,
.filter-tag.active {
  border-color: #0d9488;
  color: #0d9488;
  background: #f0fdfa;
}

/* ─── Sticky Booking Card ─── */
.sticky-booking {
  position: sticky;
  top: 100px;
}

/* ─── Navigation ─── */
.nav-glass {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-transparent {
  background: transparent;
  border-bottom: none;
}
.nav-link {
  position: relative;
  color: #334e68;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d9488;
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover {
  color: #0d9488;
}
.nav-link:hover::after {
  width: 100%;
}

/* ─── Testimonial ─── */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

/* ─── Feature Icon ─── */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
  color: #0d9488;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.feature-icon:hover {
  transform: scale(1.1);
}

/* ─── CTA Section ─── */
.cta-gradient {
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 40%, #102a43 100%);
}

/* ─── Comparison Table ─── */
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: center;
}
.comparison-table thead th {
  background: #102a43;
  color: white;
  font-weight: 600;
}
.comparison-table tbody tr:nth-child(even) {
  background: #f9fafb;
}
.comparison-table .highlight-col {
  background: #f0fdfa !important;
  border-left: 2px solid #0d9488;
  border-right: 2px solid #0d9488;
}
.comparison-table thead .highlight-col {
  background: #0d9488 !important;
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open {
  transform: translateX(0);
}

/* ─── Pagination ─── */
.pagination-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: #334e68;
}
.pagination-btn:hover,
.pagination-btn.active {
  background: #0d9488;
  color: white;
  border-color: #0d9488;
}

/* ─── Map placeholder ─── */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  background: #d1d5db;
  min-height: 400px;
}

/* ─── Form inputs ─── */
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
  color: #243b53;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}
.form-input::placeholder {
  color: #9fb3c8;
}

/* ─── Badge ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-primary {
  background: #ccfbf1;
  color: #0f766e;
}
.badge-accent {
  background: #ffedd5;
  color: #c2410c;
}
.badge-navy {
  background: #102a43;
  color: white;
}

/* ─── Star Rating ─── */
.stars {
  color: #F59E0B;
  letter-spacing: 2px;
}

/* ─── Nav Dropdown ─── */
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero-search-box {
    flex-direction: column;
  }
}
