/* =========================================================
   TANGIMOANA PEST CONTROL - FISHING CHARTERS
   Main website stylesheet
   ========================================================= */

:root {
  --bg: #030a10;
  --bg-light: #071823;
  --panel: #0a202d;
  --panel-2: #0c2938;
  --blue: #079fe3;
  --blue-light: #25b9f4;
  --white: #f4f7f9;
  --muted: #aebdc6;
  --line: rgba(80, 170, 210, 0.25);
  --green: #22b861;
  --red: #c94b4b;
  --grey: #253b47;
  --max: 1250px;
  --radius: 10px;
  --shadow: 0 15px 45px rgba(0,0,0,.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,157,222,.08), transparent 28%),
    radial-gradient(circle at 85% 50%, rgba(0,157,222,.06), transparent 30%),
    var(--bg);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 76px;
  background: rgba(2, 9, 14, .94);
  border-bottom: 1px solid rgba(80,170,210,.15);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 40px), 1320px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  height: 64px;
  width: 210px;
  flex-shrink: 0;
  overflow: hidden;
}

/*
  IMPORTANT:
  The logo itself is square. We deliberately constrain its
  DISPLAY BOX so it cannot cover the page.
*/
.brand img {
  width: 150px;
  height: 62px;
  object-fit: contain;
  object-position: center;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav a {
  position: relative;
  padding: 28px 0 24px;
  color: #e7edf0;
  font-size: 14px;
  font-weight: 700;
  transition: color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  height: 2px;
  background: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 9px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #0da9eb, #087fc0);
  box-shadow: 0 7px 24px rgba(0, 157, 222, .24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #24b9f5, #0794d4);
}

.btn-outline {
  border-color: var(--blue);
  background: rgba(0, 120, 175, .06);
}

.btn-outline:hover {
  background: rgba(0, 159, 227, .15);
}

.header-book {
  min-width: 145px;
}

.mobile-menu {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-boat.jpg");
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(2,8,13,.98) 0%,
      rgba(2,8,13,.86) 30%,
      rgba(2,8,13,.48) 57%,
      rgba(2,8,13,.18) 100%),
    linear-gradient(0deg,
      rgba(2,8,13,.92) 0%,
      transparent 28%,
      rgba(2,8,13,.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 85px 0 80px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 4px;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(55px, 7vw, 96px);
  line-height: .92;
  letter-spacing: -2px;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero-subtitle {
  margin: 22px 0 25px;
  color: #fff;
  font-size: 19px;
  letter-spacing: 9px;
  font-weight: 600;
}

.hero-lead {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 26px;
  color: #e0e7eb;
  font-size: 16px;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 92px 0;
  border-top: 1px solid rgba(80,170,210,.12);
}

.charter-section {
  background:
    radial-gradient(circle at 80% 50%, rgba(0,159,227,.09), transparent 35%),
    #041018;
}

.gallery-section {
  background: #06141e;
}

.pricing-section {
  background: #041018;
}

.bookings-section {
  background:
    radial-gradient(circle at 15% 60%, rgba(0,159,227,.09), transparent 32%),
    #06151f;
}

.full-gallery {
  background: #041018;
}

.contact-section {
  background:
    linear-gradient(rgba(2,8,13,.88), rgba(2,8,13,.96)),
    url("assets/hero-boat.jpg") center/cover;
}

h2 {
  margin: 0 0 22px;
  font-size: clamp(42px, 5vw, 67px);
  line-height: .95;
  letter-spacing: -1px;
}

.large-copy {
  color: #d8e2e7;
  font-size: 17px;
  max-width: 590px;
}

/* =========================================================
   CHARTER
   ========================================================= */

.charter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 25px;
  margin: 35px 0;
}

.feature {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.feature-icon {
  width: 34px;
  color: var(--blue-light);
  font-size: 24px;
  line-height: 1;
}

.feature strong {
  display: block;
  font-size: 15px;
}

.feature small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 3px;
}

.charter-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.charter-image img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: 25px;
  bottom: 24px;
  font-family: "Brush Script MT", cursive;
  font-size: 32px;
  line-height: .8;
  text-align: right;
  transform: rotate(-5deg);
  text-shadow: 0 2px 8px #000;
}

.image-caption span {
  color: var(--blue-light);
}

/* =========================================================
   GALLERY
   ========================================================= */

.catch-grid {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 40px;
  align-items: center;
}

.catch-copy p:not(.eyebrow) {
  color: var(--muted);
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-strip img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 7px;
}

/* =========================================================
   PRICING
   ========================================================= */

.pricing-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.section-heading {
  max-width: 620px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 570px;
}

.price-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(7,43,58,.9), rgba(4,22,31,.95));
  box-shadow: var(--shadow);
}

.price-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--blue-light);
  font-size: 27px;
  border: 1px solid var(--blue);
  transform: rotate(45deg);
}

.price-icon::first-letter {
  transform: rotate(-45deg);
}

.price {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
}

.price span {
  color: var(--blue-light);
  font-size: 20px;
}

.price-card p {
  margin: 4px 0 0;
  color: #d7e0e5;
}

.price-card .muted {
  color: var(--muted);
  font-size: 13px;
}

/* =========================================================
   CALENDAR / BOOKINGS
   ========================================================= */

.booking-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 65px;
  align-items: start;
}

.booking-copy > p:not(.eyebrow) {
  color: var(--muted);
  max-width: 450px;
}

.booking-price {
  margin-top: 30px;
  padding: 23px;
  border: 1px solid var(--line);
  background: rgba(7,38,52,.7);
  border-radius: 9px;
}

.booking-price strong {
  display: block;
  color: var(--blue-light);
  font-size: 24px;
}

.booking-price span {
  display: block;
  margin-top: 6px;
  color: #dce5e9;
  font-size: 14px;
}

.booking-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(0,159,227,.06);
}

.booking-note p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.calendar-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(4,21,29,.94);
  box-shadow: var(--shadow);
}

.calendar-header {
  height: 67px;
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.calendar-header h3 {
  text-align: center;
  margin: 0;
  font-size: 18px;
}

.calendar-header button {
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
}

.calendar-header button:hover {
  color: var(--blue-light);
}

.weekdays,
.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  padding: 12px 15px 0;
}

.weekdays span {
  text-align: center;
  color: #cfd9de;
  font-size: 12px;
  font-weight: 800;
}

.calendar {
  padding-bottom: 15px;
}

.calendar-day {
  min-height: 48px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.calendar-day:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.13);
}

.calendar-day.available {
  background: #16844a;
}

.calendar-day.booked {
  background: #923838;
  cursor: not-allowed;
}

.calendar-day.unavailable {
  background: #314550;
  cursor: not-allowed;
}

.calendar-day.other-month {
  background: #172b35;
  color: #71838c;
  cursor: default;
}

.calendar-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding: 0 22px 18px;
  color: #cbd7dc;
  font-size: 12px;
}

.calendar-legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.calendar-legend i {
  width: 11px;
  height: 11px;
  display: inline-block;
  border-radius: 50%;
}

.calendar-legend .available {
  background: var(--green);
}

.calendar-legend .booked {
  background: var(--red);
}

.calendar-legend .unavailable {
  background: var(--grey);
}

.calendar-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: rgba(0,159,227,.05);
}

.calendar-info p {
  margin: 0;
  color: #c6d2d8;
  font-size: 12px;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

/* =========================================================
   INFO BAR
   ========================================================= */

.info-bar {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(5,20,28,.91), rgba(5,20,28,.96)),
    url("assets/catch-1.jpg") center/cover;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.info-item {
  min-height: 165px;
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.info-item:last-child {
  border-right: 0;
}

.info-symbol {
  color: var(--blue-light);
  font-size: 29px;
  height: 42px;
}

.info-item h3 {
  margin: 0 0 8px;
  font-size: 12px;
}

.info-item p {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: 700;
}

.info-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

/* =========================================================
   FULL GALLERY
   ========================================================= */

.section-heading.left {
  margin-bottom: 35px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
}

.photo-grid img:first-child {
  grid-column: span 2;
  height: 400px;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact-section p:not(.eyebrow) {
  max-width: 550px;
  color: var(--muted);
}

.contact-card {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(3,15,22,.82);
}

.contact-card div span {
  display: block;
  color: var(--blue-light);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.contact-card div strong {
  display: block;
  margin-top: 4px;
  font-size: 15px;
}

.contact-card .btn {
  grid-column: span 2;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
  background: #02090e;
  border-top: 1px solid var(--line);
}

.footer-main {
  min-height: 145px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.footer-brand img {
  width: 185px;
  height: 95px;
  object-fit: contain;
}

.footer-location,
.facebook {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.footer-icon {
  color: var(--blue-light);
  font-size: 25px;
}

.footer-location strong,
.facebook strong {
  display: block;
  font-size: 13px;
}

.footer-location small,
.facebook small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.facebook span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1877f2;
  font-size: 22px;
  font-weight: 900;
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(80,170,210,.12);
  color: #73858e;
  font-size: 10px;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* =========================================================
   MODAL
   ========================================================= */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(5px);
}

.modal-box {
  position: relative;
  z-index: 2;
  width: min(100%, 550px);
  max-height: 92vh;
  overflow-y: auto;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #06151e;
  box-shadow: 0 30px 80px rgba(0,0,0,.65);
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.selected-date {
  margin: 0 0 22px;
  color: var(--muted);
}

.modal-box label {
  display: block;
  margin-bottom: 15px;
  color: #dce5e9;
  font-size: 13px;
  font-weight: 700;
}

.modal-box input,
.modal-box select,
.modal-box textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid rgba(100,180,215,.25);
  border-radius: 6px;
  outline: 0;
  background: #031018;
  color: #fff;
}

.modal-box input:focus,
.modal-box select:focus,
.modal-box textarea:focus {
  border-color: var(--blue);
}

.form-disclaimer {
  color: var(--muted);
  font-size: 11px;
}

.full-width {
  width: 100%;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-book {
    min-width: 115px;
  }

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

  .charter-image {
    max-width: 700px;
  }

  .pricing-section .container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .booking-grid {
    gap: 45px;
  }
}

@media (max-width: 800px) {

  .site-header {
    height: 68px;
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    width: 150px;
    height: 60px;
  }

  .brand img {
    width: 125px;
    height: 55px;
  }

  .main-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 15px;
    border: 1px solid var(--line);
    border-radius: 0 0 10px 10px;
    background: #031018;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 0;
  }

  .main-nav a.active::after {
    display: none;
  }

  .header-book {
    margin-left: auto;
    min-width: auto;
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 650px;
  }

  .hero-image {
    background-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2,8,13,.96), rgba(2,8,13,.65)),
      linear-gradient(0deg, rgba(2,8,13,.9), transparent);
  }

  .hero-content {
    padding: 70px 0;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 75px);
  }

  .hero-subtitle {
    font-size: 14px;
    letter-spacing: 6px;
  }

  .container,
  .hero-content {
    width: min(calc(100% - 30px), var(--max));
  }

  .section {
    padding: 65px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .catch-grid {
    grid-template-columns: 1fr;
  }

  .gallery-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .gallery-strip img {
    height: 220px;
  }

  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 0;
  }

  .info-item:nth-child(2) {
    border-right: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding: 30px 0;
  }

  .footer-location,
  .facebook {
    padding-left: 0;
    border-left: 0;
  }

  .footer-bottom {
    padding: 20px 0;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 550px) {

  .header-book {
    display: none;
  }

  .brand {
    width: 125px;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 4px;
  }

  h2 {
    font-size: 43px;
  }

  .gallery-strip {
    grid-template-columns: 1fr;
  }

  .gallery-strip img {
    height: 270px;
  }

  .calendar-header {
    grid-template-columns: 45px 1fr 45px;
  }

  .weekdays,
  .calendar {
    gap: 4px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .calendar-day {
    min-height: 39px;
    font-size: 12px;
  }

  .calendar-legend {
    gap: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 22px;
  }

  .info-item:last-child {
    border-bottom: 0;
  }

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

  .contact-card .btn {
    grid-column: span 1;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img:first-child {
    grid-column: span 1;
    height: 280px;
  }

  .photo-grid img {
    height: 250px;
  }

  .modal-box {
    padding: 27px 20px;
  }
}
