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

:root {
  --color-dark-blue: #1a3a52;
  --color-light-blue: #2c5aa0;
  --color-gold: #d4a574;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-text: #333333;
  --color-border: #e0e0e0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-light-gray);
}

/* NAVBAR */
.navbar {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-light-blue) 100%);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.navbar-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.navbar nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.navbar nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

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

.navbar nav a:hover::after {
  width: 100%;
}

.btn-whatsapp-nav {
  background: linear-gradient(135deg, #25D366 0%, #20ba58 100%);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-light-blue) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.15;
  z-index: 0;
}

.boat-images-carousel {
  display: flex;
  height: 100%;
  animation: carouselScroll 15s linear infinite;
}

.boat-image {
  flex: 0 0 33.333%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes carouselScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="wave" x="0" y="0" width="120" height="120" patternUnits="userSpaceOnUse"><path d="M0,60 Q30,30 60,60 T120,60" stroke="rgba(255,255,255,0.05)" fill="none" stroke-width="2"/></pattern></defs><rect width="1200" height="600" fill="url(%23wave)"/></svg>');
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  font-weight: 300;
  opacity: 0.95;
}

/* SEARCH CARD */
.search-card {
  background-color: var(--color-white);
  color: var(--color-text);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(26, 58, 82, 0.2);
  padding: 2rem;
  margin-top: 2rem;
  animation: slideUp 0.6s ease-out;
}

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

/* TABS */
.tabs {
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 1.5rem;
  gap: 0;
}

.tabs .tab {
  background-color: transparent;
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.tabs .tab:hover {
  color: var(--color-light-blue);
}

.tabs .tab.active {
  color: var(--color-light-blue);
  border-bottom-color: var(--color-gold);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
  display: block;
}

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

/* SEARCH ROW */
.search-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.search-row select,
.search-row input {
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1.5px solid var(--color-border);
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 140px;
}

.search-row select:focus,
.search-row input:focus {
  outline: none;
  border-color: var(--color-light-blue);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.search-row button {
  padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--color-light-blue) 0%, var(--color-dark-blue) 100%);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.search-row button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44, 90, 160, 0.4);
}

.search-row button:active {
  transform: translateY(0);
}

/* RESULTS SECTION */
.results {
  padding: 3rem 2rem;
  background-color: var(--color-white);
}

.results h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--color-dark-blue);
  text-align: center;
  font-weight: 700;
}

.gallery-container,
.results-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* BOAT CARD */
.boat-card {
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(26, 58, 82, 0.1);
  overflow: hidden;
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.boat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(26, 58, 82, 0.15);
  border-color: var(--color-gold);
}

.boat-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.boat-card h3 {
  font-size: 1.2rem;
  margin: 1rem 1rem 0.4rem;
  color: var(--color-dark-blue);
  font-weight: 700;
}

.boat-card p {
  font-size: 0.85rem;
  margin: 0.3rem 1rem;
  line-height: 1.5;
  color: var(--color-text);
}

.boat-card p strong {
  color: var(--color-light-blue);
  font-weight: 600;
}

.btn-whatsapp {
  display: block;
  background: linear-gradient(135deg, #25D366 0%, #20ba58 100%);
  color: var(--color-white);
  padding: 0.8rem 1.2rem;
  text-align: center;
  text-decoration: none;
  margin: 1rem 1rem 0;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--color-dark-blue) 0%, var(--color-light-blue) 100%);
  color: var(--color-white);
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

footer p {
  margin: 0.3rem 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .navbar-logo {
    height: 40px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .navbar nav {
    gap: 1rem;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

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

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .search-card {
    padding: 1.5rem;
    margin-top: 1.5rem;
  }

  .tabs {
    flex-direction: column;
    margin-bottom: 1rem;
  }

  .tabs .tab {
    padding: 0.7rem 1rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .tabs .tab.active {
    border-left-color: var(--color-gold);
    border-bottom-color: transparent;
  }

  .search-row {
    flex-direction: column;
  }

  .search-row select,
  .search-row input,
  .search-row button {
    width: 100%;
  }

  .gallery-container,
  .results-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .results {
    padding: 2rem 1.5rem;
  }

  .results h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .boat-card h3 {
    font-size: 1.1rem;
    margin: 0.8rem 0.8rem 0.3rem;
  }

  .boat-card p {
    font-size: 0.8rem;
    margin: 0.2rem 0.8rem;
  }

  .btn-whatsapp {
    padding: 0.7rem 1rem;
    margin: 0.8rem 0.8rem 0;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .navbar .logo-text {
    font-size: 1rem;
  }

  .navbar-logo {
    height: 35px;
  }

  .hero {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .search-card {
    padding: 1rem;
    margin-top: 1rem;
  }

  .tabs .tab {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .boat-card img {
    height: 150px;
  }

  .boat-card h3 {
    font-size: 1rem;
    margin: 0.7rem 0.7rem 0.2rem;
  }

  .boat-card p {
    font-size: 0.75rem;
    margin: 0.2rem 0.7rem;
  }

  .btn-whatsapp {
    padding: 0.6rem 0.8rem;
    margin: 0.6rem 0.7rem 0;
    font-size: 0.7rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.75rem;
  }

  footer p {
    margin: 0.2rem 0;
  }
}

