@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap");

:root {
  --deep-blue: #002b5b;
  --white: #ffffff;
  --accent-orange: #fc8f1a; /* Renamed for clarity */
  --light-blue: #f0f5f9;
  --text-gray: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--deep-blue);
  line-height: 1.6;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 92%;
  max-width: 1300px;
  margin: 20px auto 0;
  padding: 12px 30px;

  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: sticky;
  top: 20px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo span {
  color: #d37818;
}

.logo-container,
.nav-right {
  flex: 1;
  display: flex;
}

.logo {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--deep-blue);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.nav-center {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex: 2;
}

.nav-center a {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: var(--deep-blue);
  transition: 0.3s;
  position: relative;
}

.nav-center a span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-orange);
  transition: width 0.3s ease;
}

/* Combined Hover States */
.nav-center a:hover {
  color: var(--accent-orange);
}

.nav-center a:hover span::after {
  width: 100%;
}

@media (max-width: 768px) {
  /* Navigation Fix */
  nav {
    width: 95%;
    padding: 10px 20px;
    border-radius: 30px;
  }

  .nav-center {
    display: none; 
  }

  .nav-right {
    display: none; 
  }

  .hero {
    padding-top: 140px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem; 
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .learn-btn, .contact-btn {
    width: 100%; 
    text-align: center;
  }

  .about-gallery {
    grid-template-columns: 1fr;
  }

  .img-small-top {
    height: 250px;
  }

  .section, .sail-section {
    padding: 60px 5%;
  }

  .cta-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .cta-content {
    padding: 40px 20px;
    text-align: center;
  }

  .cta-content p {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
}


/* Hero Section */
.hero {
  min-height: 102vh;
  margin: -100px 0 0;
  padding: 120px 8% 0;
  background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.7)), 
              url("ferry_cleaned.png") center/cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.partner-tag {
  color: var(--accent-orange);
  text-transform: uppercase;
  font: 800 0.85rem "Inter", sans-serif;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.hero-text {
  color: #fff;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.15rem;
  margin-bottom: 35px;
  opacity: 0.9;
}

.btn-download {
  font: 600 14px "Montserrat", sans-serif !important;
  background: var(--accent-orange);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}

.btn-download:hover {
  background: #e57d15;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(252, 143, 26, 0.4);
}

.btn-download:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(252, 143, 26, 0.4);
}

.hero-btns {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Base styles for both buttons */
.learn-btn, .contact-btn {
  font: 600 14px "Montserrat", sans-serif !important;
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-orange);
  color: #fff !important;
}

.learn-btn {
  background: var(--accent-orange);
}

.contact-btn {
  background: transparent;
}

.learn-btn:hover, .contact-btn:hover {
  transform: translateY(-3px);
  background: #e57d15;
  border-color: #e57d15;
}

.learn-btn:hover {
  box-shadow: 0 6px 15px rgba(252, 143, 26, 0.4);
}

.contact-btn:hover {
  box-shadow: 0 6px 15px rgba(252, 143, 26, 0.2);
}

.learn-btn:active, .contact-btn:active {
  transform: translateY(-1px);
}

/* Update this block */
.phone-mockup {
  width: 280px;
  height: 550px;
  background: #111;
  border-radius: 40px;
  border: 8px solid #333;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  transform: rotateY(-25deg) rotateX(10deg);
  overflow: hidden;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.phone-container:hover .phone-mockup {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.phone-container {
  perspective: 1100px;
  display: flex;
  justify-content: flex-end;
  padding-right: 100px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  padding: 0;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* About Section Improvements */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 25px;
}

.img-large {
  grid-row: span 2;
}

.img-large img,
.img-small-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.img-small-top {
  height: 350px;
}

.experience-badge {
  background: #1d2e54;
  color: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.experience-badge h3 {
  font-size: 3rem;
  font-family: "Montserrat", sans-serif !important;
}

.experience-badge p {
  font-size: 0.9rem;
  margin: 0;
}

/* Text Box Styling */
.about-text-box {
  background-color: #f4f7f9;
  padding: 60px;
  border-radius: 30px;
}

.about-text-box h2 {
  font-size: 36px;
  margin: 15px 0 25px;
  line-height: 1.2;
}

.about-text-box p {
  color: #666;
  margin-bottom: 30px;
}

/* Feature List */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.about-features li {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check {
  background: var(--accent-orange);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-style: normal;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 50px;
  }

  .hero-btns {
    justify-content: center; 
  }

  .phone-container {
    justify-content: center;
    padding-right: 0; 
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .about-text-box {
    padding: 40px 20px;
  }
}

.sail-section {
  background-color: #f9fbff;
  padding: 100px 8%;
}

.sail-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.sail-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.sail-text h2 {
  font-family: "Montserrat", sans-serif !important;
  font-size: 3.5rem;
  color: var(--deep-blue);
  margin-bottom: 25px;
  font-weight: 800;
}

.sail-text p {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
}


.destination-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.destination-tags span {
  background: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--deep-blue);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* Map Image Styling */
.sail-map {
  position: relative;
  text-align: center;
}

.map-img {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Responsive */
@media (max-width: 968px) {
  .sail-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .destination-tags {
    justify-content: center;
  }
}

/* Reusable Section styling */
.section {
  padding: 100px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-title hr {
  width: 50px;
  border: 2px solid var(--accent-orange);
  margin: 0 auto;
}

/* Schedules Table */
.schedule-container {
  overflow-x: auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.scrollable-table {
  height: 400px;
  width: 100%;
  overflow-y: auto;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
}

.rates-table th {
  position: sticky;
  top: 0;
  background: var(--deep-blue);
  color: white;
  padding: 18px;
  text-align: left;
  z-index: 2;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.rates-table th {
  background: var(--deep-blue);
  color: white;
  padding: 18px;
  text-align: left;
}

.rates-table td {
  padding: 16px;
  border-bottom: 1px solid #edf2f7;
  font-size: 0.95rem;
}

.rates-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.rates-table tbody tr:nth-child(odd) {
  background-color: #ffffff;
}

.rates-table tbody tr:hover {
  background-color: var(--light-blue) !important;
  transition: background-color 0.2s ease;
}

.rates-table th {
  position: sticky;
  top: 0;
  background: var(--deep-blue);
  color: white;
  z-index: 2;
}

/* --- Rates Grid --- */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.rate-card {
  position: relative;
  height: 450px;
  border-radius: 35px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}

.rate-card:hover {
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  z-index: 10;
}

.rate-image {
  width: 100%;
  height: 100%;
}

.rate-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rate-card:hover .rate-image img {
  transform: scale(1.08);
}

.rate-info {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  background-color: #f4f7f9;
  padding: 15px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rate-info h3 {
  font-family: "Montserrat", sans-serif !important;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 5px;
  margin-top: 10px;
  text-transform: none;
}

.rate-info .price {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin-bottom: 15px;
}

.contact-cta-section {
  padding: 20px 8%;
  background-color: #f4f7f9;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  background: white;
  border-radius: 40px;
  overflow: hidden;
  max-width: 2000px;
  margin: 0 auto;
  height: 250px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.cta-content {
  padding: 65px 60px;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.cta-content h2 {
  font-size: 1.8rem;
  color: var(--deep-blue);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 800;
}

.cta-content p {
  margin: 0;
  color: var(--text-gray);
  line-height: 1.5;
  width: 90%;
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 968px) {
  .cta-card {
    grid-template-columns: 1fr;
    height: auto;
  }
  .cta-image {
    height: 250px;
  }
}

/* Responsive for Mobile */
@media (max-width: 968px) {
  .cta-card {
    grid-template-columns: 1fr;
  }

  .cta-content {
    padding: 40px;
    text-align: center;
  }

  .cta-content p {
    margin: 0 auto;
  }

  .cta-image {
    height: 250px;
  }
}

/* Footer Overhaul */
footer {
  background: var(--deep-blue);
  color: white;
  padding: 60px 8% 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-partner-container {
  display: flex;
  align-items: center;
  gap: 45px;
  margin-top: 40px;
}

.brands-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.logo-main {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-family: "Montserrat", sans-serif !important;
  color: white;
  line-height: 1.2;
}

.logo-main span {
  display: block; 
  color: var(--accent-orange);
  font-size: 0.9rem;
  font-weight: 600; 
}

.logo-main img {
  width: 35px;
  margin-right: 12px;
}


.powered-by-stack {
  display: flex;
  align-items: center;
}

.vertical-line {
  width: 1px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 40px;
  flex-shrink: 0; 
}

.powered-content {
  display: flex;
  flex-direction: column;
}

.powered-text {
  font-size: 0.65rem !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.5;
  margin-bottom: 5px !important;
  color: white;
  font-family: "Montserrat", sans-serif !important;
}

.arielus-logo {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.8;
  font-family: "Montserrat", sans-serif !important;
}

.arielus-logo img {
  height: 20px;
}

.footer-contact h4 {
  font-family: "Montserrat", sans-serif !important;
  margin-bottom: 20px;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.footer-contact p {
  font-family: "Montserrat", sans-serif !important;
  margin-bottom: 12px;
  font-size: 14px;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px;
  opacity: 0.6;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .brand-partner-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .vertical-line {
    display: none;
  }
}