/* Global Vessels Database - Maritime Modern Theme */

:root {
  --deep-blue: #001233;
  --mid-blue: #001d3d;
  --ocean-blue: #003566;
  --accent-blue: #00a8e8;
  --white: #ffffff;
  --soft-white: #f8f9fa;
  --glass: rgba(255, 255, 255, 0.1);
}

body {
  background-color: var(--deep-blue);
  color: var(--white);
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

/* Hero Section with Wave & Data Flow */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 120px 0 100px 0;
  background: linear-gradient(180deg, var(--deep-blue) 0%, var(--mid-blue) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 60px;
}

.vessel-grid-hero {
  position: relative;
  z-index: 10;
  width: 100%;
}
.ocean-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: url('https://images.unsplash.com/photo-1439405326854-014607f694d7?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  opacity: 0.3;
  filter: brightness(0.5);
}

/* Wave Animation */
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  z-index: 2;
  min-height: 100px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* Data Stream Effect */
.data-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.data-line {
  position: absolute;
  background: linear-gradient(to right, transparent, rgba(0, 168, 232, 0.4), transparent);
  height: 1px;
  width: 200px;
  animation: flow 10s linear infinite;
}

@keyframes flow {
  0% { transform: translateX(-200px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100vw); opacity: 0; }
}

/* Typography */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 20px rgba(0, 168, 232, 0.5);
}

/* Vessel Cards */
.vessel-section {
  padding: 100px 0;
  background-color: var(--deep-blue);
  position: relative;
  z-index: 10;
}

.vessel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .vessel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .vessel-grid {
    grid-template-columns: 1fr;
  }
}

.vessel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  cursor: pointer;
  transition: all 0.4s ease;
}

.vessel-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.vessel-card:hover .vessel-img-wrapper {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 168, 232, 0.3);
  border-color: var(--accent-blue);
}

.vessel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vessel-card:hover .vessel-img {
  transform: scale(1.1);
}

.vessel-info {
  text-align: center;
  padding: 0 10px;
  background: transparent;
}

.vessel-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vessel-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  font-weight: 300;
}

/* Header Styles */
#header {
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a {
  color: var(--white) !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  color: var(--accent-blue) !important;
}

.btn-login {
  background: var(--accent-blue);
  color: var(--white) !important;
  padding: 8px 25px !important;
  border-radius: 50px;
  margin-left: 30px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-blue);
}

.btn-login:hover {
  background: transparent;
  color: var(--accent-blue) !important;
  box-shadow: 0 0 15px rgba(0, 168, 232, 0.4);
}

/* Footer & Other tweaks */
.section-title h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
}
