@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --primary-navy: #0b2b46;
  --primary-navy-dark: #071c2e;
  --accent-teal: #00a8cc;
  --accent-teal-hover: #008ba8;
  --bg-light: #f4f7f6;
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-muted: #6c757d;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--primary-navy);
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Header & Navbar */
header {
  background-color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 100px;
  height: auto;

}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  font-weight: 600;
  color: var(--primary-navy);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-teal);
  transition: var(--transition);
}

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

.lang-toggle {
  background-color: var(--primary-navy);
  color: var(--text-light);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle:hover {
  background-color: var(--accent-teal);
}

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

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* Main Content Area */
main {
  flex: 1;

  /* Adjust based on header height */
  background: linear-gradient(rgba(11, 43, 70, 0.7), rgba(11, 43, 70, 0.7)), url('./z7766718843593_fa651627f1fd80d7ee99c478a2610e75.jpg') center/cover no-repeat;
}

.page-header {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 4rem 2rem;
  text-align: center;
}

.page-header h1 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

/* Hero Section */
.hero {
  height: auto;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  padding: 0 2rem;
  padding-top: 15px;
  padding-bottom: 15px;
}

.hero h1 {
  font-size: 4rem;
  color: var(--text-light);
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInDown 1s ease;
}

.hero p {
  font-size: 1.5rem;
  max-width: 800px;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
}

/* Quick Links Cards */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin-top: 2rem;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

.card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
  color: var(--text-light);
}

.card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
  border-color: var(--accent-teal);
}

.card i {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.card h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Content Blocks (About, Services) */
.content-block {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.content-block p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #4a5568;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* Fleet Section */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  overflow: auto;
}

.vessel-card {
  background-color: var(--text-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.vessel-img {
  height: 250px;
  background-color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
}

.vessel-img.fortune {
  background: url('./z7766718843593_fa651627f1fd80d7ee99c478a2610e75.jpg') center/cover;
}

.vessel-img.glory {
  background: url('./z7766718843591_a46df6498f45bf673c54e9006b8cf908.jpg') center/cover;
}

.vessel-info {
  padding: 2rem;
}

.vessel-info h3 {
  color: var(--primary-navy);
  font-size: 1.8rem;
  border-bottom: 2px solid var(--accent-teal);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.spec-list {
  list-style: none;
}

.spec-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
}

.spec-list li:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--primary-navy);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr ;
  gap: 3rem;
  overflow: auto;
}

.contact-info {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 3rem;
  border-radius: 8px;
}

.contact-info h2 {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: var(--accent-teal);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.contact-form {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-navy);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.btn-submit {
  background-color: var(--accent-teal);
  color: var(--text-light);
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--accent-teal-hover);
}

/* Footer */
footer {
  background-color: var(--primary-navy-dark);
  color: var(--text-light);
  padding: 3rem 2rem 1rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
}



.footer-logo span {
  color: var(--accent-teal);
}

.footer-contact p {
  color: #a0aec0;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #718096;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bento Grid for About */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.bento-card {
  background-color: var(--text-light);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.bento-card i {
  font-size: 3rem;
  color: var(--accent-teal);
  margin-bottom: 1.5rem;
  display: block;
}

.bento-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.bento-card.full-width {
  grid-column: 1 / -1;
  background: linear-gradient(rgba(11, 43, 70, 0.85), rgba(11, 43, 70, 0.85)), url('https://images.unsplash.com/photo-1579202673506-ca3ce28943ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  color: var(--text-light);
  text-align: center;
}

.bento-card.full-width h2 {
  color: var(--text-light);
}

.bento-card.full-width i {
  color: var(--text-light);
}

/* Services Feature Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-feature-card {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition);
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 43, 70, 0.95) 0%, rgba(11, 43, 70, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform 0.5s ease;
}

.service-feature-card:hover .service-bg {
  transform: scale(1.05);
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.service-content i {
  font-size: 2.5rem;
  color: var(--accent-teal);
  margin-bottom: 1rem;
}

.service-content h3 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Document Content (Text Document Layout) */
.document-content {
  background-color: var(--text-light);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.document-content h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  color: var(--primary-navy);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-teal);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.document-content h2:first-child {
  margin-top: 0;
}

.document-content p {
  font-size: clamp(1rem, 1vw + 0.8rem, 1.15rem);
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.document-content p:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
    padding-top: 1rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

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

  .contact-grid,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card.full-width {
    grid-column: 1;
  }
}
