﻿/* =============================================
   CUSTOM STYLES - Colombia Boat Detailing
   ============================================= */

/* Glass Navigation */
.glass-nav {
  background: rgba(5, 5, 6, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-overlay {
  background: linear-gradient(
    to top,
    #060607 0%,
    rgba(4, 4, 6, 0.55) 50%,
    rgba(2, 2, 4, 0.12) 100%
  );
}

/* Card Animations */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}

/* Feature Lists */
.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-list li::before {
  content: "✦";
  color: #d4af37;
  position: absolute;
  left: 0;
  font-size: 0.8rem;
}

/* =============================================
   SCROLL ANIMATION EFFECTS
   ============================================= */

/* Fade In on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide In from Left */
.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide In from Right */
.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale Up */
.scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.scale-up.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered Animation */
.stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.stagger-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-item:nth-child(1) {
  transition-delay: 0.1s;
}
.stagger-item:nth-child(2) {
  transition-delay: 0.2s;
}
.stagger-item:nth-child(3) {
  transition-delay: 0.3s;
}
.stagger-item:nth-child(4) {
  transition-delay: 0.4s;
}
.stagger-item:nth-child(5) {
  transition-delay: 0.5s;
}
.stagger-item:nth-child(6) {
  transition-delay: 0.6s;
}
.stagger-item:nth-child(7) {
  transition-delay: 0.7s;
}
.stagger-item:nth-child(8) {
  transition-delay: 0.8s;
}

/* Parallax Effect */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* Review Card Animation */
.review-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.review-card .stars {
  transition: color 0.3s ease-out;
}

.review-card:hover .stars {
  color: #d4af37;
}

/* Dropdown Menu Animation */
.dropdown-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease-out,
    opacity 0.3s ease-out;
}

.dropdown-menu.active {
  max-height: 500px;
  opacity: 1;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease-out;
}

.dropdown-item:hover {
  border-left-color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
}

/* Nested Submenu (Flyout) */
.submenu-item {
  position: relative;
}

.submenu-item:hover > .submenu-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.submenu-flyout {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  background: white;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.3s ease-out;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  z-index: 100;
}

/* Blog Card Hover */
.blog-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Contact Form */
.form-input {
  transition: all 0.3s ease-out;
}

.form-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Counters Animation */
.counter {
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.counter.visible {
  color: #d4af37;
}

/* Scroll Bar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c5a028;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }

  .stagger-item {
    transition-delay: 0 !important;
  }

  .dropdown-menu.active {
    max-height: 800px;
  }
}

/* Smooth Scroll Behavior & No Horizontal Overflow */
html,
body {
  overflow-x: hidden; /* fallback */
  max-width: 100%;
  box-sizing: border-box;
}

/* Hard-clip horizontal overflow – works for position:fixed transforms too */
@supports (overflow-x: clip) {
  html,
  body {
    overflow-x: clip;
  }
}

html {
  scroll-behavior: smooth;
}

/* Every box respects its parent width */
*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0; /* prevents flex/grid children from overflowing */
}

/* Text Selection */
::selection {
  background: #d4af37;
  color: white;
}

::-moz-selection {
  background: #d4af37;
  color: white;
}

/* Button Animations */
.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease-out;
}

.btn-shine:hover::before {
  left: 100%;
}

/* Image Hover Effect */
.img-hover {
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.img-hover:hover {
  filter: brightness(1.1);
}

/* Accent Line */
.accent-line {
  position: relative;
  display: inline-block;
}

.accent-line::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width 0.4s ease-out;
}

.accent-line:hover::after {
  width: 100%;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(212, 175, 55, 0);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

.pulse-glow {
  animation: pulse-glow 2s infinite;
}

/* Desktop Navigation Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(5, 5, 6, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 4px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-out;
  z-index: 1000;
  padding: 0.5rem 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
  border-left: 3px solid transparent;
}

.nav-dropdown-link:hover {
  background: rgba(212, 175, 55, 0.1);
  border-left-color: #d4af37;
  color: #d4af37;
  padding-left: 2rem;
}

/* =============================================
   CARRUSEL INFINITO
   ============================================= */

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  background: white;
}

.carousel-container {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
}

.carousel-item {
  min-width: 100%;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  cursor: pointer;
  transition: all 0.3s ease-out;
  border: 2px solid transparent;
}

.carousel-dot.active {
  background: #d4af37;
  transform: scale(1.3);
  border-color: white;
}

/* =============================================
   FAQ SECTION
   ============================================= */

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease-out;
  padding-bottom: 0;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  opacity: 1;
  margin-top: 1rem;
  padding-bottom: 1.5rem;
}

.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem 0;
  user-select: none;
  transition: all 0.3s ease-out;
}

.faq-toggle:hover {
  color: #d4af37;
}

.faq-toggle i {
  transition: transform 0.3s ease-out;
}

.faq-item.open .faq-toggle i {
  transform: rotate(180deg);
}

/* =============================================
   BLOG PREVIEW CARDS
   ============================================= */

.blog-preview-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-preview-card img {
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */

.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
}

.whatsapp-float__bubble {
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: whatsapp-pulse 2.5s infinite;
  flex-shrink: 0;
}

.whatsapp-float__bubble svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.whatsapp-float:hover .whatsapp-float__bubble {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

.whatsapp-float__label {
  background: white;
  color: #0a192f;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.9rem 0.4rem 1.1rem;
  border-radius: 2px 0 0 2px;
  box-shadow: -3px 4px 20px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
  order: -1;
}

.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 4px 30px rgba(37, 211, 102, 0.9),
      0 0 0 8px rgba(37, 211, 102, 0.15);
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float__bubble {
    width: 54px;
    height: 54px;
  }
}

/* ╔══════════════════════════════════════════════════════╗
   ║   PREMIUM UPGRADE — 2026                            ║
   ║   Shimmer · Glow · Motion · Depth                   ║
   ╚══════════════════════════════════════════════════════╝ */

/* ── Keyframes ─────────────────────────────────────── */

@keyframes shimmer-sweep {
  0% {
    left: -75%;
  }
  100% {
    left: 130%;
  }
}

@keyframes gold-breathe {
  0%,
  100% {
    box-shadow:
      0 0 16px rgba(212, 175, 55, 0.35),
      0 4px 20px rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow:
      0 0 38px rgba(212, 175, 55, 0.65),
      0 4px 28px rgba(0, 0, 0, 0.3);
  }
}

@keyframes line-shine {
  0% {
    left: -100%;
  }
  100% {
    left: 210%;
  }
}

@keyframes aurora-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(28px, -22px) scale(1.06);
  }
  66% {
    transform: translate(-14px, 16px) scale(0.96);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes text-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ── Gold shimmer text ─────────────────────────────── */
.text-gold-shimmer {
  background: linear-gradient(
    90deg,
    #b08d1e,
    #d4af37,
    #f5e17a,
    #d4af37,
    #b08d1e
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 4.5s linear infinite;
}

/* ── Light-sweep shine on hover ────────────────────── */
.shine-on-hover {
  position: relative;
  overflow: hidden;
}
.shine-on-hover::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -75%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.13) 50%,
    transparent 100%
  );
  transform: skewX(-14deg);
  pointer-events: none;
}
.shine-on-hover:hover::after {
  animation: shimmer-sweep 0.7s ease forwards;
}

/* ── Glowing CTA button ────────────────────────────── */
.btn-glow {
  animation: gold-breathe 3.2s ease-in-out infinite;
}
.btn-glow:hover {
  animation: none;
  box-shadow:
    0 0 44px rgba(212, 175, 55, 0.85),
    0 8px 30px rgba(0, 0, 0, 0.35) !important;
  transform: translateY(-2px) scale(1.025) !important;
}

/* ── Animated gold separator ───────────────────────── */
.gold-separator {
  position: relative;
  width: 96px;
  height: 3px;
  background: linear-gradient(to right, transparent, #d4af37, transparent);
  border-radius: 2px;
  overflow: hidden;
}
.gold-separator::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.9),
    transparent
  );
  animation: line-shine 2.8s ease-in-out infinite;
}

/* ── Process step pulse ring ───────────────────────── */
.step-pulse {
  position: relative;
}
.step-pulse::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.55);
  animation: pulse-ring 2.6s ease-out infinite;
  pointer-events: none;
}

/* ── Hero badge ────────────────────────────────────── */
.hero-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  backdrop-filter: blur(14px) !important;
  box-shadow:
    0 0 22px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* ── Aurora orbs (decorative glows) ───────────────── */
.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  animation: aurora-drift 14s ease-in-out infinite;
  /* Prevent orbs from causing horizontal scroll */
  max-width: 100vw;
  overflow: hidden;
}
.aurora-orb-gold {
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.14) 0%,
    transparent 70%
  );
}

/* ── Stat numbers glow ─────────────────────────────── */
.stat-glow {
  transition: filter 0.35s ease;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.25));
}
.stat-glow:hover {
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.6));
}

/* ── Image container hover zoom ────────────────────── */
.hero-img-hover {
  overflow: hidden;
  border-radius: inherit;
}
.hero-img-hover img {
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  will-change: transform;
}
.hero-img-hover:hover img {
  transform: scale(1.05) !important;
}

/* ── Enhanced service cards ────────────────────────── */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-7px) !important;
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 0 40px rgba(212, 175, 55, 0.08) !important;
}

/* ── Upgraded glass nav ────────────────────────────── */
.glass-nav {
  background: rgba(10, 25, 47, 0.93) !important;
  backdrop-filter: blur(22px) saturate(190%) !important;
  border-bottom: 1px solid rgba(212, 175, 55, 0.14) !important;
  box-shadow: 0 4px 36px rgba(0, 0, 0, 0.32) !important;
}

/* ── Nav dropdown glow ─────────────────────────────── */
.nav-dropdown-content {
  border-color: rgba(212, 175, 55, 0.25) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(212, 175, 55, 0.1) !important;
}

/* ── Enhanced review cards ─────────────────────────── */
.review-card:hover {
  border-color: rgba(212, 175, 55, 0.28) !important;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.13),
    0 0 0 1px rgba(212, 175, 55, 0.15) !important;
}
.review-card:hover .ph-fill.ph-star {
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.55));
}

/* ── Blog preview cards ────────────────────────────── */
.blog-preview-card:hover {
  transform: translateY(-7px) !important;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.13),
    0 0 0 1px rgba(212, 175, 55, 0.1) !important;
}
.blog-preview-card img {
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.blog-preview-card:hover img {
  transform: scale(1.07) !important;
}

/* ── FAQ items hover ───────────────────────────────── */
.faq-item:hover {
  border-color: rgba(212, 175, 55, 0.25) !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.06) !important;
}

/* ── Premium scrollbar ─────────────────────────────── */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #0a192f;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #d4af37, #b08d1e);
  border-radius: 3px;
}

/* ── Footer anchor glow ────────────────────────────── */
footer a:hover {
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.35);
}

/* ── Float slow utility ────────────────────────────── */
.float-slow {
  animation: float-slow 5s ease-in-out infinite;
}

/* ── Section label decoration ──────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: #d4af37;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* ── Responsive: disable heavy animations on mobile ── */
@media (max-width: 768px) {
  .aurora-orb {
    display: none;
  }
  .btn-glow {
    animation: none;
  }
  .hero-img-hover img {
    transition-duration: 0.5s !important;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║   NAVAL EFFECTS UPGRADE — 2026                          ║
   ║   Waves · Compass · Depth · Ocean Particles             ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── Wave animations ───────────────────────────────────── */
@keyframes wave-move {
  0% {
    transform: translateX(0) translateZ(0) scaleY(1);
  }
  50% {
    transform: translateX(-25%) translateZ(0) scaleY(0.85);
  }
  100% {
    transform: translateX(-50%) translateZ(0) scaleY(1);
  }
}

@keyframes wave-move-slow {
  0% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(-30%) scaleY(1.1);
  }
  100% {
    transform: translateX(-50%) scaleY(1);
  }
}

@keyframes ripple-out {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes compass-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes compass-needle {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}

@keyframes depth-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.15;
  }
  33% {
    transform: translateY(-20px) rotate(3deg);
    opacity: 0.3;
  }
  66% {
    transform: translateY(10px) rotate(-2deg);
    opacity: 0.1;
  }
}

@keyframes horizon-glow {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleX(0.95);
  }
  50% {
    opacity: 0.6;
    transform: scaleX(1.05);
  }
}

@keyframes tide-in {
  0% {
    transform: translateX(-100%) skewX(-2deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) skewX(0);
    opacity: 1;
  }
}

@keyframes sea-shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes bubble-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-120px) scale(1.5);
    opacity: 0;
  }
}

@keyframes anchor-drop {
  0% {
    transform: translateY(-10px) rotate(-5deg);
    opacity: 0;
  }
  60% {
    transform: translateY(4px) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}

/* ── Hero wave SVG layer ───────────────────────────────── */
.hero-wave-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-wave-container svg {
  display: block;
  width: calc(200% + 1.3px);
  height: 90px;
  animation: wave-move 8s linear infinite;
}

.hero-wave-container.wave-2 svg {
  height: 60px;
  animation: wave-move-slow 12s linear infinite;
  opacity: 0.4;
}

/* ── Ocean depth section divider ───────────────────────── */
.ocean-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.ocean-divider svg {
  display: block;
  width: calc(200% + 1px);
  height: 70px;
  animation: wave-move 10s linear infinite;
}

.ocean-divider.flipped {
  transform: rotateX(180deg);
}

/* ── Nautical rope border ──────────────────────────────── */
.rope-border {
  position: relative;
}
.rope-border::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #d4af37 0px,
    #d4af37 8px,
    #b08d1e 8px,
    #b08d1e 16px,
    #c5a028 16px,
    #c5a028 24px
  );
  opacity: 0.6;
}

/* ── Compass rose decorative element ──────────────────── */
.compass-rose {
  position: absolute;
  pointer-events: none;
  opacity: 0.04;
}
.compass-rose svg {
  animation: compass-spin 60s linear infinite;
}

/* ── Water ripple hover effect ─────────────────────────── */
.water-ripple {
  position: relative;
  overflow: hidden;
}
.water-ripple::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.25) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: scale(0);
  pointer-events: none;
  transition: none;
}
.water-ripple:active::after {
  transform: scale(4);
  opacity: 0;
  transition:
    transform 0.6s ease-out,
    opacity 0.6s ease-out;
}

/* ── Horizon glow line ─────────────────────────────────── */
.horizon-line {
  position: relative;
}
.horizon-line::after {
  content: "";
  display: block;
  margin: 1.2rem auto 0;
  width: 120px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37 20%,
    #f5e17a 50%,
    #d4af37 80%,
    transparent
  );
  border-radius: 2px;
  animation: horizon-glow 3s ease-in-out infinite;
}

/* ── Nautical card with depth shadow ──────────────────── */
.nautical-card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(17, 34, 64, 0.95) 0%,
    rgba(10, 25, 47, 0.98) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 2px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nautical-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.03) 0%,
    transparent 60%
  );
  pointer-events: none;
}
.nautical-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.15),
    0 0 50px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Sea surface shimmer background ───────────────────── */
.sea-shimmer-bg {
  background: linear-gradient(-45deg, #051428, #0a192f, #0d2445, #071830);
  background-size: 400% 400%;
  animation: sea-shimmer 15s ease infinite;
}

/* ── Animated depth lines (sonar effect) ──────────────── */
.sonar-rings {
  position: absolute;
  width: 300px;
  height: 300px;
  pointer-events: none;
}
.sonar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  animation: ripple-out 4s ease-out infinite;
}
.sonar-ring:nth-child(2) {
  animation-delay: 1.3s;
}
.sonar-ring:nth-child(3) {
  animation-delay: 2.6s;
}

/* ── Floating bubbles decoration ──────────────────────── */
.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.2);
  animation: bubble-rise 6s ease-in-out infinite;
  pointer-events: none;
}

/* ── Nautical section heading ──────────────────────────── */
.naval-heading {
  position: relative;
  display: inline-block;
}
.naval-heading::before,
.naval-heading::after {
  content: "⊕";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(212, 175, 55, 0.35);
  font-size: 0.9rem;
}
.naval-heading::before {
  right: calc(100% + 16px);
}
.naval-heading::after {
  left: calc(100% + 16px);
}

/* ── Tidal section transition ──────────────────────────── */
.tide-in {
  animation: tide-in 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* ── Porthole frame effect ─────────────────────────────── */
.porthole {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 0 0 8px #112240,
    0 0 0 12px rgba(212, 175, 55, 0.4),
    0 0 0 16px #0a192f,
    0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ── Anchor icon accent ────────────────────────────────── */
.anchor-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  transition: all 0.3s ease;
  animation: anchor-drop 0.8s ease both;
}
.anchor-accent:hover {
  background: rgba(212, 175, 55, 0.2);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  transform: rotate(15deg);
}

/* ── Knot divider (decorative) ─────────────────────────── */
.knot-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}
.knot-divider::before,
.knot-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.4),
    transparent
  );
}
.knot-divider span {
  color: rgba(212, 175, 55, 0.6);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Depth gradient overlay ────────────────────────────── */
.depth-overlay {
  background: linear-gradient(
    180deg,
    rgba(10, 25, 47, 0) 0%,
    rgba(10, 25, 47, 0.4) 40%,
    rgba(10, 25, 47, 0.85) 75%,
    rgba(10, 25, 47, 1) 100%
  );
}

/* ── Glowing border card ───────────────────────────────── */
.glow-border-card {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.glow-border-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.6),
    transparent 40%,
    rgba(212, 175, 55, 0.3)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.glow-border-card:hover::before {
  opacity: 1;
}

/* ── Canvas particle background ────────────────────────── */
#naval-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Floating decorative text (watermark) ─────────────── */
.watermark-text {
  position: absolute;
  font-size: clamp(6rem, 15vw, 14rem);
  font-family: "Playfair Display", serif;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  line-height: 1;
}

/* ── Section with ocean bottom texture ─────────────────── */
.ocean-texture {
  position: relative;
}
.ocean-texture::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to top,
    rgba(10, 25, 47, 0.08) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Shimmer separator ─────────────────────────────────── */
.sea-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 2rem 0;
}
.sea-separator::before,
.sea-separator::after {
  content: "";
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}
.sea-separator .sea-icon {
  color: #d4af37;
  font-size: 1.2rem;
  animation: float-slow 4s ease-in-out infinite;
}

/* ── Enhanced process steps ────────────────────────────── */
.process-step {
  position: relative;
  padding-left: 4rem;
}
.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0.05)
  );
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #d4af37;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50%;
  animation: pulse-ring 3s ease-out infinite;
}

/* ── Card shine gradient ────────────────────────────────── */
.card-inner-glow {
  position: relative;
}
.card-inner-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    rgba(212, 175, 55, 0.06) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* ── Animated underline for section titles ─────────────── */
.animated-underline {
  position: relative;
  display: inline-block;
}
.animated-underline::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #f5e17a, #d4af37);
  background-size: 200% auto;
  animation: text-shimmer 3s linear infinite;
  border-radius: 2px;
}

/* ── Wind indicator (navbar accent) ───────────────────── */
.wind-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
  animation: pulse-glow 2s infinite;
}

/* ── Nautical grid pattern ─────────────────────────────── */
.nautical-grid {
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Boat wake effect on CTA buttons ──────────────────── */
.btn-wake {
  position: relative;
  overflow: hidden;
}
.btn-wake::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60%;
  width: 220%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.12) 0%,
    transparent 70%
  );
  transform: translateY(-50%);
  transition: left 0.5s ease;
  pointer-events: none;
}
.btn-wake:hover::before {
  left: 100%;
}

/* ── Depth counter accent ──────────────────────────────── */
.depth-counter {
  position: relative;
  overflow: hidden;
}
.depth-counter::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  transform: scaleX(0);
  transition: transform 0.6s ease;
}
.depth-counter:hover::after {
  transform: scaleX(1);
}

/* ── Responsive naval adjustments ──────────────────────── */
@media (max-width: 768px) {
  .hero-wave-container svg {
    height: 50px;
  }
  .compass-rose {
    display: none;
  }
  .watermark-text {
    font-size: 5rem;
  }
  .sonar-rings {
    display: none;
  }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║   ELECTRIC BLUE — AgentFire-inspired accent color       ║
   ║   #1B4FFF as secondary accent alongside gold            ║
   ╚══════════════════════════════════════════════════════════╝ */

:root {
  --electric-400: #4d8bff;
  --electric-500: #1B4FFF;
  --electric-600: #1540d6;
}

/* Text utilities */
.text-electric-400 { color: var(--electric-400); }
.text-electric-500 { color: var(--electric-500); }
.text-electric-600 { color: var(--electric-600); }

/* Background utilities */
.bg-electric-400 { background-color: var(--electric-400); }
.bg-electric-500 { background-color: var(--electric-500); }
.bg-electric-600 { background-color: var(--electric-600); }

/* Border utilities */
.border-electric-400 { border-color: var(--electric-400); }
.border-electric-500 { border-color: var(--electric-500); }

/* Hover utilities */
.hover\:text-electric-400:hover { color: var(--electric-400); }
.hover\:text-electric-500:hover { color: var(--electric-500); }
.hover\:bg-electric-500:hover  { background-color: var(--electric-500); }
.hover\:bg-electric-600:hover  { background-color: var(--electric-600); }

/* Section eyebrow — blue variant */
.section-eyebrow-blue {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  color: var(--electric-400);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 700;
}
.section-eyebrow-blue::before,
.section-eyebrow-blue::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

/* Electric glow on card hover */
.service-card:hover.electric-hover {
  border-color: rgba(27, 79, 255, 0.45) !important;
  box-shadow:
    0 32px 64px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(27, 79, 255, 0.1),
    0 0 40px rgba(27, 79, 255, 0.08) !important;
}

/* Electric CTA button */
.btn-electric {
  background: var(--electric-500);
  color: white;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-electric:hover {
  background: var(--electric-600);
  box-shadow: 0 0 28px rgba(27, 79, 255, 0.45);
  transform: translateY(-1px);
}

/* Blue shimmer text (like gold-shimmer but blue) */
.text-electric-shimmer {
  background: linear-gradient(
    90deg,
    #1540d6,
    #1B4FFF,
    #7ba8ff,
    #1B4FFF,
    #1540d6
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: text-shimmer 4.5s linear infinite;
}

/* Badge / tag pill */
.badge-electric {
  display: inline-block;
  background: rgba(27, 79, 255, 0.12);
  color: var(--electric-400);
  border: 1px solid rgba(27, 79, 255, 0.3);
  border-radius: 2px;
  padding: 0.2rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Aurora orb — blue variant */
.aurora-orb-electric {
  background: radial-gradient(
    circle,
    rgba(27, 79, 255, 0.12) 0%,
    transparent 70%
  );
}

/* Inter font — applied globally so all pages inherit it */
body {
  font-family: 'Inter', 'Lato', sans-serif;
}
