/* Basic Reset and Core Styles */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&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);
  --gradient-bg: linear-gradient(135deg, #1e2a38 0%, #56c1c8 100%);
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

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

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #e03e4e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

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

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Header Styles */
.main-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 2px 20px rgba(30, 42, 56, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

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

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

.logo {
  width: 40px;
  height: auto;
}

.brand h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
}

.brand h1 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

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

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

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

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width 0.3s ease;
}

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

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

.cta-btn {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.cta-btn:hover {
  background-color: #e03e4e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

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

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

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

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

/* Mobile Navigation */
.mobile-nav {
  display: none;
  background-color: white;
  border-top: 1px solid var(--border-color);
  box-shadow: var(--shadow-medium);
}

.mobile-nav.active {
  display: block;
  animation: slideDown 0.3s ease;
}

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

.mobile-nav-links li {
  border-bottom: 1px solid var(--border-color);
}

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

.mobile-nav-links a:hover {
  background-color: var(--background-alt);
  color: var(--secondary-color);
}

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

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

/* Hero Section */
.hero {
  background: var(--gradient-bg);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

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

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

.hero-content {
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
}

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

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

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

.hero-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-heavy);
}

/* Features Section */
.features {
  padding: 5rem 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: linear-gradient(
    135deg,
    rgba(30, 42, 56, 0.02) 0%,
    rgba(86, 193, 200, 0.03) 100%
  );
  z-index: 1;
}

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

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

.feature-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: 0 8px 25px rgba(30, 42, 56, 0.08);
  transition: all 0.4s ease;
  border: 1px solid rgba(226, 232, 240, 0.5);
  position: relative;
  overflow: hidden;
  animation: subtleFloat 6s ease-in-out infinite;
}

.feature-card:nth-child(2) {
  animation-delay: 2s;
}

.feature-card:nth-child(3) {
  animation-delay: 4s;
}

.feature-card::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;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(30, 42, 56, 0.12);
  animation-play-state: paused;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(20%);
}

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

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 4rem 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.8) 0%,
    rgba(86, 193, 200, 0.3) 100%
  );
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* 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: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

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

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
  color: white;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand div:first-child {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo {
  width: 35px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

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

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

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

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

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

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

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

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

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

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

.cookie-content p {
  margin: 0;
  flex: 1;
  min-width: 250px;
}

.cookie-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;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn:hover {
  background-color: #e03e4e;
}

/* 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;
  }

  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: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* 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: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 10px;
  padding: 25px;
  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 */
  appearance: none; /* Removes default styling */
  padding: 12px;
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.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 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;
}

/* 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 {
  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;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.profile-buttons a: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: #f5f7fa; /* Very light gray background for a fresh look */
  color: #3a3a3a; /* Dark gray for text for better contrast */
  padding: 20px;
  border-radius: 12px; /* Softer rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
  font-family: "Bebas Neue", sans-serif;
  max-width: 1200px;
  margin: 20px auto;
  overflow-x: auto; /* Enable horizontal scrolling if content overflows */
  animation: fadeInUp 0.8s ease-in-out; /* Added fade-in animation */
}

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

/* Table Structure */
.inquiries-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px; /* Ensures table layout doesn't break on smaller screens */
}

/* Table Header & Cell Styling */
.inquiries-table th,
.inquiries-table td {
  padding: 12px 15px; /* Adequate padding for better spacing */
  text-align: left;
  border-bottom: 1px solid #ced4da; /* Light gray for table separation */
  font-size: 16px; /* Font size for table content */
  color: #3a3a3a; /* Dark gray for text */
}

/* Header Specific Styling */
.inquiries-table th {
  background-color: #e3f2fd; /* Very light blue for header background */
  color: #e74c3c; /* Bright coral for headers */
  text-align: center;
  font-size: 18px; /* Header font size */
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Row Hover & Alternate Background Colors */
.inquiries-table tr:hover {
  background-color: #d1e6f4; /* Lighter hover effect */
}

.inquiries-table tbody tr:nth-child(even) {
  background-color: #f9fafb; /* Very light background for even rows */
}

/* Centered Paragraphs */
.inquiries-table p {
  text-align: center;
  color: #e74c3c; /* Bright coral for paragraph text */
  font-size: 18px; /* Font size for paragraphs */
}

/* 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="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 */
  }

  .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 */
  }
}
