:root {
  --costa-navy: #0a2a5e;
  --costa-navy-dark: #051a40;
  --costa-navy-light: #123a7a;
  --costa-gold: #f4b93e;
  --costa-gold-hover: #d9a12a;
  --costa-white: #ffffff;
  --costa-gray-100: #f4f6fa;
  --costa-gray-200: #e6e9f0;
  --costa-gray-500: #6b7280;
  --costa-text: #1a1a2e;
  --costa-font: 'Tajawal', sans-serif;
  --costa-serif: 'Playfair Display', serif;
  --costa-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

body.costa-page {
  font-family: var(--costa-font);
  color: var(--costa-text);
  background: var(--costa-white);
  overflow-x: hidden;
  margin: 0;
}

/* Header */
.costa-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--costa-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.costa-header-inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0;
  gap: 1.5rem;
}

.costa-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  flex-shrink: 0;
  gap: 0.1rem;
}

.costa-logo-img {
  height: 30px;
  width: auto;
  object-fit: contain;
  background: var(--costa-white);
  border-radius: 6px;
  padding: 3px 8px;
}

.costa-logo-tagline {
  color: var(--costa-white);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding-right: 2px;
}

.costa-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  justify-content: center;
}

.costa-nav-link {
  color: var(--costa-white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}

.costa-nav-link:hover,
.costa-nav-link.active {
  color: var(--costa-gold);
}

.costa-btn-gold {
  background: var(--costa-gold);
  color: var(--costa-navy-dark);
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.6rem;
  font-family: var(--costa-font);
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  white-space: nowrap;
}

.costa-btn-gold:hover {
  background: var(--costa-gold-hover);
}

.costa-nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--costa-white);
  font-size: 1.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hero */
.costa-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--costa-navy-dark) url('../assets/ChatGPT Image Jul 1, 2026, 06_21_07 PM.png') center/cover no-repeat;
}

.costa-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(5, 26, 64, 0.88) 0%, rgba(5, 26, 64, 0.5) 45%, rgba(5, 26, 64, 0.18) 100%);
}

.costa-hero-content {
  position: relative;
  z-index: 2;
  padding: 7rem 0 5.5rem;
  max-width: 540px;
  margin-right: 0;
  margin-left: auto;
}

.costa-hero-title {
  font-family: var(--costa-serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--costa-gold);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.25;
}

.costa-hero-desc {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.85;
  margin: 0 0 1.75rem;
}

.costa-hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
}

.costa-hero-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  min-width: 90px;
}

.costa-hero-feature i {
  font-size: 1.5rem;
  color: var(--costa-gold);
}

.costa-hero-feature span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
}

.costa-hero-badge {
  position: absolute;
  z-index: 3;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(5, 26, 64, 0.55);
  border: 1px solid var(--costa-gold);
  border-radius: var(--costa-radius);
  padding: 0.75rem 1.1rem;
  backdrop-filter: blur(2px);
  max-width: 260px;
}

.costa-hero-badge i {
  font-size: 1.6rem;
  color: var(--costa-gold);
  flex-shrink: 0;
}

.costa-hero-badge-text {
  display: flex;
  flex-direction: column;
  color: var(--costa-white);
}

.costa-hero-badge-text strong {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.1rem;
}

.costa-hero-badge-text span {
  font-size: 0.68rem;
  opacity: 0.85;
  line-height: 1.4;
}

/* About Section */
.costa-about {
  background: var(--costa-gray-100);
  padding: 3rem 0;
}

.costa-about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 0.95fr;
  gap: 1.75rem;
  align-items: stretch;
}

.costa-about-image {
  border-radius: 8px;
  overflow: hidden;
}

.costa-about-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.costa-about-content h2 {
  font-family: var(--costa-serif);
  font-size: 1.75rem;
  color: var(--costa-navy);
  margin: 0 0 0.85rem;
}

.costa-about-content p {
  color: var(--costa-gray-500);
  line-height: 1.9;
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}

/* Timeline (white card) */
.costa-timeline-card {
  background: var(--costa-white);
  border: 1px solid var(--costa-gray-200);
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
}

.costa-timeline-card h3 {
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
  color: var(--costa-navy);
  font-weight: 800;
}

.costa-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.costa-timeline::before {
  content: '';
  position: absolute;
  right: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--costa-gold);
  opacity: 0.5;
}

.costa-timeline li {
  position: relative;
  padding-right: 2rem;
  padding-bottom: 1.1rem;
}

.costa-timeline li:last-child {
  padding-bottom: 0;
}

.costa-timeline li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--costa-gold);
  border: 3px solid var(--costa-white);
  box-shadow: 0 0 0 1px var(--costa-gray-200);
  z-index: 1;
}

.costa-timeline-year {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--costa-navy);
  margin-bottom: 0.15rem;
}

.costa-timeline-text {
  font-size: 0.76rem;
  color: var(--costa-gray-500);
  line-height: 1.5;
}

/* Section Titles */
.costa-section {
  padding: 3rem 0;
}

.costa-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--costa-navy);
  margin: 0 0 2rem;
}

.costa-title-line {
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: var(--costa-gold);
  opacity: 0.7;
}

/* Why Grid */
.costa-why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.costa-why-item {
  text-align: center;
  padding: 0 0.5rem;
}

.costa-why-item i {
  font-size: 1.9rem;
  color: var(--costa-navy);
  margin-bottom: 0.85rem;
  display: block;
}

.costa-why-item h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--costa-navy);
  margin: 0 0 0.4rem;
}

.costa-why-item p {
  font-size: 0.72rem;
  color: var(--costa-gray-500);
  margin: 0;
  line-height: 1.55;
}

/* Ships Grid */
.costa-ships {
  background: var(--costa-gray-100);
}

.costa-ships-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.costa-ship-card {
  background: var(--costa-white);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--costa-gray-200);
  transition: transform 0.2s, box-shadow 0.2s;
}

.costa-ship-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(10, 42, 94, 0.12);
}

.costa-ship-card-img {
  width: 100%;
  height: 155px;
  object-fit: cover;
  display: block;
}

.costa-ship-card-body {
  padding: 0.85rem 0.75rem 1rem;
  text-align: center;
}

.costa-ship-card h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--costa-navy);
  margin: 0 0 0.3rem;
}

.costa-ship-card p {
  font-size: 0.72rem;
  color: var(--costa-gray-500);
  margin: 0;
  line-height: 1.45;
}

/* Destinations Grid */
.costa-dest-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.costa-dest-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 175px;
  cursor: pointer;
}

.costa-dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

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

.costa-dest-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 26, 64, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.5rem 0.9rem;
  text-align: center;
}

.costa-dest-title {
  color: var(--costa-white);
  font-weight: 700;
  font-size: 0.85rem;
}

.costa-dest-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.64rem;
  margin-top: 0.2rem;
}

/* Audience Section */
.costa-audience-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.25rem;
  align-items: stretch;
}

.costa-audience-card {
  background: var(--costa-gray-100);
  border-radius: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  padding: 1.5rem 1rem;
}

.costa-audience-item {
  text-align: center;
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.costa-audience-item i {
  font-size: 1.8rem;
  color: var(--costa-navy);
  margin-bottom: 0.55rem;
  display: block;
}

.costa-audience-item h4 {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--costa-navy);
  margin: 0 0 0.35rem;
}

.costa-audience-item p {
  font-size: 0.7rem;
  color: var(--costa-gray-500);
  margin: 0;
  line-height: 1.5;
}

.costa-cta-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
}

.costa-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.costa-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 26, 64, 0.9) 40%, rgba(5, 26, 64, 0.4) 100%);
}

.costa-cta-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem 1.5rem;
  color: var(--costa-white);
}

.costa-cta-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.costa-cta-content p {
  font-size: 0.82rem;
  opacity: 0.9;
  margin: 0 0 1.25rem;
  line-height: 1.6;
  max-width: 380px;
}

/* Footer */
.costa-footer-top {
  background: var(--costa-navy);
  padding: 1.5rem 0;
  border-top: 3px solid var(--costa-gold);
}

.costa-footer-inner {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.costa-footer-stats-grid {
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-between;
  max-width: 780px;
  gap: 1.25rem;
}

.costa-footer-stat {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--costa-white);
}

.costa-footer-stat i {
  font-size: 1.5rem;
  color: var(--costa-gold);
}

.costa-footer-stat-text strong {
  display: block;
  font-size: 0.86rem;
}

.costa-footer-stat-text span {
  font-size: 0.72rem;
  opacity: 0.75;
}

.costa-footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-decoration: none;
  flex-shrink: 0;
}

.costa-footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  background: var(--costa-white);
  border-radius: 6px;
  padding: 3px 8px;
}

.costa-footer-tagline {
  color: var(--costa-white);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.costa-footer-copy-bar {
  background: var(--costa-navy-dark);
  padding: 0.85rem 0;
  text-align: center;
}

.costa-footer-copy {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  margin: 0;
}

/* Mobile Nav */
.costa-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 26, 64, 0.97);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.costa-mobile-nav.open {
  display: flex;
}

.costa-mobile-nav .costa-nav-link {
  font-size: 1.2rem;
}

.costa-mobile-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: none;
  border: none;
  color: var(--costa-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1199px) {
  .costa-ships-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .costa-dest-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .costa-why-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1.75rem;
  }

  .costa-audience-grid {
    grid-template-columns: 1fr;
  }

  .costa-audience-card {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 991px) {
  .costa-nav {
    display: none;
  }

  .costa-nav-toggle {
    display: block;
  }

  .costa-about-grid {
    grid-template-columns: 1fr;
  }

  .costa-hero-badge {
    position: static;
    margin: 1.25rem auto 0;
    max-width: 100%;
  }

  .costa-footer-inner {
    justify-content: center;
    text-align: center;
  }

  .costa-footer-stats-grid {
    justify-content: center;
    max-width: 100%;
    flex: none;
    width: 100%;
  }

  .costa-footer-logo {
    align-items: center;
  }
}

@media (max-width: 767px) {
  .costa-hero-content {
    max-width: 100%;
    padding: 6.5rem 0 2rem;
  }

  .costa-ships-grid,
  .costa-dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .costa-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .costa-audience-card {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.25rem;
  }

  .costa-header .costa-btn-gold {
    display: none;
  }
}

@media (max-width: 480px) {
  .costa-ships-grid,
  .costa-dest-grid,
  .costa-why-grid {
    grid-template-columns: 1fr;
  }

  .costa-audience-card {
    grid-template-columns: 1fr;
  }
}
