@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  background: white;
  font-family: Inter;
}

/* Header - Animated on Scroll */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  gap: 3rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  width: 50%;
  top: 10px;
  max-width: 800px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.logo-image {
  position: absolute;
  left: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: opacity 0.3s;
  object-fit: contain;
}

.logo-image:hover {
  opacity: 0.8;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  transition: color 0.3s;
}

header.scrolled .logo {
  color: #333;
}

.logo-icon {
  margin: 0 1rem;
  font-size: 1.2rem;
  color: white;
  transition: color 0.3s;
}

header.scrolled .logo-icon {
  color: #333;
}

nav {
  display: flex;
  gap: 3rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

header.scrolled nav a {
  color: #333;
}

nav a:hover {
  color: #0066cc;
}

.hero-wrapper {
  padding: 20px;
  padding-bottom: 0;
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: url("https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1920") */
  background: url("../img/super_yacht.jpg") center/cover;
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.hero-text-main {
  color: white;
  font-size: clamp(5rem, 18vw, 14rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 0.9;
  margin-bottom: 0.2rem;
}

.hero-text-sub {
  color: white;
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 0.9;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: white;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mission Section */
.mission-section {
  padding: 15rem 3rem;
  background: white;
}

.mission-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.mission-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.mission-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #444;
  font-weight: 400;
}

/* Content Section */
.content-section {
  min-height: calc(100vh - 40px);
  padding: 6rem 3rem;
  background: #f5f5f5;
  padding-bottom: 12rem;
}

.content-section-header {
  max-width: 1600px;
  margin: 0 auto;
  margin-bottom: 45px;
}

.content-section-header h2 {
  font-size: 2.5rem;
  color: #333;
}

.content-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 300px;
  gap: 1.5rem;
}

.grid-item {
  border-radius: 1rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  background: white;
  position: relative;
}

.grid-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.grid-item:hover img {
  /* transform: scale(1.05); */
}

/* Text Overlay Cards */
.text-overlay-card {
  position: relative;
}

.text-overlay-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent);
  pointer-events: none;
}

.overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 2.5rem;
  z-index: 2;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 80%;
}

.overlay-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.overlay-description {
  font-size: 0.95rem;
  opacity: 0.95;
  line-height: 1.5;
}

.overlay-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #0066cc;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  width: fit-content;
}

.overlay-btn:hover {
  background: #0066cc;
  color: white;
}

/* Feature Card (Vertical Item) */
.feature-card {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

.feature-card img {
  width: 100%;
  height: 60%;
  object-fit: cover;
}

.feature-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 40%;
  background-color: #fff;
}

.feature-tag {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.feature-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s;
  text-align: center;
  width: fit-content;
  background: #0066cc;
  color: white;
}

.feature-btn:hover {
  background: #0c4d8f;
}

/* Grid Layout - Bento Style */
.item-1 {
  grid-column: 1 / 6;
  grid-row: 1 / 2;
  transition-delay: 0.1s;
}

.item-2 {
  grid-column: 6 / 10;
  grid-row: 1 / 3;
  transition-delay: 0.2s;
}

.item-3 {
  grid-column: 10 / 13;
  grid-row: 1 / 2;
  transition-delay: 0.3s;
}

.item-4 {
  grid-column: 1 / 6;
  grid-row: 2 / 3;
  transition-delay: 0.15s;
}

.item-5 {
  grid-column: 10 / 13;
  grid-row: 2 / 3;
  transition-delay: 0.35s;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 4rem 3rem 2rem;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-logo {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-description {
  font-size: 0.95rem;
  color: #999;
  line-height: 1.6;
  max-width: 300px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #999;
}

.footer-contact svg {
  flex-shrink: 0;
}

.footer-contact a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

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

.footer-legal a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  header,
  header.scrolled {
    width: calc(100% - 20px);
    left: 10px;
    right: 10px;
    transform: none;
    padding: 1rem 1.5rem;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 12px;
  }

  nav {
    display: none;
  }

  .logo-image {
    content: url("/img/logo-black-circle.png");
  }

  .logo,
  .logo-icon {
    color: #333 !important;
  }

  .hero-text-main {
    font-size: 3.5rem;
  }

  .hero-text-sub {
    font-size: 2.5rem;
  }

  .hero {
    height: calc(100vh - 20px);
  }

  .mission-section {
    padding: 4rem 2rem;
  }

  .mission-content h2 {
    font-size: 1.75rem;
  }

  .mission-content p {
    font-size: 1.1rem;
  }

  .content-section {
    margin-top: 10px;
    padding: 4rem 2rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .item-1,
  .item-2,
  .item-3,
  .item-4,
  .item-5 {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .item-2 {
    grid-row: span 2;
  }

  .overlay-content {
    padding: 1.5rem;
  }

  .overlay-title {
    font-size: 1.2rem;
  }

  .footer {
    padding: 3rem 2rem 1.5rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
