/* Basic Reset and Core Styles */

/* Performance Optimizations */
/* Image loading optimization */
img {
  content-visibility: auto;
}

img[loading="lazy"] {
  content-visibility: auto;
}

/* Font loading optimization with display: swap */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&display=swap");

:root {
  --primary-color: #1e2a38;
  --secondary-color: #ff4b5c;
  --accent-color: #56c1c8;
  --text-primary: #2c3e50;
  --text-secondary: #64748b;
  --text-light: #f8fafc;
  --background-light: #ffffff;
  --background-alt: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.2);
  --gradient-bg: linear-gradient(135deg, #1e2a38 0%, #56c1c8 100%);
  --gradient-text: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 100%);
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.1) 0%,
    rgba(86, 193, 200, 0.1) 100%
  );
  border: 1px solid rgba(255, 75, 92, 0.2);
  border-radius: 50px;
  color: var(--secondary-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 75, 92, 0.3);
  will-change: transform, box-shadow;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 75, 92, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  will-change: transform, box-shadow;
}

.btn-secondary:hover {
  background: white;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
  will-change: transform, background, color;
}

.btn-outline:hover {
  background: white;
  color: var(--primary-color);
  border-color: white;
  transform: translateY(-3px);
}

.btn-large {
  padding: 1.125rem 2.25rem;
  font-size: 1.125rem;
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Header Styles */
.main-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(30, 42, 56, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.header-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 50%,
    var(--secondary-color) 100%
  );
  background-size: 200% 100%;
  animation: waveSlide 3s ease-in-out infinite;
}

@keyframes waveSlide {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 40px;
  height: auto;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.brand:hover .logo {
  transform: scale(1.1) rotate(10deg);
}

.logo-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: radial-gradient(
    circle,
    rgba(255, 75, 92, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.brand h1 {
  margin: 0;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand h1 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  display: inline-block;
}

.brand h1 a:hover {
  color: var(--secondary-color);
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: "Inter", sans-serif;
}

/* Desktop Navigation */
.desktop-nav {
  display: flex;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  position: relative;
  display: block;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: var(--transition);
  border-radius: var(--border-radius);
  font-size: 0.9375rem;
}

.nav-links a span {
  position: relative;
  z-index: 2;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.1) 0%,
    rgba(86, 193, 200, 0.1) 100%
  );
  border-radius: var(--border-radius);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.nav-links a:hover::before,
.nav-links a.active::before {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary-color);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 75, 92, 0.3);
  position: relative;
  overflow: hidden;
}

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

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

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 75, 92, 0.4);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 5px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
  border-radius: 3px;
}

.mobile-menu-toggle:hover span {
  background-color: var(--secondary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-heavy);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  display: block;
  max-height: 500px;
}

.mobile-nav-links {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.mobile-nav-links li {
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  animation: slideInRight 0.3s ease forwards;
  opacity: 0;
}

.mobile-nav.active .mobile-nav-links li {
  opacity: 1;
}

.mobile-nav.active .mobile-nav-links li:nth-child(1) {
  animation-delay: 0.05s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(2) {
  animation-delay: 0.1s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(3) {
  animation-delay: 0.15s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(4) {
  animation-delay: 0.2s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(5) {
  animation-delay: 0.25s;
}
.mobile-nav.active .mobile-nav-links li:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.mobile-nav-links a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.mobile-nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 0;
  background: linear-gradient(
    180deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  transition: height 0.3s ease;
}

.mobile-nav-links a:hover::before {
  height: 70%;
}

.mobile-nav-links a:hover {
  background: linear-gradient(
    90deg,
    rgba(255, 75, 92, 0.05) 0%,
    transparent 100%
  );
  color: var(--secondary-color);
  padding-left: 2rem;
}

.mobile-cta {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

/* Hero Section */
.hero {
  background: var(--gradient-bg);
  padding: 5rem 0 8rem;
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 42, 56, 0.95) 0%,
    rgba(86, 193, 200, 0.85) 100%
  );
  z-index: 1;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 75, 92, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(86, 193, 200, 0.1) 0%,
      transparent 50%
    );
  z-index: 1;
  animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, 20px);
  }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease 0.1s both;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
  transition: opacity 0.3s ease;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: "Playfair Display", serif;
  margin-bottom: 0.25rem;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.7) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.85;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
}

.hero-image {
  position: relative;
  animation: fadeInRight 0.8s ease 0.3s both;
}

.image-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.image-card:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.image-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

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

.image-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-20deg);
  z-index: 1;
}

.image-card:hover .image-shine {
  animation: shine 1s ease;
}

@keyframes shine {
  to {
    left: 150%;
  }
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  z-index: 2;
  animation: floatBadge 3s ease-in-out infinite;
  white-space: nowrap;
}

.badge-1 {
  top: 15%;
  right: 5%;
}

.badge-2 {
  bottom: 15%;
  left: 5%;
  animation-delay: 1.5s;
}

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

.badge-icon {
  font-size: 1.125rem;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  color: #f8fafc;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 10% 20%,
      rgba(86, 193, 200, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(255, 75, 92, 0.05) 0%,
      transparent 50%
    );
  z-index: 1;
}

.features .container {
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-card {
  background: linear-gradient(145deg, #ffffff 0%, #fdfdfd 100%);
  padding: 3rem 2.5rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 10px 40px rgba(30, 42, 56, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.6);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--accent-color) 50%,
    var(--secondary-color) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 75, 92, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(30, 42, 56, 0.15);
  border-color: rgba(255, 75, 92, 0.2);
}

.feature-card-highlight {
  position: relative;
  border: 2px solid var(--secondary-color);
  background: linear-gradient(145deg, #ffffff 0%, rgba(255, 75, 92, 0.02) 100%);
}

.feature-card-highlight::before {
  transform: scaleX(1);
}

.feature-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(255, 75, 92, 0.3);
  z-index: 1;
}

.feature-icon-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.1) 0%,
    rgba(86, 193, 200, 0.1) 100%
  );
  border-radius: 20px;
  color: var(--secondary-color);
  z-index: 2;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.15) 0%,
    rgba(86, 193, 200, 0.15) 100%
  );
}

.icon-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(255, 75, 92, 0.2) 0%,
    transparent 70%
  );
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .icon-glow {
  opacity: 1;
  animation: pulse 2s ease-in-out infinite;
}

.feature-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 700;
  transition: var(--transition);
}

.feature-card:hover h3 {
  color: var(--secondary-color);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: var(--transition);
  position: relative;
}

.feature-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-link:hover::after {
  width: calc(100% - 24px);
}

.feature-link svg {
  transition: transform 0.3s ease;
}

.feature-link:hover svg {
  transform: translateX(4px);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(30, 42, 56, 0.9) 0%,
    rgba(86, 193, 200, 0.7) 100%
  );
  z-index: 1;
}

.cta-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(
      circle at 15% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 40%
    );
  z-index: 1;
  animation: patternShift 15s ease-in-out infinite;
}

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

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: rotateIcon 10s linear infinite;
}

@keyframes rotateIcon {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease;
}

.cta-content p {
  font-size: 1.375rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.cta-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.cta-trust {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  opacity: 0.9;
}

.trust-item svg {
  opacity: 0.8;
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

/* Footer Styles */
.main-footer {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    #2c3e50 50%,
    var(--primary-color) 100%
  );
  color: white;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.footer-top-wave {
  width: 100%;
  color: #f8fafc;
  display: block;
  line-height: 0;
}

.footer-top-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(86, 193, 200, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 75, 92, 0.1) 0%,
      transparent 50%
    );
  z-index: 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand-section {
  padding-right: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 40px;
  height: auto;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.footer-brand:hover .footer-logo {
  transform: scale(1.1) rotate(-10deg);
}

.footer-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: radial-gradient(
    circle,
    rgba(86, 193, 200, 0.3) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.footer-brand h3 {
  margin: 0;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-tagline {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.footer-section h4 {
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
}

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

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.9375rem;
  display: inline-block;
  position: relative;
}

.footer-section ul li a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-section ul li a:hover::before {
  width: 100%;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: var(--transition);
  text-decoration: none;
  color: white;
}

.social-link:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(255, 75, 92, 0.3);
}

.newsletter-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  border: none;
  border-radius: var(--border-radius);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 75, 92, 0.3);
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 75, 92, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.9375rem;
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, #2c3e50 100%);
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.95;
}

.cookie-btn {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  color: white;
  border: none;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 75, 92, 0.3);
  font-size: 0.9375rem;
}

.cookie-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 75, 92, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .section-title {
    font-size: 2.5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-container {
    height: 75px;
    padding: 0 1rem;
  }

  .logo-wrapper {
    width: 45px;
    height: 45px;
  }

  .logo {
    width: 35px;
  }

  .brand h1 {
    font-size: 1.5rem;
  }

  .brand-tagline {
    font-size: 0.65rem;
  }

  .cta-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .hero {
    padding: 2rem 0 4rem;
    min-height: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content .hero-actions {
    align-items: center;
    text-align: center;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 1;
    min-width: 120px;
  }

  .image-card {
    transform: none;
  }

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

  .image-card img {
    height: 350px;
  }

  .floating-badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    position: static;
    margin: 0.5rem auto;
    display: inline-flex;
    width: fit-content;
  }

  .badge-1,
  .badge-2 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.375rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .features {
    padding: 3rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .feature-badge {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    padding: 0.25rem 0.625rem;
  }

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

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

  .cta-section {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
  }

  .cta-trust {
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-brand-section {
    padding-right: 0;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand h1 {
    font-size: 1.25rem;
  }

  .header-actions .cta-btn {
    display: none;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .stat-item {
    min-width: auto;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .feature-badge {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.6rem;
    padding: 0.25rem 0.5rem;
  }

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

  .feature-icon {
    width: 60px;
    height: 60px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-trust {
    flex-direction: column;
    gap: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
    height: 50px;
  }
}

/* Print Styles */
@media print {
  .main-header,
  .mobile-nav,
  .cookie-consent,
  .cta-section {
    display: none;
  }

  body {
    background: white;
  }

  .hero {
    background: none;
    padding: 2rem 0;
  }

  .hero::before,
  .hero-bg-pattern {
    display: none;
  }

  .hero-content {
    color: var(--text-primary);
  }
}

/* Charter Page Styles */
.charter-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  padding: 3rem 0;
  color: white;
  text-align: center;
}

.charter-hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.charter-hero .hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Listings Page Styles */
.listings-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  padding: 3rem 0;
  color: white;
  text-align: center;
}

.listings-hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.listings-hero .hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.listings-section {
  padding: 3rem 0;
}

/* Dealers Page Styles */
.dealers-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  padding: 3rem 0;
  color: white;
  text-align: center;
}

.dealers-hero .hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.dealers-hero .hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Profile Hero Section */
.profile-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  padding: 3rem 0;
  color: white;
  text-align: center;
}

.profile-hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.profile-hero-content p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.dealers-section {
  padding: 3rem 0;
}

.no-results {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-secondary);
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  margin: 2rem 0;
}

.no-results-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.no-results p {
  font-size: 1.1rem;
  margin: 0;
}

.filter-section {
  background-color: var(--background-alt);
  padding: 2rem 0;
}

.filter-toggle-btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.filter-toggle-btn:hover {
  background-color: #e03e4e;
  transform: translateY(-2px);
}

.listings-section {
  padding: 3rem 0;
}

/* Update the filter form for better integration (visible by default) */
form.filter {
  display: flex;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .cta-btn {
    display: none;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

  .profile-hero-content p {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-actions .btn {
    flex: 1;
    max-width: 200px;
  }

  .section-title {
    font-size: 2rem;
  }

  .features {
    padding: 3rem 0;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .cookie-content p {
    min-width: auto;
  }

  /* Charter page responsive */
  .charter-hero .hero-content h1 {
    font-size: 2rem;
  }

  /* Listings page responsive */
  .listings-hero .hero-content h1 {
    font-size: 2rem;
  }

  /* Dealers page responsive */
  .dealers-hero .hero-content h1 {
    font-size: 2rem;
  }

  .filter-toggle-btn {
    width: 100%;
    justify-content: center;
  }

  /* Forms: mobile-friendly layout and hidden by default on mobile */
  form.filter {
    display: none; /* hidden by default on mobile */
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-top: 0.75rem;
  }

  .form-row {
    flex-basis: 100%;
    width: 100%;
  }

  .form-row label {
    font-size: 0.95rem;
  }

  .form-row input,
  .form-row select {
    width: 100%;
    font-size: 16px; /* prevent iOS zoom */
    padding: 12px;
    border-radius: 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
    padding-right: 2.5rem;
  }

  /* Fix for iOS select styling */
  .form-row select {
    cursor: pointer;
  }

  .form-row input[type="number"],
  .form-row input[type="text"] {
    background-image: none;
    padding-right: 12px;
  }

  form .form-row.full-width,
  .form-row.full-width {
    width: 100%;
  }

  form .form-row.full-width button,
  form .form-row.full-width input[type="submit"] {
    width: 100%;
  }

  .boat-listings {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  /* Responsive table for mobile - card-based design */
  .boat-table {
    border: 0;
  }

  .boat-table thead {
    display: none;
  }

  .boat-table tbody tr {
    display: block;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .boat-table tbody tr:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  }

  .boat-table tbody td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: right;
  }

  .boat-table tbody td:last-child {
    border-bottom: none;
  }

  .boat-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: left;
    letter-spacing: 0.5px;
  }

  .boat-table-image {
    /* make the image span edge-to-edge by cancelling the td padding */
    display: block !important;
    padding: 0 !important;
    border-bottom: none !important;
    margin: 0 !important;
    width: calc(
      100% + 2rem
    ); /* add back the 1rem left/right padding from the td */
    margin-left: -1rem; /* offset the cell padding */
    margin-right: -1rem;
  }

  .boat-table-image::before {
    display: none;
  }

  .boat-table-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 250px; /* keep existing height behavior */
    object-fit: cover;
    border-radius: 12px 12px 0 0; /* rounded top corners to match card */
    margin: 0;
    display: block;
  }

  .boat-table-title {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 1rem 0.75rem !important;
    border-bottom: 2px solid var(--secondary-color) !important;
  }

  .boat-table-title::before {
    display: none;
  }

  .boat-table-price {
    font-size: 1.25rem;
    color: var(--secondary-color);
  }

  .boat-table-action {
    justify-content: center !important;
    padding: 1rem !important;
  }

  .boat-table-action::before {
    display: none;
  }

  .boat-table-action .view-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 360px) {
  .header-container {
    padding: 0 0.25rem;
  }

  .brand h1 {
    font-size: 1.5rem;
  }

  .logo {
    width: 35px;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cookie-content {
    padding: 0.75rem;
  }

  .cookie-content p {
    font-size: 0.9rem;
  }

  /* Ultra-small devices: single column listings */
  .boat-listings {
    grid-template-columns: 1fr;
  }

  /* Profile section mobile styles */
  .profile-container {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .profile-container .profile-picture img {
    width: 100px;
    height: 100px;
  }

  .profile-info h2 {
    font-size: 1.5rem;
  }

  .profile-info p {
    font-size: 1rem;
  }
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
  .nav-links a,
  .mobile-nav-links a,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-toggle {
    min-height: 44px;
    min-width: 44px;
  }

  /* Boat page responsive styles */
  .boat-info-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 1rem;
    padding: 0;
  }

  .boat-card-left {
    padding: 1.5rem;
  }

  .boat-card-left h2 {
    font-size: 1.8rem;
  }

  .boat-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .boat-card-right {
    padding: 1.5rem;
  }

  .boat-card-right h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .boat-card-right .user-info {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .boat-card-right .user-info .profile-picture {
    width: 70px;
    height: 70px;
  }

  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    padding: 0.75rem;
  }

  .carousel-button.prev {
    left: 0.5rem;
  }

  .carousel-button.next {
    right: 0.5rem;
  }

  .carousel-counter {
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Print styles */
@media print {
  .main-header,
  .cookie-consent,
  .cta-section {
    display: none;
  }

  .hero {
    background: none;
    color: black;
  }

  .hero::before {
    display: none;
  }

  * {
    color: black !important;
    background: white !important;
  }
}

/* OLD NAVBAR STYLES - COMMENTED OUT FOR NEW DESIGN
Brand Section
.navbar .brand {
    display: flex;
    align-items: center;
}

.navbar .brand img {
    height: 50px;
    margin-right: 15px;
}

.navbar .brand h1 {
    color: #F0F4F8;
    font-size: 36px;
    font-weight: 700;
    font-family: Bebas Neue;
    position: relative;
    cursor: pointer;
    transition: color 0.3s ease;
}

.navbar .brand h1::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    left: 0;
    background: #56C1C8;
    transition: width 0.3s ease;
}

.navbar .brand h1:hover::after {
    width: 100%;
    background: #56C1C8;
}

.navbar .brand h1:hover {
    color: #FF6B6B;
    animation: textGlow 1s ease-in-out infinite alternate;
}

Navigation Links
.navbar .nav-links {
    display: flex;
    gap: 30px;
}

.navbar .nav-links a {
    color: #F0F4F8;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #56C1C8;
    transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
    width: 100%;
    background: #56C1C8;
}

.navbar .nav-links a:hover {
    color: #FF6B6B;
    animation: linkBounce 0.6s ease-out;
}

CTA Button
.navbar .cta-button a {
    background-color: #FF4B5C;
    color: #FFFFFF;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 100;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar .cta-button a:hover {
    background-color: #C43E43;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    animation: pulse 1.5s infinite;
}

User Icons
.navbar .user-icons {
    display: flex;
    gap: 20px;
}

.navbar .user-icons a {
    color: #F0F4F8;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar .user-icons a:hover {
    color: #56C1C8;
    transform: scale(1.1);
}

Hide the menu container by default
#menu-container {
    display: none;
}
END OLD NAVBAR STYLES */

/* Filter Form */
form.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 10px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: #f0f4f8;
  font-family: "Oswald", sans-serif;
  opacity: 0; /* Start hidden */
  transform: translateY(30px); /* Slightly below its final position */
  animation: formLoad 0.8s ease-out forwards; /* Majestic load animation */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Keyframes for Form Load Animation */
@keyframes formLoad {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

form.filter:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.form-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-basis: calc(25% - 20px);
  box-sizing: border-box;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.form-row:hover {
  transform: translateY(-5px);
}

.form-row label {
  margin-bottom: 8px;
  color: #1e2a38;
  transition: color 0.3s ease;
  font-weight: 100;
}

.form-row input,
.form-row select {
  -webkit-appearance: none; /* Removes default styling in WebKit browsers */
  -moz-appearance: none; /* Removes default styling in Firefox */
  appearance: none; /* Removes default styling */
  padding: 12px;
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 6px;
  background-color: white;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  cursor: pointer;
}

/* Add custom dropdown arrow for select elements */
.form-row select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2a38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1em;
  padding-right: 2.5rem;
}

.form-row input[type="number"] {
  cursor: text;
}

.form-row input:focus,
.form-row select:focus {
  border-color: #ff4b5c;
  box-shadow: 0 0 5px rgba(255, 75, 92, 0.5);
  outline: none;
}

form .form-row.full-width {
  flex-basis: 100%;
  text-align: center;
}

form .form-row.full-width input {
  width: 100%;
  max-width: 1155px;
  margin: 0 auto;
  background-color: #ff4b5c;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s ease;
}

form .form-row.full-width input:hover {
  background-color: #c43e43;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Hidden Toggle Button for Mobile */
#toggleFormButton {
  display: none;
}

@keyframes linkBounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
}

/* OLD HERO SECTION STYLES - COMMENTED OUT FOR NEW DESIGN
.hero-section {
    position: relative;
    color: #F0F4F8;
    text-align: center;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    background-image: url('images/calitore-snoX2DPdVE0-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Oswald', sans-serif;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1.5s ease forwards 0.5s;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
}

.hero-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
    margin-top: 20px;
    font-family: 'Bebas Neue', sans-serif;
    color: #FFFFFF;
    animation: textWave 4s infinite;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 2s ease forwards;
    animation-delay: 1s;
}

.hero-section .hero-cta {
    background-color: #FF4B5C;
    color: #FFFFFF;
    padding: 14px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 22px;
    transition: background-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease;
    display: inline-block;
    opacity: 0;
    transform: scale(0.95);
    animation: buttonBounce 2.5s ease forwards;
    animation-delay: 1.5s;
    perspective: 1000px;
}

.hero-section .hero-cta:hover {
    background-color: #C43E43;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}
END OLD HERO SECTION STYLES */

/* Keyframes for Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes buttonBounce {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  60% {
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textWave {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px); /* Wave effect */
  }
}

/* Boat Table Styles */
.boat-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  background: white;
  animation: fadeInZoom 0.6s ease-out;
}

.boat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Oswald", sans-serif;
  background: white;
}

.boat-table thead {
  background: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 50%, #62b6cb 100%);
  color: white;
}

.boat-table thead th {
  padding: 0.9rem 0.8rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  white-space: nowrap;
}

.boat-table thead th:first-child {
  border-radius: 10px 0 0 0;
  padding-left: 1rem;
}

.boat-table thead th:last-child {
  border-radius: 0 10px 0 0;
  padding-right: 1rem;
}

.boat-table tbody tr {
  border: none;
  transition: all 0.2s ease;
  background: white;
  cursor: pointer;
}

.boat-table tbody tr:hover {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.06),
    rgba(98, 182, 203, 0.06)
  );
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.boat-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
}

.boat-table tbody tr:last-child td:last-child {
  border-radius: 0 0 10px 0;
}

.boat-table tbody td {
  padding: 0.75rem 0.8rem;
  vertical-align: middle;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
}

.boat-table tbody td:first-child {
  padding-left: 1rem;
}

.boat-table tbody td:last-child {
  padding-right: 1rem;
}

.boat-table tbody tr:last-child td {
  border-bottom: none;
}

.boat-table-image {
  position: relative;
}

.boat-table-image img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  display: block;
}

.boat-table tbody tr:hover .boat-table-image img {
  transform: scale(1.03);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.boat-table-title {
  font-weight: 600;
  color: #1e2a38;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.boat-table-price {
  color: #ff4b5c;
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.boat-table-charter-price {
  color: #56c1c8;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ============================================================================
   COMPACT DIRECTORY FILTERS - MOBILE-FIRST RESPONSIVE DESIGN
   ============================================================================ */

.filters-section {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.5s ease-out;
}

.filters-form {
  width: 100%;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.filter-item {
  display: flex;
  flex-direction: column;
}

.filter-search {
  grid-column: span 2;
}

.filter-input,
.filter-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  transition: all 0.25s ease;
  background: white;
  color: var(--text-primary);
  box-sizing: border-box;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #56c1c8;
  box-shadow: 0 0 0 3px rgba(86, 193, 200, 0.12);
}

.filter-input::placeholder {
  color: #94a3b8;
}

.filter-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.btn-filter,
.btn-reset {
  padding: 0.65rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-filter {
  background: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(255, 75, 92, 0.25);
  flex: 1;
}

.btn-filter:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 75, 92, 0.35);
}

.btn-filter:active {
  transform: translateY(0);
}

.btn-reset {
  background: #f1f5f9;
  color: var(--text-primary);
  padding: 0.65rem 0.9rem;
  font-size: 1.1rem;
}

.btn-reset:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

/* Results Info */
.results-info {
  padding: 0.75rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.results-info strong {
  color: var(--text-primary);
  font-weight: 700;
}

/* Boat Type Badge */
.boat-type-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.badge-power {
  background: linear-gradient(135deg, #ff4b5c 0%, #ff6b7a 100%);
  color: white;
}

.badge-sail {
  background: linear-gradient(135deg, #56c1c8 0%, #62b6cb 100%);
  color: white;
}

/* Boat Category */
.boat-category {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* Boat Condition Badge */
.boat-condition {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}

.condition-new,
.condition-as-new {
  background: #d1fae5;
  color: #065f46;
}

.condition-used,
.condition-good {
  background: #dbeafe;
  color: #1e40af;
}

.condition-very-good,
.condition-well-groomed {
  background: #e0e7ff;
  color: #4338ca;
}

.boat-condition-na {
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Enhanced Boat Table - Responsive */
.boat-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInZoom 0.5s ease-out;
}

.boat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 900px;
}

.boat-table thead {
  background: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 100%);
  color: white;
}

.boat-table thead th {
  padding: 0.85rem 0.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  position: sticky;
  top: 0;
  z-index: 10;
}

.boat-table thead th:first-child {
  border-radius: 10px 0 0 0;
}

.boat-table thead th:last-child {
  border-radius: 0 10px 0 0;
}

.boat-table tbody tr {
  transition: all 0.2s ease;
  background: white;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.boat-table tbody tr:hover {
  background: linear-gradient(
    to right,
    rgba(86, 193, 200, 0.06),
    rgba(255, 75, 92, 0.06)
  );
  transform: translateX(2px);
}

.boat-table tbody tr:last-child {
  border-bottom: none;
}

.boat-table tbody td {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
  font-size: 0.9rem;
}

.boat-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.boat-table tbody tr:hover .boat-thumbnail {
  transform: scale(1.05);
}

.boat-title {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.3;
}

.boat-manufacturer {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.boat-price {
  color: #ff4b5c;
  font-weight: 700;
  font-size: 0.95rem;
}

.boat-location {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Column-specific widths */
.col-type {
  width: 70px;
}
.col-image {
  width: 100px;
}
.col-title {
  min-width: 180px;
}
.col-mfr {
  min-width: 140px;
}
.col-year {
  width: 80px;
}
.col-length {
  width: 100px;
}
.col-price {
  min-width: 110px;
}
.col-location {
  min-width: 140px;
}
.col-condition {
  width: 110px;
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS - MOBILE OPTIMIZED
   ============================================================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
  .filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .filter-search {
    grid-column: span 3;
  }

  .filter-actions {
    grid-column: span 3;
  }
}

/* Mobile - 768px */
@media (max-width: 768px) {
  .filters-section {
    padding: 1rem;
    margin: 1rem 0;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .filter-search {
    grid-column: span 1;
  }

  .filter-actions {
    grid-column: span 1;
    flex-direction: row;
    width: 100%;
  }

  .btn-filter {
    flex: 1;
  }

  .btn-reset {
    padding: 0.65rem 1.2rem;
  }

  .results-info {
    font-size: 0.9rem;
  }

  .boat-table-wrapper {
    margin: 1rem auto;
    border-radius: 0;
    max-width: 100%;
  }

  .boat-table {
    min-width: 100%;
  }

  .boat-thumbnail {
    width: 70px;
    height: 52px;
  }

  .boat-table thead th {
    padding: 0.7rem 0.5rem;
    font-size: 0.75rem;
  }

  .boat-table tbody td {
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
  }
}

/* Small Mobile - 480px */
@media (max-width: 480px) {
  .filters-section {
    padding: 0.85rem;
  }

  .filter-input,
  .filter-select {
    font-size: 0.85rem;
    padding: 0.6rem 0.75rem;
  }

  .btn-filter,
  .btn-reset {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  .results-info {
    font-size: 0.85rem;
    padding: 0.5rem 0;
  }

  .boat-table thead th {
    font-size: 0.7rem;
    padding: 0.6rem 0.4rem;
  }

  .boat-table tbody td {
    font-size: 0.8rem;
    padding: 0.6rem 0.4rem;
  }

  .boat-thumbnail {
    width: 60px;
    height: 45px;
  }

  .boat-title {
    font-size: 0.85rem;
  }

  .boat-manufacturer,
  .boat-location {
    font-size: 0.75rem;
  }

  .boat-type-badge,
  .boat-condition {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }

  /* Pagination on small mobile */
  .pagination a {
    margin: 0 2px;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* Directory Filters Section */
.filters-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.6s ease-out;
}

.filters-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.search-group {
  grid-column: span 2;
}

.filter-input,
.filter-select {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: var(--text-primary);
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: #56c1c8;
  box-shadow: 0 0 0 3px rgba(86, 193, 200, 0.1);
}

.filter-input::placeholder {
  color: #94a3b8;
}

.search-input {
  width: 100%;
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn-filter,
.btn-reset {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  white-space: nowrap;
}

.btn-filter {
  background: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 75, 92, 0.3);
}

.btn-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 75, 92, 0.4);
}

.btn-reset {
  background: #f1f5f9;
  color: var(--text-primary);
}

.btn-reset:hover {
  background: #e2e8f0;
}

/* Results Info */
.results-info {
  padding: 1rem 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Boat Type Badge */
.boat-type-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-power {
  background: linear-gradient(135deg, #ff4b5c 0%, #ff6b7a 100%);
  color: white;
}

.badge-sail {
  background: linear-gradient(135deg, #56c1c8 0%, #62b6cb 100%);
  color: white;
}

/* Boat Category */
.boat-category {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* Boat Condition Badge */
.boat-condition {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.condition-new,
.condition-as-new {
  background: #d1fae5;
  color: #065f46;
}

.condition-used,
.condition-good {
  background: #dbeafe;
  color: #1e40af;
}

.condition-very-good,
.condition-well-groomed {
  background: #e0e7ff;
  color: #4338ca;
}

.boat-condition-na {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Enhanced table row hover */
.boat-row {
  transition: all 0.3s ease;
}

.boat-row:hover {
  background: linear-gradient(
    to right,
    rgba(86, 193, 200, 0.05),
    rgba(255, 75, 92, 0.05)
  ) !important;
  cursor: pointer;
}

/* Responsive Filters */
@media (max-width: 1024px) {
  .filters-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-group {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .filters-section {
    padding: 1.5rem;
  }

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

  .search-group {
    grid-column: span 1;
  }

  .filter-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-filter,
  .btn-reset {
    width: 100%;
    justify-content: center;
  }
}

.boat-table-action .view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 50%, #62b6cb 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 75, 92, 0.2);
  white-space: nowrap;
}

.boat-table-action .view-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 75, 92, 0.3);
}

/* Status Badge Styles */
.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-private {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
}

.status-active {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
}

/* Boat Listings Styles */
.boat-listings {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 items per row */
  gap: 20px; /* Space between grid items */
  margin: 20px 0;
  font-family: Oswald;
  opacity: 0; /* Start hidden */
  transform: scale(0.95); /* Slightly smaller at the beginning */
  animation: fadeInZoom 1s ease-in-out forwards; /* Fade in and zoom effect */
  width: 100%; /* Ensure full width of the container */
  padding: 0; /* Remove extra padding */
  box-sizing: border-box; /* Ensure proper sizing */
}

/* Keyframes for animation */
@keyframes fadeInZoom {
  0% {
    opacity: 0;
    transform: scale(0.95); /* Start smaller */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Return to normal size */
  }
}

/* Individual Boat Item */
.boat {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  padding: 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
  box-sizing: border-box; /* Include padding and border in the element’s total width and height */
  overflow: hidden; /* Ensure content does not overflow */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Thumbnail Image with 16:9 Aspect Ratio */
.boat-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9; /* Set the aspect ratio to 16:9 */
  object-fit: cover; /* Ensure the image covers the entire area while maintaining the aspect ratio */
  border-radius: 6px;
  margin-bottom: 10px; /* Space between the image and text */
}

/* CSS */
.boat .price {
  color: #ff4b5c;
  font-weight: 100;
  font-size: 1.2em; /* Adjust as needed */
}

.price-container {
  display: inline; /* Ensures both spans are on the same line */
}

.charter-price {
  font-size: 1.2em; /* Adjust as needed */
  font-weight: 100;
  color: #1f8fff;
}

.price-info {
  font-size: 0.9em; /* Adjust as needed */
  color: #666; /* Adjust color to fit your design */
  margin-left: 0px; /* Adjust space between price and info */
}

.price strong {
  font-weight: 100; /* Change font weight for the strong tag */
}

/* Boat Item Hover Effects */
.boat:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transform: scale(1.05) translateY(-5px);
  background-color: #f8f8f8; /* Slight background color change on hover */
}

.boat h3 {
  margin-top: 0;
  color: #1e2a38;
  font-size: 18px;
  transition: color 0.3s ease;
  font-weight: 100;
}

.boat p {
  margin: 5px 0;
  color: #555;
}

/* Ensure no underline on links within boat items */
.boat a {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Inherit text color from parent */
}

.boat a:hover {
  text-decoration: none; /* Ensure no underline on hover */
}

/* Pagination Styles */
.pagination-section {
  padding: 2rem 0;
  background-color: var(--background-alt);
}

.pagination {
  text-align: center;
  margin: 20px 0;
}

.pagination-link {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  border: 1px solid #1e2a38;
  border-radius: 4px;
  color: #1e2a38;
  text-decoration: none; /* Remove underline */
  background-color: #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.pagination-link:hover {
  background-color: #1e2a38;
  color: #fff;
  transform: scale(1.05); /* Scale effect on hover */
}

.pagination-link.active {
  background-color: #ff4b5c;
  color: #fff;
}

.pagination a {
  display: inline-block;
  margin: 0 5px;
  padding: 10px 15px;
  border: 1px solid #1e2a38;
  border-radius: 4px;
  color: #1e2a38;
  text-decoration: none; /* Remove underline */
  background-color: #fff;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.pagination a:hover {
  background-color: #1e2a38;
  color: #fff;
  transform: scale(1.05); /* Scale effect on hover */
}

.pagination a.active {
  background-color: #ff4b5c;
  color: #fff;
}

/* Responsive Pagination */
@media (max-width: 768px) {
  .pagination {
    padding: 1rem 0;
  }

  .pagination a {
    margin: 0 3px;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .pagination a {
    margin: 0 2px;
    padding: 6px 8px;
    font-size: 0.85rem;
  }
}

/* Boat Info Container */
.boat-info-container {
  color: #444;
  display: grid;
  grid-template-columns: 2fr 1fr;
  font-family: "Oswald", sans-serif;
  gap: 2rem;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 10px 30px rgba(30, 42, 56, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.boat-info-container:hover {
  box-shadow: 0 20px 40px rgba(30, 42, 56, 0.15);
}

/* Left Card (Boat Details) */
.boat-card-left {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 25px rgba(30, 42, 56, 0.08);
  position: relative;
  transition: all 0.4s ease;
  animation: fadeInUp 0.6s ease-out;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.boat-card-left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--accent-color) 50%,
    var(--secondary-color) 100%
  );
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.boat-card-left:hover {
  box-shadow: 0 15px 35px rgba(30, 42, 56, 0.12);
}

.boat-card-left h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 1rem;
  animation: fadeIn 0.5s ease;
}

.boat-card-left h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: 2px;
}

/* Boat Details Styling */
.boat-details {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.boat-details h2 {
  grid-column: 1 / -1;
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.boat-details h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: 1px;
}

.boat-details p {
  margin: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(248, 250, 252, 0.9) 100%
  );
  border-radius: var(--border-radius);
  border-left: 3px solid var(--accent-color);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
  box-shadow: 0 2px 8px rgba(30, 42, 56, 0.05);
}

.boat-details p:hover {
  transform: translateX(5px);
  border-left-color: var(--secondary-color);
  box-shadow: 0 4px 12px rgba(30, 42, 56, 0.1);
}

.boat-details .price-details {
  grid-column: 1 / -1;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.08) 0%,
    rgba(86, 193, 200, 0.08) 100%
  );
  border: 2px solid var(--secondary-color);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.boat-details .price-details strong {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.boat-details .price-details .main-price {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 1.8em;
  line-height: 1.2;
  margin: 0;
}

.boat-details .price-details::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;
}

.boat-details .price-details:hover::before {
  left: 100%;
}

.boat-details .charter-price-details {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(86, 193, 200, 0.3);
}

.boat-details .charter-price-details .charter-amount {
  font-size: 1.6em;
  font-weight: 700;
  color: var(--accent-color);
}

.boat-details .charter-price-details .price-info {
  font-size: 0.8em;
  color: var(--text-secondary);
  font-weight: 500;
}

.boat-card-left strong {
  color: var(--primary-color);
  font-weight: 600;
}

.boat-description {
  grid-column: 1 / -1;
  margin-top: 2rem;
  padding: 2rem;
  background: linear-gradient(
    145deg,
    rgba(248, 250, 252, 0.9) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 15px rgba(30, 42, 56, 0.08);
  line-height: 1.8;
  color: var(--text-primary);
}

.description-label {
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.description-label::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 50%,
    var(--primary-color) 100%
  );
  border-radius: 2px;
}

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

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

/* Boat Card Right */
.boat-card-right {
  background: linear-gradient(
    145deg,
    var(--primary-color) 0%,
    #2a3f54 50%,
    var(--primary-color) 100%
  );
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 12px 30px rgba(30, 42, 56, 0.2);
  color: white;
  transition: all 0.4s ease;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
  border: 1px solid rgba(86, 193, 200, 0.2);
  overflow: hidden;
}

.boat-card-right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 50%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.boat-card-right::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(86, 193, 200, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

/* Card Hover Effect */
.boat-card-right:hover {
  box-shadow: 0 20px 40px rgba(30, 42, 56, 0.3);
}

/* Heading in Boat Card Right */
.boat-card-right h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin: 0 0 2rem 0;
  color: white;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.4;
  padding-bottom: 1rem;
  position: relative;
}

.boat-card-right h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: 1px;
}

/* Paragraphs in Boat Card Right */
.boat-card-right p {
  font-size: 1.05em; /* Slightly larger font size */
  line-height: 1.8; /* Increased line height for better readability */
  margin-bottom: 16px; /* Space between paragraphs */
  color: white; /* White text color */
  text-align: justify; /* Justify text for a cleaner appearance */
}

/* User Info Section */
.boat-card-right .user-info {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  margin: 2rem 0;
  gap: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(86, 193, 200, 0.1) 100%
  );
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
}

.boat-card-right .user-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--secondary-color) 0%,
    var(--accent-color) 100%
  );
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* Profile Picture Styling */
.boat-card-right .user-info .profile-picture {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--accent-color);
  box-shadow: 0 8px 20px rgba(86, 193, 200, 0.3);
  transition: all 0.4s ease;
  position: relative;
}

.boat-card-right .user-info .profile-picture::before {
  content: "";
  position: absolute;
  inset: -3px;
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--accent-color),
    var(--secondary-color)
  );
  border-radius: 50%;
  z-index: -1;
  animation: rotate 3s linear infinite;
}

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

.boat-card-right .user-info .profile-picture:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(86, 193, 200, 0.4);
}

.boat-card-right .user-info .profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* User Details */
.boat-card-right .user-info-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
}

.boat-card-right .user-info-details strong {
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: var(--accent-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.boat-card-right .user-info-details p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  line-height: 1.4;
}

/* Contact Form */
.boat-card-right .contact-form {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.boat-card-right .contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.boat-card-right .contact-form input,
.boat-card-right .contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.boat-card-right .contact-form input:focus,
.boat-card-right .contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(86, 193, 200, 0.2);
  transform: translateY(-2px);
}

/* Submit Button */
.boat-card-right .contact-form button {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.boat-card-right .contact-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.boat-card-right .contact-form button:hover {
  background: linear-gradient(135deg, #e03e4e 0%, var(--secondary-color) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 75, 92, 0.4);
}

.boat-card-right .contact-form button:hover::before {
  left: 100%;
}

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

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

.contact-form {
  font-family: Oswald;
  display: flex;
  flex-direction: column;
  gap: 0px;
  margin-top: 20px;
  width: 100%; /* Ensure the form takes full width */
}

.contact-form label {
  font-weight: 100;
  color: #1e2a38;
}

.contact-form input,
.contact-form textarea {
  font-family: Oswald;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  width: calc(100% - 24px); /* Full width minus padding */
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
  font-family: Oswald;
  border-color: #ff4b5c;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 75, 92, 0.2);
}

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

.contact-form button {
  font-family: Oswald;
  padding: 14px;
  background-color: #ff4b5c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 100;
  width: calc(100% - 0px); /* Match the width of input fields */
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-form button:hover {
  background-color: #1e2a38;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form button:active {
  transform: scale(1);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel {
  position: relative;
  width: 100%;
  margin: 0 0 2rem 0;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 12px 30px rgba(30, 42, 56, 0.15);
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.carousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color) 0%,
    var(--accent-color) 50%,
    var(--secondary-color) 100%
  );
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
  z-index: 2;
}

.carousel-images {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  min-width: 100%;
  flex-shrink: 0;
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  box-sizing: border-box;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  transition: transform 0.6s ease-in-out;
}

.carousel img:hover {
  transform: scale(1.03);
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(
    135deg,
    rgba(30, 42, 56, 0.8) 0%,
    rgba(30, 42, 56, 0.9) 100%
  );
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(30, 42, 56, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.carousel-button:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #e03e4e 100%);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 25px rgba(255, 75, 92, 0.4);
  border-color: rgba(255, 255, 255, 0.6);
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

/* Counter Styles */
.carousel-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: linear-gradient(
    135deg,
    rgba(30, 42, 56, 0.8) 0%,
    rgba(30, 42, 56, 0.9) 100%
  );
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(30, 42, 56, 0.3);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.carousel:hover .carousel-counter {
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--primary-color) 100%
  );
  transform: scale(1.05);
}

/* Compact Login Form Styling */
.login-container {
  background: linear-gradient(135deg, #1e2a38, #2c3e50);
  padding: 60px; /* Reduced padding */
  border-radius: 15px; /* Slightly less rounded corners */
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Reduced shadow size */
  max-width: 500px; /* Reduced max width */
  width: 100%;
  animation: slideInForm 0.8s ease-out;
  margin: 40px auto; /* Center horizontally with space for sticky header */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.login-container:hover {
  transform: translateY(-3px); /* Slight lift on hover */
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4); /* Reduced shadow on hover */
}

.login-form h1 {
  font-size: 40px; /* Reduced heading size */
  color: #f0f4f8;
  margin-bottom: 20px; /* Reduced space below the title */
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 2px; /* Slightly reduced letter spacing */
  text-transform: uppercase;
  animation: fadeInTitle 1.2s ease-out;
}

.login-form label {
  display: block;
  font-size: 18px; /* Reduced font size for labels */
  color: #f0f4f8;
  margin-bottom: 10px; /* Less space below labels */
  font-family: "Lato", sans-serif;
}

.login-form input[type="text"],
.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 12px; /* Reduced padding for input fields */
  margin-bottom: 20px; /* Less space between inputs */
  border: 2px solid transparent;
  border-radius: 8px; /* Less rounded corners for input fields */
  box-sizing: border-box;
  font-size: 15px; /* Reduced input text size */
  color: #333;
  background-color: #f0f4f8;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: "Lato", sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* More subtle shadow for input fields */
}

.login-form input[type="text"]:focus,
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus {
  border-color: #56c1c8;
  outline: none;
  box-shadow: 0 0 8px rgba(86, 193, 200, 0.4); /* Softer focus shadow */
}

.login-form .login-options {
  margin-bottom: 25px; /* Reduced margin */
  text-align: center;
  animation: fadeInOptions 1.5s ease;
}

.login-form .login-options a {
  font-family: Oswald;
  color: #56c1c8;
  text-decoration: none;
  font-weight: 100;
  font-size: 16px; /* Reduced font size */
  transition:
    color 0.3s ease,
    transform 0.3s ease;
  font-family: "Oswald", sans-serif;
}

.login-form .login-options a:hover {
  text-decoration: underline;
  color: #ff6b6b;
  transform: scale(1.05);
}

.login-form p {
  font-family: Oswald;
  font-size: 15px; /* Slightly reduced paragraph text size */
  color: #f0f4f8;
  text-align: center;
  margin-top: 20px;
}

.login-form a {
  color: #56c1c8; /* Turquoise color for links */
  text-decoration: none;
  font-family: Oswald;
  font-weight: 100;
  font-size: 16px; /* Slightly reduced text size for links */
  transition: color 0.3s ease;
}

.login-form a:hover {
  color: #ff6b6b;
}

.login-form button {
  width: 100%;
  padding: 14px; /* Reduced padding for button */
  background-color: #ff4b5c;
  color: #ffffff;
  border: none;
  border-radius: 10px; /* Slightly less rounded corners for button */
  font-size: 18px; /* Reduced button text size */
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-family: "Oswald", sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Reduced shadow size */
}

.login-form button:hover {
  background-color: #c43e43;
  transform: translateY(-2px); /* Slightly smaller lift on hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Subtle shadow effect */
  animation: pulse 1.5s infinite;
}

.login-form .error {
  color: #ff6b6b;
  margin-bottom: 20px; /* Reduced bottom margin */
  text-align: center;
  font-size: 15px; /* Reduced error text size */
  animation: fadeInError 0.8s ease;
}

/* Auth page layout: center content vertically and horizontally */
body.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Centering wrapper for auth pages */
.auth-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px; /* breathing room */
}

body.auth-page .login-container {
  margin: 60px auto; /* center horizontally */
}

@media (min-height: 700px) {
  body.auth-page {
    /* reserve space for sticky header and footer while centering */
    justify-content: center;
  }
  .auth-main {
    padding: 64px 16px;
  }
}

@media (max-width: 600px) {
  body.auth-page .login-container {
    padding: 32px;
    margin: 56px 16px; /* small gutters on mobile */
  }
}

/* Adjusted Animations */
@keyframes slideInForm {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInOptions {
  0% {
    opacity: 0;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInError {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

/* Profile Section Container */
.profile-section {
  font-family: "Bebas Neue", sans-serif;
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #f0f4f8;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  margin-top: 10px;
  animation: fadeIn 1s ease-out;
  flex-direction: column; /* Allows button to be aligned below */
}

/* Profile Container */
.profile-container {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: slideIn 0.8s ease-out;
}

/* Profile Picture */
.profile-container .profile-picture {
  flex-shrink: 0;
  animation: pulse 5s infinite;
}

.profile-container .profile-picture img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover; /* Cover the area */
  border: 5px solid #ff4b5c;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.profile-picture img:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Profile Info */
.profile-info {
  flex: 1;
}

.profile-info h2 {
  font-size: 2em;
  color: #1e2a38;
  margin: 0;
  font-weight: 100;
  margin-bottom: 10px;
  animation: fadeInUp 1s ease-out;
}

.profile-info p {
  font-size: 1.1em;
  margin-bottom: 8px;
  color: #333;
  animation: fadeInUp 1s ease-out;
}

.profile-info p strong {
  color: #ff4b5c;
  font-weight: 100;
}

/* Profile Buttons Container */
.profile-buttons {
  display: flex;
  justify-content: center; /* Center the buttons horizontally */
  gap: 10px; /* Space between the buttons */
  margin-top: 20px;
}

/* Edit Profile and Panel Buttons */
.profile-buttons a,
.profile-buttons button {
  display: inline-block;
  background-color: #ff4b5c;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease-in-out,
    transform 0.3s ease-in-out;
}

.profile-buttons a:hover,
.profile-buttons button:hover {
  background-color: #c43e43;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inquiries Section */
.inquiries-table {
  background-color: white;
  color: #3a3a3a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-family: "Bebas Neue", sans-serif;
  max-width: 1200px;
  margin: 20px auto;
  overflow-x: auto;
  animation: fadeInUp 0.8s ease-in-out;
}

/* Responsive Font Size for Heading */
.inquiries-table h2 {
  color: #ff4b5c;
  font-size: 28px;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.8s ease-in-out;
}

/* Table Structure */
.inquiries-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 600px;
}

/* Table Header & Cell Styling */
.inquiries-table th,
.inquiries-table td {
  padding: 0.75rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #3a3a3a;
}

/* Header Specific Styling */
.inquiries-table th {
  background: linear-gradient(135deg, #ff4b5c 0%, #56c1c8 50%, #62b6cb 100%);
  color: white;
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  font-weight: 600;
}

.inquiries-table th:first-child {
  border-radius: 10px 0 0 0;
}

.inquiries-table th:last-child {
  border-radius: 0 10px 0 0;
}

/* Row Hover & Clickable */
.inquiries-table tbody tr {
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}

.inquiries-table tr:hover {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.06),
    rgba(98, 182, 203, 0.06)
  );
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.inquiries-table tbody tr:last-child td {
  border-bottom: none;
}

.inquiries-table tbody tr:last-child td:first-child {
  border-radius: 0 0 0 10px;
}

.inquiries-table tbody tr:last-child td:last-child {
  border-radius: 0 0 10px 0;
}

.inquiries-table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Centered Paragraphs */
.inquiries-table p {
  text-align: center;
  color: #e74c3c;
  font-size: 18px;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inquiry Details Section */
.inquiry-details {
  background-color: #ffffff; /* Pure white background for a clean look */
  color: #333333; /* Dark gray for text for better contrast */
  padding: 30px; /* Padding around the content */
  border-radius: 12px; /* Rounded corners for a softer appearance */
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
  max-width: 600px; /* Limit width for better email format */
  margin: 40px auto; /* Center the section with ample space */
  font-family: "Bebas Neue", sans-serif; /* Use Bebas Neue font */
  border: 1px solid #e0e0e0; /* Light border for subtle definition */
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease; /* Smooth transition for hover effect */
  overflow: hidden; /* Ensures no overflow beyond rounded corners */
  animation: fadeIn 0.8s ease-in-out; /* Added fade-in animation */
}

/* Hover effect for inquiry details */
.inquiry-details:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
  transform: translateY(-5px); /* Slight upward lift on hover */
}

/* Main heading */
.inquiry-details h2 {
  color: #ff4b5c; /* Elegant red for headings */
  font-size: 36px; /* Larger size for a commanding presence */
  margin-bottom: 20px; /* Space below heading */
  text-align: center; /* Center the heading */
  text-transform: uppercase; /* Uppercase for emphasis */
  letter-spacing: 1px; /* Letter spacing for clarity */
  border-bottom: 2px solid #2c3e50; /* Bottom border for distinction */
  padding-bottom: 10px; /* Padding below the heading */
  animation: slideDown 0.8s ease-in-out; /* Added slide-down animation */
}

/* Label styling */
.inquiry-details .label {
  font-family: "Bebas Neue", sans-serif; /* Consistent font */
  font-weight: 100;
  font-size: 18px; /* Size for labels */
  color: #ff4b5c; /* Bright coral color for labels */
  display: inline-block; /* Inline-block for better layout control */
  margin-bottom: 5px; /* Space below labels */
  animation: fadeInUp 0.8s ease-in-out; /* Added fade-in-up animation */
}

/* Paragraphs */
.inquiry-details p {
  font-family: "Oswald", sans-serif; /* Consistent font */
  font-size: 16px; /* Standard font size for text */
  margin: 10px 0; /* Space between paragraphs */
  line-height: 1.6; /* Increased line height for readability */
  animation: fadeInUp 0.8s ease-in-out; /* Added fade-in-up animation */
}

/* Description styling */
.inquiry-details p:last-child {
  font-size: 18px; /* Larger size for description */
  font-style: italic; /* Italicize description */
  margin-top: 15px; /* Space above description */
  border-left: 4px solid #56c1c8; /* Thicker left border for visual emphasis */
  padding-left: 15px; /* Padding for the description */
  background-color: #eaf6f8; /* Light background for description */
  padding: 15px; /* Padding inside the description */
  border-radius: 5px; /* Rounded corners for description */
  animation: slideInLeft 0.8s ease-in-out; /* Added slide-in-left animation */
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Button Styling */
.view-details-btn {
  width: 100%;
  display: inline-block;
  padding: 8px 15px;
  background-color: #ff6b6b; /* Bright coral */
  color: #fff;
  border: none;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-family: "Bebas Neue", sans-serif;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.view-details-btn:hover {
  background-color: #c43e43; /* Darker shade for hover effect */
  transform: translateY(-2px); /* Slight lift on hover */
}

/* General Container */
.boat-option-container {
  font-family: "Bebas Neue", sans-serif;
  display: flex;
  justify-content: center;
  padding: 20px;
  background: #f0f4f8;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 50px auto;
  animation: fadeInScale 1s ease-out forwards; /* Enhanced fade-in and scale */
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Boat Options Layout */
.boat-option {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* Boat Option Card */
.boat-option-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slightly less shadow for a subtle look */
  width: calc(50% - 10px);
  padding: 20px;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease; /* Smooth transition for hover effect */
  animation: slideIn 0.6s ease-out forwards; /* Shortened animation for subtlety */
}

/* Card Hover Effect */
.boat-option-card:hover {
  transform: translateY(-5px) scale(1.02); /* Subtle lift and scale effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Slightly enhanced shadow */
}

/* Link Styling */
.boat-option-card a {
  text-decoration: none;
  color: inherit;
}

.boat-option-card img {
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintains 16:9 aspect ratio */
  border-radius: 12px;
  margin-bottom: 15px;
  border: 4px solid #ff4b5c; /* Slightly thinner border for subtlety */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease; /* Smooth transition for hover effect */
  object-fit: cover; /* Ensures image covers the container */
}

/* Image Hover Effect */
.boat-option-card img:hover {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow */
}

/* Heading Styling */
.boat-option-card h3 {
  font-size: 1.6em; /* Slightly smaller font size */
  color: #1e2a38;
  margin: 10px 0;
  font-weight: 100;
  animation: fadeInUp 0.8s ease-out forwards; /* Enhanced entrance animation */
}

/* Heading Hover Effect */
.boat-option-card a:hover h3 {
  color: #ff4b5c; /* Accent color on hover */
}

/* Keyframes for Animations */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9); /* Start slightly smaller */
  }
  100% {
    opacity: 1;
    transform: scale(1); /* Final size */
  }
}

@keyframes slideIn {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.publish-boat-form {
  font-family: "Bebas Neue", sans-serif;
  max-width: 100%;
  margin: 10px auto 0;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  animation: fadeIn 0.5s ease-in-out;
}

.publish-boat-form h2 {
  font-size: 28px;
  color: #1e2a38;
  text-align: center;
  margin-bottom: 20px;
}

.publish-boat-form label {
  font-size: 18px;
  color: #1e2a38;
  margin-bottom: 10px;
  display: block;
  font-weight: 100;
  transition: color 0.3s ease;
}

#boat_description {
  height: 150px; /* Adjust height as needed */
  width: 100%; /* Ensures it matches other input fields */
  padding: 12px; /* Matches the padding of other fields */
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

#boat_description:focus {
  border-color: #ff4b5c;
  box-shadow: 0 0 5px rgba(255, 75, 92, 0.5);
  outline: none;
}

.publish-boat-form input[type="text"],
.publish-boat-form input[type="number"],
.publish-boat-form input[type="file"],
.publish-boat-form select,
.publish-boat-form textarea {
  /* Added textarea here */
  -webkit-appearance: none; /* Removes default styling in WebKit browsers */
  appearance: none; /* Removes default styling */
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  margin-bottom: 0px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  resize: vertical; /* Allow vertical resizing for textarea */
}

.publish-boat-form input[type="text"]:focus,
.publish-boat-form input[type="number"]:focus,
.publish-boat-form input[type="file"]:focus,
.publish-boat-form select:focus,
.publish-boat-form textarea:focus {
  /* Added textarea focus here */
  border-color: #ff4b5c;
  box-shadow: 0 0 5px rgba(255, 75, 92, 0.5);
  outline: none;
}

.publish-boat-form input[type="submit"] {
  font-family: Bebas Neue;
  width: 100%;
  background-color: #ff4b5c;
  color: #ffffff;
  padding: 15px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.publish-boat-form input[type="submit"]:hover {
  background-color: #c43e43;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Profile Edit Form Styles */
.profile-edit-form {
  max-width: 1200px;
  margin: 10px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  animation: fadeIn 0.5s ease-in-out;
}

.profile-edit-form h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  color: #1e2a38;
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  color: #1e2a38;
  font-weight: 100;
  margin-bottom: 10px;
  display: block;
  transition: color 0.3s;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="file"],
.form-group select {
  -webkit-appearance: none; /* Removes default styling in WebKit browsers */
  appearance: none; /* Removes default styling */
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  margin-bottom: 10px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  background-color: #fff; /* Matches the input background */
  font-family: "Oswald", sans-serif; /* Match font style */
  color: #1e2a38;
}

.form-group select:focus {
  border-color: #ff4b5c;
  box-shadow: 0 0 5px rgba(255, 75, 92, 0.5);
  outline: none;
}

/* Image Styles */
.form-group img.current-profile-picture {
  max-width: 200px; /* Set a max width for better sizing */
  height: auto;
  margin-top: 10px;
  border-radius: 8px; /* Slightly increased border radius */
  border: 2px solid #ff4b5c; /* Add a border to enhance visibility */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
  transition: transform 0.3s; /* Transition for hover effect */
}

.form-group img.current-profile-picture:hover {
  transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Focused Input */
.form-group input:focus {
  border-color: #ff4b5c;
  box-shadow: 0 0 5px rgba(255, 75, 92, 0.5);
  outline: none;
}

.btn-save-profile {
  font-family: "Bebas Neue", sans-serif;
  width: 100%;
  background-color: #ff4b5c;
  color: #ffffff;
  padding: 15px;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.3s,
    box-shadow 0.3s;
}

.btn-save-profile:hover {
  background-color: #c43e43;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.edit-button-container {
  margin-top: 2rem;
  text-align: center;
}

.edit-button {
  font-family: "Inter", sans-serif;
  background: linear-gradient(
    135deg,
    var(--accent-color) 0%,
    var(--primary-color) 100%
  );
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 8px 20px rgba(86, 193, 200, 0.3);
}

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

.edit-button:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 25px rgba(86, 193, 200, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.edit-button:hover::before {
  left: 100%;
}

.content-section {
  max-width: 1200px; /* Limits the width to maintain readability */
  margin: 10px auto; /* Centers the content with space above and below */
  padding: 20px; /* Adds padding inside the content */
  background-color: #fff; /* Sets the background color to white */
  border-radius: 10px; /* Rounds the corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  font-family: Oswald; /* Sets the font family */
  animation: smoothBounceIn 1s ease-out; /* Enhanced slide-in with bounce */
}

.content-section h2 {
  font-size: 32px; /* Font size for the main heading */
  color: #1e2a38; /* Heading color */
  margin-bottom: 20px; /* Space below the heading */
  animation: fadeInScale 1.2s ease-in-out; /* Smooth fade-in with scale */
}

.content-section h3 {
  font-size: 24px; /* Font size for subsection headings */
  color: #1e2a38; /* Subheading color */
  margin-top: 20px; /* Space above each subsection heading */
  animation: fadeInScale 1.2s ease-in-out; /* Smooth fade-in with scale */
}

.content-section p {
  font-size: 16px; /* Font size for paragraphs */
  color: #333; /* Text color */
  line-height: 1.5; /* Line height for better readability */
  margin-bottom: 15px; /* Space below each paragraph */
  animation: smoothBounceIn 1s ease-out; /* Enhanced slide-in with bounce */
}

.content-section a {
  color: #ff4b5c; /* Link color */
  text-decoration: underline; /* Underlines the links */
  transition:
    color 0.4s,
    transform 0.3s; /* Smooth color and movement change */
}

.content-section a:hover {
  color: #c43e43; /* Darker color on hover */
  transform: translateX(5px); /* Slight movement on hover */
}

.content-section ul {
  margin: 20px 0; /* Adds margin above and below the list */
  padding-left: 20px; /* Ensures indentation for the list */
}

.content-section li {
  margin-bottom: 10px; /* Adds space between list items */
  font-size: 16px; /* Ensures list items match paragraph font size */
  color: #333; /* Matches text color with paragraphs */
}

/* Keyframes for animations */
@keyframes smoothBounceIn {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  60% {
    opacity: 1;
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* OLD COOKIE CONSENT STYLES - COMMENTED OUT FOR NEW DESIGN
#cookie-consent {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1E2A38;
    color: #F0F4F8;
    padding: 15px 20px;
    border-radius: 12px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    max-width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-align: center;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    flex-wrap: nowrap;
}

#cookie-consent p {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

#cookie-consent a {
    display: inline-block;
    background-color: #FF4B5C;
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 6px;
    font-weight: 100;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#cookie-consent a:hover {
    background-color: #C43E43;
    transform: translateY(-3px);
}

#cookie-consent.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

#cookie-consent.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
}
END OLD COOKIE CONSENT STYLES */

/* Loading screen styles */
#loading-screen {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80%;
  /* Width of the loading content */
  max-width: 400px;
  text-align: center;
}

.loading-text {
  font-size: 20px;
  font-family: "Bebas Neue", sans-serif;
  color: #333;
  margin-bottom: 15px;
}

.loading-bar-container {
  width: 100%;
  /* Matches loading content width */
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.loading-bar {
  width: 0;
  height: 10px;
  background-color: #ff4b5c;
  /* Matches your submit button color */
  animation: loading 2s linear infinite;
}

@keyframes loading {
  0% {
    width: 0;
  }

  50% {
    width: 100%;
  }

  100% {
    width: 0;
  }
}

/* OLD FOOTER STYLES - COMMENTED OUT FOR NEW DESIGN
footer {
    background-color: #1E2A38;
    color: #F0F4F8;
    font-family: 'Bebas Neue', sans-serif;
    padding: 20px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content a {
    color: #F0F4F8;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #56C1C8;
}
END OLD FOOTER STYLES */

/* Responsive Design */
@media (max-width: 900px) {
  .navbar {
    display: none;
  }

  /* Menu Container Styles */
  #menu-container {
    display: flex;
    align-items: center; /* Align items vertically centered */
    justify-content: flex-start; /* Align items to the left */
    padding: 15px 10px;
    position: fixed; /* Fix the menu to the left side of the screen */
    left: 0; /* Position the menu at the left */
    top: 0; /* Position the menu at the top */
    z-index: 100; /* Ensure the menu stays on top */
  }

  /* Pseudo-element for background color */
  #menu-container::before {
    content: "";
    position: absolute; /* Position relative to the menu container */
    left: 0; /* Position at the left */
    top: 0; /* Position at the top */
    width: 100vw; /* Full viewport width */
    height: 100%; /* Full height of the container */
    background-color: #1e2a38; /* Dark background color */
    z-index: -1; /* Place behind the menu items */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
  }

  /* Hamburger Menu Styles */
  #hamburger-menu {
    margin-right: 15px; /* Space between the menu and title */
  }

  #hamburger-menu img {
    width: 35px; /* Adjust icon size for better visibility */
    height: 35px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Soft shadow for icons */
    transition: box-shadow 0.3s ease;
  }

  #hamburger-menu img:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
  }

  /* Main Header Styles */
  #main-header {
    margin-left: 10px; /* Space between the icon and the title */
    font-size: 28px; /* Adjust title size */
    color: #f0f4f8; /* Updated softer light color */
    white-space: nowrap;
    transition: color 0.3s ease;
    font-family: Bebas Neue;
  }

  #main-header:hover {
    color: #ff6b6b; /* Bright coral for hover */
  }

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

  /* Dropdown Button Styles */
  .dropdown-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 15px; /* Space between the button and title */
    transition: transform 0.3s ease; /* Animation on hover */
  }

  .dropdown-btn:hover {
    transform: scale(1.05); /* Slight zoom-in effect on hover */
  }

  /* Dropdown Content Styles */
  .dropdown-content {
    position: absolute;
    top: 60px;
    left: 0; /* Align the dropdown to the left */
    background-color: #1e2a38; /* Updated to white for contrast */
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    display: none;
    width: 180px; /* Adjust width */
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a {
    padding: 10px 15px;
    display: block;
    text-align: left;
    text-decoration: none;
    color: white; /* Default text color */
    font-family: "Bebas Neue", sans-serif;
    transition:
      background-color 0.3s ease,
      color 0.3s ease;
  }

  .dropdown-content a:hover {
    background-color: #56c1c8; /* Fresh turquoise for hover */
    color: #ffffff; /* White text for contrast */
  }

  .login-container {
    margin-top: 100px;
  }

  form.filter {
    display: none;
  }

  form .form-row.full-width {
    margin-top: 15px;
  }

  #toggleFormButton {
    font-size: 22px;
    font-family: Bebas Neue;
    display: block; /* Changed to block for full width */
    width: 100%; /* Set to full width */
    margin-top: 68px; /* Keep the margin-top */
    padding: 15px; /* Increased padding for better aesthetics */
    background-color: #ff4b5c; /* Primary color */
    color: white; /* Text color */
    border: none; /* No border */
    border-radius: 4px; /* Slightly rounded corners */
    cursor: pointer; /* Pointer on hover */
    transition:
      background-color 0.3s,
      transform 0.2s; /* Added transform for a hover effect */
  }

  #toggleFormButton:hover {
    background-color: #c43e43; /* Darker shade on hover */
    transform: translateY(-2px); /* Subtle lift effect on hover */
  }

  .hero-section {
    margin-top: 70px;
    padding: 60px 10px; /* Adjust padding on smaller screens */
    min-height: 100vh; /* Ensure it still takes up full viewport height */
  }

  /* Boat Listings Styles */
  .boat-listings {
    margin-top: 15px;
    display: block; /* Ensure the container is block-level */
    min-width: 100%;
  }

  .dealer-container {
    margin-top: 80px;
  }

  .boat {
    min-width: 100%;
    margin-bottom: 10px; /* Space between each listing */
  }

  .carousel-button {
    font-size: 18px; /* Further reduce button size */
    padding: 8px 12px; /* Adjust button size */
  }

  .carousel-caption {
    font-size: 12px; /* Smaller caption font size */
    width: 80%; /* Adjust width for smallest screens */
  }

  .carousel-counter {
    font-size: 10px; /* Further reduce counter font size */
  }

  /* Boat Info Container */
  .boat-info-container {
    flex-direction: column; /* Stack items vertically */
    margin: 20px 0; /* Reduce margin for smaller screens */
    padding: 10px; /* Add padding for better spacing */
    align-items: center; /* Center items */
  }

  /* Card Styling for Left and Right Sections */
  .boat-info-container .boat-card-left,
  .boat-info-container .boat-card-right {
    max-width: 100%; /* Adjust max-width */
    padding: 15px; /* Adjust padding */
    margin-top: 45px; /* Margin for spacing */
    box-shadow: none; /* Remove shadow for a cleaner look */
    font-size: 14px;
  }

  /* Heading Font Size */
  .boat-card-left h2,
  .boat-card-right h2 {
    font-size: 24px; /* Adjust font size for headings */
  }

  /* Boat Details Styling */
  .boat-details {
    font-size: 14px; /* Reduce font size for details */
    display: flex;
    flex-wrap: wrap; /* Enable wrapping */
    gap: 10px; /* Space between items */
  }

  /* Two-column layout for general details */
  .boat-details p {
    flex: 1 1 calc(50% - 10px); /* Two columns with space in between */
  }

  /* Keep price and charter price full width */
  .boat-details .price-details {
    flex: 1 1 100%; /* Full width */
  }

  /* User Info Section Styling */
  .boat-card-right .user-info {
    padding-top: 20px; /* Adjust padding */
  }

  .boat-card-right .user-info p {
    font-size: 0.8em; /* Smaller font size for user info */
  }

  /* Profile Picture Size */
  .boat-card-right .user-info .profile-picture {
    width: 80px; /* Adjust width as needed */
    height: 80px; /* Adjust height as needed */
  }

  .boat-card-right .user-info .profile-picture img {
    width: 100%; /* Fill the container */
  }

  .profile-info h2 {
    font-size: 2em; /* Retained your specified font size */
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow text */
    text-overflow: ellipsis; /* Add ellipsis for overflow text */
    max-width: 100%; /* Ensure it fits within its container */
    padding-right: 20px;
  }

  .profile-info p {
    font-size: 1.1em; /* Retained your specified font size */
    word-wrap: break-word; /* Allows long words to break and wrap to the next line */
    overflow-wrap: break-word; /* Alternative property for compatibility */
    margin: 5px 0; /* Space between paragraphs for better layout */
    padding-right: 20px;
    color: #333; /* Added for consistent readability */
  }

  /* Profile Section Margin */
  .profile-section {
    margin-top: 70px;
    margin-bottom: 0px;
  }

  /* Animations */
  .contact-form input,
  .contact-form textarea {
    animation: fadeIn 0.5s ease-in-out;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .inquiries-table {
    margin-top: 70px;
  }

  .inquiries-table h2 {
    font-size: 20px; /* Even smaller heading for extra small devices */
  }

  .inquiries-table th,
  .inquiries-table td {
    font-size: 12px; /* Smallest font size adjustment */
    padding: 6px 8px; /* Compact padding */
  }

  .inquiries-table table {
    min-width: 320px; /* Minimum width for smaller screens */
  }

  .inquiry-details {
    margin-top: 70px;
  }

  .view-details-btn {
    font-size: 12px; /* Smaller font for smaller screens */
    padding: 6px 10px; /* Adjusted padding for compact display */
  }

  .boat-option-container {
    margin-top: 70px;
  }

  .boat-option {
    flex-direction: row; /* Change to row layout on larger screens */
    flex-wrap: wrap; /* Allow wrapping of cards */
    justify-content: center; /* Center cards horizontally */
    gap: 20px; /* Space between cards */
  }

  .boat-option-card {
    width: 100%; /* Use 90% width on smaller screens */
  }

  /* Mobile override: ensure table thumbnails span the full card width */
  .boat-table tbody td.boat-table-image {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .boat-table-image {
    width: 100% !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
  }

  .boat-table-image img {
    width: 100% !important;
    /* Responsive cap: never smaller than 250px, scales with viewport, max 320px */
    height: clamp(250px, 28vw, 320px) !important;
    object-fit: cover !important;
    border-radius: 12px 12px 0 0; /* match card corners */
    display: block !important;
  }

  .publish-boat-form:first-of-type {
    margin-top: 70px; /* Adjust the margin as needed */
  }

  .pagination a {
    padding: 8px 10px; /* Further reduce padding */
    font-size: 12px; /* Adjust font size for smaller screens */
  }

  .content-section {
    margin-top: 70px;
  }

  #cookie-consent {
    padding: 10px 15px;
    font-size: 14px;
    gap: 10px;
  }

  #cookie-consent p {
    font-size: 14px;
  }

  #cookie-consent a {
    font-size: 14px;
    padding: 5px 12px;
  }

  .footer-content {
    font-size: 16px; /* Slightly smaller text on mobile */
  }

  .footer-content a {
    margin: 0 10px; /* Reduced spacing between links on mobile */
  }
}

/* Boat page: definitive phone layout overrides */
@media (max-width: 640px) {
  /* Fill the phone width and avoid any side scroll */
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Make the boat page container edge-to-edge and single-column */
  .boat-info-container {
    display: block; /* override grid */
    grid-template-columns: none !important;
    width: 100%;
    max-width: none;
    margin: 0; /* no side gutters */
    padding: 0; /* remove inner padding to let cards control spacing */
    border-radius: 0; /* prevent clipped edges on small screens */
    box-shadow: none;
  }

  /* Cards go full width, tight padding, no heavy shadows */
  .boat-card-left,
  .boat-card-right {
    padding: 16px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .boat-card-right {
    margin-top: 12px;
  }

  /* Title sizing on small screens */
  .boat-card-left h2 {
    font-size: 1.5rem;
  }
  .boat-card-right h3 {
    font-size: 1.25rem;
  }

  /* Edge-to-edge carousel */
  .carousel {
    border-radius: 0;
  }
  .carousel img {
    border-radius: 0;
    display: block;
  }
  .carousel-button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .carousel-button.prev {
    left: 8px;
  }
  .carousel-button.next {
    right: 8px;
  }
  .carousel-counter {
    right: 8px;
    bottom: 8px;
    font-size: 0.8rem;
    padding: 6px 10px;
  }

  /* Single-column details and description */
  .boat-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    font-size: 0.95rem;
  }
  .boat-details .price-details {
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
  }
  .boat-details .price-details .main-price {
    font-size: 1.5em;
  }
  .boat-details .charter-price-details {
    border-left: none;
    border-top: 1px solid rgba(86, 193, 200, 0.3);
    padding-left: 0;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
  }
  .boat-details .charter-price-details .charter-amount {
    font-size: 1.3em;
  }
  .boat-description {
    padding: 1rem;
    border-radius: 8px;
  }

  /* User info stacks cleanly */
  .boat-card-right .user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .boat-card-right .user-info .profile-picture {
    width: 72px;
    height: 72px;
  }
  .boat-card-right .user-info-details p {
    font-size: 0.95rem;
  }

  /* Full-width, easy-tap contact form */
  .boat-card-right .contact-form {
    padding: 12px;
  }
  .boat-card-right .contact-form input,
  .boat-card-right .contact-form textarea,
  .boat-card-right .contact-form button {
    width: 100%;
    font-size: 16px; /* prevent iOS zoom */
  }
}

/* =================================================================
   UTILITY CLASSES - For consolidated inline styles
   ================================================================= */

/* Error/Alert Messages */
.error-message {
  color: red;
}

.text-accent {
  color: var(--accent-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.text-success {
  color: green;
}

.text-muted {
  color: gray;
}

/* Image Display Utilities */
.image-preview {
  display: flex;
  flex-wrap: wrap;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.image-gallery-item {
  flex: 0 0 auto;
  text-align: center;
}

.image-container {
  width: 160px;
  height: 90px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Thumbnail Styles */
.thumbnail-preview {
  width: 200px;
  height: 112.5px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Loading Screen */
.loading-screen {
  display: none;
}

/* Section Headers */
.section-header {
  font-size: 18px;
  color: var(--primary-color);
  font-weight: bold;
  text-align: center;
  display: block;
  margin-bottom: 10px;
}

/* Delete Button */
.delete-btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.delete-btn:hover {
  background-color: #e6434f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Link Styles */
.link-accent {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.link-accent:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.link-secondary {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition-fast);
}

.link-secondary:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* Price Badge with Margin */
.price-badge {
  color: #1f8fff;
}

.price-badge-with-margin {
  color: #1f8fff;
  margin-left: 10px;
}

/* Hidden Elements */
.hidden {
  display: none;
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

/* ============================================
   MODERN BOAT DETAILS PAGE STYLES
   ============================================ */

/* Hero Section */
.boat-details-hero {
  background: #ffffff;
  padding: 2rem 0 0;
  position: relative;
  overflow: visible;
}

.boat-details-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.05) 0%,
    rgba(98, 182, 203, 0.05) 100%
  );
  opacity: 1;
}

.boat-details-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  position: relative;
}

.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--primary-color);
}

.boat-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.boat-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary-color);
}

.boat-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.boat-type-badge {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(86, 193, 200, 0.3);
}

.boat-location {
  color: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.boat-location svg {
  color: var(--secondary-color);
}

/* Main Container */
.boat-details-container {
  padding: 3rem 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.boat-details-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

/* Main Content */
.boat-main-content {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Gallery */
.boat-gallery {
  position: relative;
  width: 100%;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #000;
}

.carousel-wrapper {
  display: none; /* Deprecated */
}

/* Redesigned Gallery */
.boat-gallery.redesigned {
  margin-bottom: 2rem;
  background: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.gallery-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.main-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #f1f5f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for better visual appearance */
  object-position: center;
  background: #f1f5f9;
  transition: opacity 0.3s ease;
  display: block;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-arrow:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.prev {
  left: 1rem;
}
.nav-arrow.next {
  right: 1rem;
}

.thumbnails-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-color) transparent;
}

.thumbnails-track::-webkit-scrollbar {
  height: 6px;
}
.thumbnails-track::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 10px;
}

.thumbnail-item {
  flex: 0 0 100px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
  opacity: 0.7;
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-item:hover {
  opacity: 1;
}

.thumbnail-item.active {
  border-color: var(--secondary-color);
  opacity: 1;
  transform: scale(1.05);
}

.carousel-counter {
  display: none;
}

/* Price Section */
.price-section {
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
}

.price-card {
  flex: 1;
  min-width: 200px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius);
  background: #ffffff;
  border: 2px solid var(--border-color);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    var(--secondary-color) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card.primary-price {
  background: linear-gradient(135deg, var(--accent-color) 0%, #3da9b0 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(86, 193, 200, 0.3);
}

.price-card.primary-price::before {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
  opacity: 0.4;
}

.price-card.primary-price:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(86, 193, 200, 0.4);
}

.price-card.primary-price .price-label {
  color: rgba(255, 255, 255, 0.95);
}

.price-card.primary-price .price-amount {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price-card.charter-price {
  background: linear-gradient(135deg, #ff6b7a 0%, var(--secondary-color) 100%);
  border: none;
  box-shadow: 0 4px 16px rgba(255, 75, 92, 0.3);
}

.price-card.charter-price::before {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.6) 100%);
  opacity: 0.4;
}

.price-card.charter-price:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 75, 92, 0.4);
}

.price-card.charter-price .price-label {
  color: rgba(255, 255, 255, 0.95);
}

.price-card.charter-price .price-amount {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: -0.5px;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.85;
  margin-left: 0.25rem;
}

/* Specifications */
.spec-highlights {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.spec-highlights h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.spec-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.spec-item:hover {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.1),
    rgba(98, 182, 203, 0.1)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.1),
    rgba(86, 193, 200, 0.1)
  );
  border-radius: 10px;
  flex-shrink: 0;
}

.spec-icon svg {
  color: var(--secondary-color);
  stroke: var(--secondary-color);
}

.spec-content {
  flex: 1;
}

.spec-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.spec-value {
  font-size: 1.1rem;
  color: #1e2a38;
  font-weight: 600;
}

/* Description */
.description-section {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.description-section h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.description-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
}

/* Full Specs */
.full-specs {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.full-specs h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.specs-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.spec-row:hover {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.05),
    rgba(98, 182, 203, 0.05)
  );
}

.spec-name {
  font-weight: 600;
  color: #495057;
  white-space: nowrap;
}

.spec-dots {
  border-bottom: 2px dotted #dee2e6;
  height: 1px;
  flex: 1;
}

.spec-val {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
  text-align: right;
}

/* Edit Button */
.edit-button-wrapper {
  padding: 2rem;
}

.btn-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(86, 193, 200, 0.3);
}

.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 193, 200, 0.4);
}

/* Sidebar */
.boat-sidebar {
  position: sticky;
  top: 2rem;
}

.contact-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.seller-info {
  padding-bottom: 2rem;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 2rem;
}

.seller-profile {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.seller-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-color);
  box-shadow: 0 4px 12px rgba(86, 193, 200, 0.3);
}

.seller-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seller-details {
  flex: 1;
}

.seller-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.25rem 0;
}

.seller-type {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-view-profile {
  display: block;
  text-align: center;
  padding: 0.75rem;
  background: #f8f9fa;
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
}

.btn-view-profile:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.contact-form-wrapper h3 {
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(86, 193, 200, 0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(86, 193, 200, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(86, 193, 200, 0.4);
}

.no-seller-info {
  text-align: center;
  color: #6c757d;
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .boat-details-grid {
    grid-template-columns: 1fr;
  }

  .boat-sidebar {
    position: static;
  }
}

/* Tablet styles for boat gallery */
@media (max-width: 992px) and (min-width: 769px) {
  .main-image-frame {
    aspect-ratio: 16 / 10;
  }

  .thumbnail-item {
    flex: 0 0 85px;
    height: 60px;
  }

  .nav-arrow {
    width: 38px;
    height: 38px;
  }

  .boat-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .boat-title {
    font-size: 1.75rem;
  }

  .price-section {
    flex-direction: column;
  }

  .price-card {
    min-width: 100%;
  }

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

  .carousel-button {
    width: 40px;
    height: 40px;
  }

  .carousel-button.prev {
    left: 0.5rem;
  }

  .carousel-button.next {
    right: 0.5rem;
  }

  /* Boat Gallery Mobile Styles */
  .boat-gallery.redesigned {
    margin-bottom: 1rem;
  }

  .gallery-wrapper {
    padding: 0.5rem;
    gap: 0.75rem;
  }

  .main-image-frame {
    aspect-ratio: 4 / 3; /* Better aspect ratio for mobile */
    border-radius: 8px;
  }

  .main-image-frame img {
    object-fit: cover;
  }

  .nav-arrow {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
  }

  .nav-arrow.prev {
    left: 0.5rem;
  }

  .nav-arrow.next {
    right: 0.5rem;
  }

  .nav-arrow svg {
    width: 20px;
    height: 20px;
  }

  .thumbnails-track {
    gap: 0.5rem;
    padding-bottom: 0.25rem;
  }

  .thumbnail-item {
    flex: 0 0 70px;
    height: 50px;
    border-width: 2px;
  }

  .thumbnail-item.active {
    transform: scale(1.02);
  }

  /* Boat Details Mobile */
  .boat-details-grid {
    grid-template-columns: 1fr;
  }

  .boat-sidebar {
    position: static;
  }

  .spec-highlights {
    padding: 1.5rem 1rem;
  }

  .spec-highlights h3 {
    font-size: 1.25rem;
  }

  .price-section {
    padding: 1.5rem 1rem;
  }

  .description-section {
    padding: 1.5rem 1rem;
  }

  .full-specs {
    padding: 1.5rem 1rem;
  }
}

/* =================================================================
   DIRECTORY BOAT DETAIL PAGE STYLES
   ================================================================= */

/* Directory Boat Details Container - Separate from listing boat styles */
.directory-boat-details-container {
  padding: 3rem 0;
  background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.directory-boat-details-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

/* Directory Main Content */
.directory-boat-main-content {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Directory Boat Header Section */
.directory-boat-main-content .boat-header-section {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.directory-boat-main-content .boat-title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.directory-boat-main-content .boat-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 700;
}

.directory-boat-main-content .boat-type-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--secondary-color)
  );
  color: #fff;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.directory-boat-main-content .boat-meta-info {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.directory-boat-main-content .meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.95rem;
}

.directory-boat-main-content .meta-item svg {
  flex-shrink: 0;
}

/* Directory Boat Image Section */
.directory-boat-main-content .boat-image-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
}

.directory-boat-main-content .boat-featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Directory Price Section */
.directory-boat-main-content .price-section {
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-color);
}

.directory-boat-main-content .price-card {
  flex: 1;
  min-width: 200px;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius);
  background: #ffffff;
  border: 2px solid var(--border-color);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.directory-boat-main-content .price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent-color) 0%,
    var(--secondary-color) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.directory-boat-main-content .price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.directory-boat-main-content .price-card:hover::before {
  opacity: 1;
}

.directory-boat-main-content .price-card.primary-price {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border: none;
  box-shadow: 0 4px 16px rgba(30, 42, 56, 0.3);
}

.directory-boat-main-content .price-card.primary-price::before {
  background: linear-gradient(90deg, var(--accent-color) 0%, #4dd4d4 100%);
  opacity: 1;
}

.directory-boat-main-content .price-card.primary-price:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(30, 42, 56, 0.4);
}

.directory-boat-main-content .price-card.primary-price .price-label {
  color: rgba(255, 255, 255, 0.95);
}

.directory-boat-main-content .price-card.primary-price .price-amount {
  color: #ffffff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.directory-boat-main-content .price-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.directory-boat-main-content .price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  letter-spacing: -0.5px;
}

/* Directory Boat Description */
.directory-boat-main-content .boat-description-section {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.directory-boat-main-content .boat-description-section h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

.directory-boat-main-content .boat-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #495057;
}

/* Directory Specifications */
.directory-boat-main-content .spec-highlights {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.directory-boat-main-content .spec-highlights h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.directory-boat-main-content .spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.directory-boat-main-content .spec-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.directory-boat-main-content .spec-item:hover {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.1),
    rgba(98, 182, 203, 0.1)
  );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.directory-boat-main-content .spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(255, 75, 92, 0.1),
    rgba(86, 193, 200, 0.1)
  );
  border-radius: 10px;
  flex-shrink: 0;
}

.directory-boat-main-content .spec-icon svg {
  color: var(--secondary-color);
  stroke: var(--secondary-color);
}

.directory-boat-main-content .spec-content {
  flex: 1;
}

.directory-boat-main-content .spec-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.directory-boat-main-content .spec-value {
  font-size: 1.1rem;
  color: #1e2a38;
  font-weight: 600;
}

/* Directory Detailed Specs */
.directory-boat-main-content .detailed-specs {
  padding: 2rem;
  border-bottom: 1px solid #e9ecef;
}

.directory-boat-main-content .detailed-specs h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.directory-boat-main-content .specs-table {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.directory-boat-main-content .spec-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.directory-boat-main-content .spec-row:hover {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.05),
    rgba(98, 182, 203, 0.05)
  );
}

.directory-boat-main-content .spec-name {
  font-weight: 600;
  color: #495057;
  white-space: nowrap;
}

.directory-boat-main-content .spec-dots {
  border-bottom: 2px dotted #dee2e6;
  height: 1px;
  flex: 1;
}

.directory-boat-main-content .spec-val {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
  text-align: right;
}

/* Directory Sidebar */
.directory-boat-sidebar {
  position: sticky;
  top: 2rem;
}

.directory-similar-boats-section {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.directory-similar-boats-section h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.directory-similar-boats-section .similar-boats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.directory-similar-boats-section .similar-boat-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.directory-similar-boats-section .similar-boat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.directory-similar-boats-section .similar-boat-image {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e9ecef;
}

.directory-similar-boats-section .similar-boat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directory-similar-boats-section .similar-boat-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.directory-similar-boats-section .similar-boat-info h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 0;
  font-weight: 600;
}

.directory-similar-boats-section .similar-boat-builder {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

.directory-similar-boats-section .similar-boat-length {
  font-size: 0.875rem;
  color: #6c757d;
  margin: 0;
}

.directory-similar-boats-section .similar-boat-price {
  font-size: 0.95rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin: 0;
}

.directory-similar-boats-section .no-similar-boats {
  text-align: center;
  color: #6c757d;
  padding: 2rem 0;
  font-size: 0.95rem;
}

/* Responsive Design for Directory Boat Page */
@media (max-width: 1024px) {
  .directory-boat-details-grid {
    grid-template-columns: 1fr;
  }

  .directory-boat-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .directory-boat-details-container {
    padding: 2rem 0;
  }

  .directory-boat-main-content .boat-title {
    font-size: 1.5rem;
  }

  .directory-boat-main-content .price-section {
    flex-direction: column;
    padding: 1.5rem;
  }

  .directory-boat-main-content .price-card {
    min-width: 100%;
  }

  .directory-boat-main-content .spec-grid {
    grid-template-columns: 1fr;
  }

  .directory-boat-main-content .spec-highlights {
    padding: 1.5rem;
  }

  .directory-boat-main-content .boat-description-section {
    padding: 1.5rem;
  }

  .directory-boat-main-content .detailed-specs {
    padding: 1.5rem;
  }

  .directory-similar-boats-section {
    padding: 1.5rem;
  }

  .directory-boat-main-content .boat-header-section {
    padding: 1.5rem;
  }
}

/* =================================================================
   DIRECTORY PAGE STYLES
   ================================================================= */

.directory-container {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.directory-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.directory-header h1 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.directory-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.boat-section {
  margin-bottom: 4rem;
}

.boat-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--secondary-color);
  display: inline-block;
}

.boat-table {
  width: 100%;
  background: var(--background-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.boat-table table {
  width: 100%;
  border-collapse: collapse;
}

.boat-table thead {
  background: var(--gradient-bg);
  color: var(--text-light);
}

.boat-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.boat-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.boat-table tbody tr {
  transition: var(--transition);
  cursor: pointer;
}

.boat-table tbody tr:hover {
  background-color: var(--background-alt);
  transform: translateX(4px);
  box-shadow: var(--shadow-light);
}

.boat-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--border-color);
  transition: var(--transition-fast);
}

.boat-table tbody tr:hover .boat-thumbnail {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.boat-title {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
}

.boat-manufacturer {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.boat-price {
  font-weight: 600;
  color: var(--accent-color);
  font-size: 1rem;
}

.boat-location {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.boat-condition {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.condition-new {
  background: linear-gradient(
    135deg,
    rgba(86, 193, 200, 0.2) 0%,
    rgba(86, 193, 200, 0.3) 100%
  );
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.condition-used {
  background: linear-gradient(
    135deg,
    rgba(30, 42, 56, 0.1) 0%,
    rgba(30, 42, 56, 0.2) 100%
  );
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.no-boats {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
  background: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
  .directory-container {
    padding: 0 1rem;
  }

  .directory-header h1 {
    font-size: 2rem;
  }

  .boat-table {
    overflow-x: auto;
  }

  .boat-table table {
    min-width: 800px;
  }

  .boat-section h2 {
    font-size: 1.5rem;
  }
}

/* Empty State Styles */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--background-alt);
  border-radius: var(--border-radius);
  border: 1px dashed var(--border-color);
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.empty-state-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

.empty-state h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.empty-state-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--background-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

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