/* =========================================================
   New Forest Taxis & Airport Transfer Service
   Shared stylesheet — all pages
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap");

:root {
  --forest-dark: #16281c;
  --forest-green: #1f3d26;
  --forest-green-light: #2c5536;
  --cream: #ffffff;
  --text-dark: #2b2b2b;
  --text-muted: #555;
  --accent-orange: #e32323;
  --accent-orange-dark: #c9750f;
  --form-bg: #191919;
  --form-bg-light: #2a2a2a;
  --red-note: #b3241c;
  --max-width: 960px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--forest-dark);
  background-image:
    linear-gradient(rgba(8, 16, 8, 0.35), rgba(8, 16, 8, 0.35)),
    url("../images/newforest-bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
}

@media (max-width: 700px) {
  body {
    background-attachment: scroll;
  }
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
ul {
  padding-left: 1.2em;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- Header ---------------- */
.site-header {
  background: linear-gradient(
    180deg,
    var(--forest-green) 0%,
    var(--forest-dark) 100%
  );
  border-bottom: 3px solid var(--accent-orange);
  position: relative;
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
}

.site-title {
  color: #f2efe6;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0;
}

.site-title a {
  color: inherit;
}

/* Nav */
.main-nav {
  position: relative;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid #f2efe6;
  color: #f2efe6;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  color: #dfe6df;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 2px;
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: #ffffff;
  border-bottom-color: var(--accent-orange);
}

/* Dropdown */
.has-dropdown > .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #f4f4f2;
  min-width: 220px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  border-top: 3px solid var(--accent-orange);
  padding: 6px 0;
}

.has-dropdown.open > .dropdown,
.has-dropdown:hover > .dropdown {
  display: block;
}

.dropdown li a {
  display: block;
  padding: 10px 18px;
  color: #3a3a3a;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.dropdown li a:hover {
  background: #e7e7e3;
  color: var(--forest-green);
}

.dropdown .has-submenu {
  position: relative;
}

.submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 6px 0;
  position: absolute;
  top: -3px;
  right: 100%;
  background: #ffffff;
  min-width: 190px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  border-top: 3px solid var(--accent-orange);
  max-height: 70vh;
  overflow-y: auto;
}

.has-submenu:hover > .submenu,
.has-submenu.open > .submenu {
  display: block;
}

.submenu li a {
  font-size: 0.78rem;
  padding: 8px 16px;
}

/* ---------------- Hero ---------------- */
.hero {
  height: 260px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(6, 14, 6, 0.05) 0%, rgba(6, 14, 6, 0.55) 100%),
    url("../images/indexheroback.png") center 40% / cover no-repeat;
}

/* soft out-of-focus canopy blobs, for depth */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
}
.hero::before {
  width: 45%;
  height: 220%;
  background: radial-gradient(circle, #7fa871 0%, transparent 70%);
  top: -60%;
  left: -8%;
  opacity: 0.55;
}
.hero::after {
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, #4a7442 0%, transparent 70%);
  bottom: -50%;
  right: -6%;
  opacity: 0.5;
}

.hero-pony {
  position: absolute;
  right: 4%;
  bottom: -8%;
  height: 100%;
  opacity: 0.9;
}

.hero-caption {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 20px 18px;
}

.hero-caption span {
  color: #f2efe6;
  background: rgba(15, 30, 15, 0.45);
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* ---------------- Page content ---------------- */
.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 44px 20px 20px;
  background: var(--cream);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
}

.page-content h1 {
  color: var(--forest-green);
  text-align: center;
  font-size: 1.9rem;
  margin: 0 0 22px;
}

.page-content h2 {
  color: var(--forest-green);
  font-size: 1.4rem;
  margin: 0 0 14px;
}

.lede {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 22px;
  color: var(--text-dark);
}

.book-now {
  text-align: center;
  font-style: italic;
  margin: 24px auto 6px;
  max-width: 500px;
}

.book-now .call {
  font-style: normal;
  font-weight: 700;
}

.warning-note {
  text-align: center;
  color: var(--red-note);
  font-weight: 700;
  font-style: italic;
  margin-top: 10px;
}

/* ---------------- Booking form ---------------- */
.booking-panel {
  background: var(--form-bg);
  border-radius: 6px;
  margin: 34px auto;
  padding: 34px 24px 40px;
  max-width: 620px;
}

.booking-panel .icon-row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.booking-panel .icon-row .taxi-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-panel .icon-row .booking-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.booking-heading {
  background: var(--form-bg-light);
  border-radius: 4px;
  text-align: center;
  padding: 16px 10px;
  margin-bottom: 26px;
}

.booking-heading h2 {
  color: var(--accent-orange);
  margin: 0 0 6px;
  font-family: "Poppins", Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.booking-heading p {
  color: #d8d8d8;
  font-style: italic;
  margin: 0;
  font-size: 0.85rem;
}

.form-field {
  margin-bottom: 22px;
}

.form-field label {
  display: block;
  color: #f2efe6;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-field label .req {
  color: #e05a4e;
  margin-left: 3px;
}

.form-row {
  display: flex;
  gap: 14px;
}
.form-row > div {
  flex: 1;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="date"],
.form-field input[type="number"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 3px;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-field textarea {
  resize: vertical;
  min-height: 90px;
}

.form-field .field-hint {
  display: block;
  color: #b7b7b7;
  font-size: 0.72rem;
  margin-top: 5px;
}

.time-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.time-row input {
  width: 62px;
  text-align: center;
}
.time-row span {
  color: #eee;
}

.submit-btn {
  display: inline-block;
  background: var(--accent-orange);
  color: #241300;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: none;
  padding: 12px 30px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.submit-btn:hover {
  background: var(--accent-orange-dark);
}

.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #9be09b;
}

/* ---------------- Three-column feature row ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 46px 0 30px;
}

.feature-grid h3 {
  color: var(--forest-green);
  text-align: center;
  font-size: 1.15rem;
  margin: 0 0 14px;
}

.feature-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c5536, #16281c);
}

.feature-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-thumb svg {
  width: 46%;
  height: 46%;
  fill: #dfe6df;
  opacity: 0.85;
}

.feature-grid p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.feature-grid a.readmore {
  color: var(--forest-green);
  font-weight: 700;
}

/* ---------------- Two-column info block ---------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
  margin: 30px 0;
}

.info-block {
  background: #f5f6f3;
  border-left: 4px solid var(--forest-green);
  padding: 18px 20px;
  border-radius: 3px;
}

.info-block h3 {
  margin-top: 0;
  color: var(--forest-green);
}

.photo-block {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #3d6b3a 0%, #16301a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-block svg {
  width: 40%;
  fill: #eef1e9;
  opacity: 0.8;
}

/* ---------------- Areas we cover strip ---------------- */
.areas-strip {
  text-align: center;
  font-style: italic;
  margin: 30px 0;
  color: var(--text-dark);
}
.areas-strip a {
  color: var(--forest-green);
  font-weight: 700;
  text-decoration: underline;
}
.areas-strip a:hover {
  color: var(--accent-orange-dark);
}

/* ---------------- Local links page ---------------- */
.links-section {
  margin-bottom: 34px;
}
.links-section h2 {
  border-bottom: 2px solid #e3e3dd;
  padding-bottom: 8px;
}
.attraction {
  margin-bottom: 14px;
}
.attraction .name {
  font-weight: 700;
  color: var(--forest-green);
}
.attraction .place {
  color: var(--text-muted);
  font-weight: 400;
}

.simple-list {
  columns: 2;
  column-gap: 34px;
}
.simple-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

/* ---------------- Contact page ---------------- */
.contact-details {
  background: #f5f6f3;
  border-radius: 6px;
  padding: 26px 28px;
  max-width: 480px;
  margin: 0 auto 30px;
}
.contact-details p {
  margin: 6px 0;
}
.contact-details strong {
  color: var(--forest-green);
}

.map-block {
  max-width: 700px;
  margin: 0 auto;
  aspect-ratio: 16/7;
  background: repeating-linear-gradient(
    45deg,
    #e9ece5,
    #e9ece5 10px,
    #dfe4d8 10px,
    #dfe4d8 20px
  );
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* ---------------- Photo gallery (home page) ---------------- */
.gallery {
  margin: 40px 0;
}

.gallery-main {
  position: relative;
  max-width: 460px;
  margin: 0 auto 18px;
  border-radius: 4px;
  overflow: hidden;
  background: #0f1c12;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  gap: 2px;
}

.gallery-nav button {
  background: rgba(20, 30, 20, 0.65);
  border: none;
  color: #f2efe6;
  width: 40px;
  height: 40px;
  font-size: 1.1rem;
  cursor: pointer;
}
.gallery-nav button:hover {
  background: rgba(224, 138, 30, 0.85);
}

.gallery-playpause {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(20, 30, 20, 0.65);
  border: none;
  color: #f2efe6;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 11px 16px;
  cursor: pointer;
}
.gallery-playpause:hover {
  background: rgba(224, 138, 30, 0.85);
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.gallery-thumbs button {
  width: 76px;
  height: 76px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  background: #ddd;
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs button.active {
  border-color: var(--accent-orange);
}

@media (max-width: 700px) {
  .gallery-main img {
    height: 360px;
  }
  .gallery-thumbs button {
    width: 60px;
    height: 60px;
  }
}

/* ---------------- Photo strip (bottom of home page) ---------------- */
.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 10px 0 30px;
}
.photo-strip .photo-block {
  aspect-ratio: 4/3;
}

/* ---------------- Full Gallery Page ---------------- */
.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0 40px;
}

.gallery-page-grid .gal-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: #0f1c12;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  position: relative;
}

.gallery-page-grid .gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-page-grid .gal-item:hover img {
  transform: scale(1.07);
}

/* Lightbox overlay */
.gal-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.gal-lightbox.open {
  display: flex;
}

.gal-lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.gal-lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  z-index: 1001;
}

@media (max-width: 860px) {
  .gallery-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .gallery-page-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Footer ----------------
   Kept intentionally minimal to match the original site: a plain
   "Powered by" credit line plus the same nav links repeated, no
   extra branding blocks or imagery. */
.site-footer {
  background: #f4f4f2;
  color: #6b6b66;
  margin-top: 50px;
  padding: 22px 20px;
  border-top: 1px solid #e3e3dd;
}

.footer-credit {
  text-align: center;
  font-size: 0.78rem;
  color: #8a8a84;
  margin: 0 0 16px;
}
.footer-credit a {
  text-decoration: underline;
}
.footer-credit a:hover {
  color: var(--forest-green);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
}
.footer-nav li {
  margin: 0;
}
.footer-nav a {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #55554f;
}
.footer-nav a:hover {
  color: var(--forest-green);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .photo-strip {
    grid-template-columns: 1fr;
  }
  .simple-list {
    columns: 1;
  }
}

@media (max-width: 700px) {
  .header-inner {
    padding: 14px 16px;
  }
  .site-title {
    font-size: 1.05rem;
  }

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

  /* Let the dropdown menu position itself against the full-width
     header instead of the narrow nav element (which only wraps the
     MENU button), otherwise the mobile panel floats off to the
     right and the page gains horizontal overflow. */
  .main-nav {
    position: static;
  }

  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--forest-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 0;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
    z-index: 50;
  }
  .nav-list.open {
    display: flex;
  }
  .nav-list > li > a {
    padding: 12px 20px;
    border-bottom: 1px solid #24382a;
  }

  .has-dropdown > .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    background: #0f1c12;
  }
  .dropdown li a {
    color: #cfd6cf;
    padding-left: 34px;
  }
  .dropdown li a:hover {
    background: #16281c;
    color: #fff;
  }

  .submenu {
    position: static;
    width: 100%;
    box-shadow: none;
    border-top: none;
    background: #0a1410;
    max-height: none;
  }
  .submenu li a {
    padding-left: 50px;
    color: #a8b0a8;
  }

  .hero {
    height: 170px;
  }
  .hero-pony {
    height: 88%;
    right: 2%;
  }
  .page-content h1 {
    font-size: 1.5rem;
  }
  .booking-panel {
    padding: 24px 16px 30px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .footer-nav ul {
    gap: 8px 14px;
  }
}

/* ---------------- Floating WhatsApp / Call buttons ---------------- */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.float-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
.float-btn svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.float-btn.whatsapp {
  background: #25d366;
}
.float-btn.call {
  background: var(--accent-orange);
}

@media (max-width: 700px) {
  .float-actions {
    right: 12px;
    bottom: 12px;
    gap: 10px;
  }
  .float-btn {
    width: 50px;
    height: 50px;
  }
  .float-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* from ifram */
iframe.from-ifram {
  width: 100%;
  height: 1900px;
  border: 0;
  overflow: hidden;
}


@media (max-width: 580px) {
 iframe.from-ifram {
  width: 100%;
  height: 2106px;
  border: 0;
  overflow: hidden;
}
}
@media (max-width: 434px) {
 iframe.from-ifram {
  width: 100%;
  height: 2128px;
  border: 0;
  overflow: hidden;
}
}
@media (max-width: 400px) {
 iframe.from-ifram {
  width: 100%;
  height: 2141px;
  border: 0;
  overflow: hidden;
}
}
@media (max-width: 320px) {
 iframe.from-ifram {
  width: 100%;
  height:2194px;
  border: 0;
  overflow: hidden;
}
}
