/* ===== Global Styles ===== */
:root {
  --primary: #277a25;
  --secondary: #ffffff;
  --background: #f9fafb;
  --text: #111827;
  --text-light: #6b7280;
  --white: #a9cd75;
  --border: #d2d2d2;
  --cards: #eaeaea;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Sorts Mill Goudy", serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  min-width: 100%;
}

/* ===== Layout ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  background: linear-gradient(
    360deg,
    rgba(39, 122, 37, 1) 31%,
    rgba(84, 163, 23, 1) 100%
  );
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--secondary);
}

.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url("../img/ToroaHome.png") !important;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100vw;
  padding: 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}

.hero-content {
  flex: 0 0 30%;
  max-width: 60%;
  padding-right: 2rem;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(5px);
}
.hero h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* ===== Sections ===== */
section {
  padding: 5rem 0;
  width: 100%;
  overflow-x: hidden;
}

section:nth-child(even) {
  background: var(--secondary);
}

section h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Fleet Grid ===== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.fleet-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.fleet-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.fleet-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.fleet-card h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-stats2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: var(--primary);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.stat-card2 {
  background: white;
  color: var(--primary);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(39, 122, 37, 0.3);
  display: flex;
  flex-direction: column;
}

.stat-card2 .stat-number {
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.stat-card2 .stat-label {
  min-height: 8rem;
  margin-bottom: 1.5rem;
}

.stat-card2 img {
  margin-top: auto;
  align-self: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* ===== Global Reach Section ===== */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.region-card {
  background: linear-gradient(135deg, var(--primary), #54a317);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.region-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.region-card:hover::before {
  transform: translateX(100%);
}

.region-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* ===== Contact Section ===== */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.map-placeholder {
  /* background: var(--primary); */
  height: 300px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  overflow: hidden;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(
    360deg,
    rgba(39, 122, 37, 1) 31%,
    rgba(84, 163, 23, 1) 100%
  );
  color: white;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(39, 122, 37, 0.3);
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(39, 122, 37, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-secondary2 {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.btn-secondary2:hover {
  background: var(--secondary);
  color: var(--primary);
}

/* ===== Footer ===== */
footer {
  background: linear-gradient(
    360deg,
    rgba(39, 122, 37, 1) 31%,
    rgba(84, 163, 23, 1) 100%
  );
  color: white;
  text-align: center;
  padding: 2rem;
}

#fleet {
  padding: 0; /* Remove section padding */
}

#fleet {
  padding: 0;
}

.fleet-content {
  position: relative;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent),
    url("../img/ToroaFleet.png") center/cover no-repeat;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  /* background-attachment: fixed; */
}

.fleet-content h2,
.fleet-content .section-subtitle {
  color: white;
}

.sustainability-content {
  position: relative;
  /* background-color: #111827; */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent),
    url("../img/ToroaWaves.png") center/cover no-repeat;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  /* background-attachment: fixed; */
}

.sustainability-content h2,
.sustainability-content .section-subtitle {
  color: white;
}

/* .sustainability-content2 {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(39, 122, 37, 1) 31%,
    rgba(84, 163, 23, 1) 100%
  );
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
}

.sustainability-content2 h2,
.sustainability-content2 .section-subtitle {
  color: white;
} */

.cargo-content {
  position: relative;
  /* background-color: #111827; */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent),
    url("../img/ToroaCargo.png") center/cover no-repeat;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
}

.cargo-content h2,
.cargo-content .section-subtitle {
  color: white;
}

.conditions-content {
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 0.5rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-content {
    padding: 2rem;
  }

  section h2 {
    font-size: 2rem;
  }

  .fleet-grid,
  .regions-grid {
    grid-template-columns: 1fr;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .about-stats2 {
    grid-template-columns: 1fr;
  }

  .fleet-content,
  .sustainability-content {
    background-attachment: scroll;
  }
}

@media (max-width: 768px) {
  .hero-content {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.5rem;
    margin: 1rem auto;
    /* background: rgba(255, 255, 255, 0.9); slightly more opaque for readability */
    /* backdrop-filter: blur(8px); */
    text-align: center; /* centers text nicely on mobile */
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    display: inline-block;
    margin-top: 1rem;
  }
}

.map-container {
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.strategic-focus {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.strategic-focus img {
  max-width: 100%;
  height: auto;
}

.img {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  height: auto;
}

/* ===== Hamburger Menu ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 25px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Toggle animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav behavior */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: var(--primary);
    font-size: 1.2rem;
  }
}

/* ===== Modern Contact Section ===== */
.map-full {
  width: 100%;
  height: 400px;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

.contact-block {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  line-height: 1.8;
}

.contact-block h3 {
  color: var(--primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-block p {
  margin: 0.5rem 0;
  color: var(--text);
  font-size: 1.05rem;
}

.contact-block a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-block a:hover {
  text-decoration: underline;
}

/* Buttons inside contact blocks */
.contact-block .btn {
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .map-full {
    height: 300px;
  }
  .contact-block {
    padding: 1.5rem;
  }
}

/* ===== Logo with Image (aligned with text) ===== */
.logo {
  font-family: "Libre Baskerville", serif;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  white-space: nowrap; /* keeps text + logo on one line */
}

.logo-img {
  width: 1.6em; /* scales relative to text */
  height: auto;
  vertical-align: middle;
  object-fit: contain;
  margin-bottom: 2px; /* subtle vertical adjustment */
}

/* ===== Responsive: Smaller on Mobile ===== */
@media (max-width: 768px) {
  .logo {
    font-size: 1.25rem; /* slightly smaller text */
    gap: 0.35rem; /* tighter spacing */
  }

  .logo-img {
    width: 1.3em; /* scales logo down */
    margin-bottom: 1px; /* tweak alignment */
  }
}
