/*
 * All Season Storage — site stylesheet.
 * Hand-written replacement for the WordPress Neve theme + Elementor CSS.
 * Measurements (spacing, font sizes, colours) were taken from the computed
 * styles of the original page so the layout matches it pixel-for-pixel.
 * Breakpoints mirror the originals: Elementor stacks columns below 768px,
 * Neve switches to the mobile header below 960px.
 */

/* ---------- Design tokens ---------- */
:root {
  --green: #23a455;
  --green-hover: #23a454;
  --text: #404248;
  --heading: #1f2025;
  --label: #616161;
  --grey-bg: #f3f3f3;
  --footer-bg: #24292e;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Poppins", sans-serif;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; }

.icon-sprite { display: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

/* Anchor targets for the in-page menu links */
.anchor { position: relative; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 15px;
  background: #fff;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-header { background: #fff; position: relative; z-index: 10; }

.header-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { width: 120px; }

.primary-nav { display: none; }

.primary-nav ul { display: flex; }
.primary-nav li { padding: 10px 20px 10px 0; }
.primary-nav li:last-child { padding-right: 0; }

/* Neve "border-bottom" menu style: green underline grows on hover */
.primary-nav a,
.mobile-menu a {
  position: relative;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--green-hover);
  transition: width 0.3s;
}
.primary-nav a:hover,
.primary-nav a:focus,
.mobile-menu a:hover,
.mobile-menu a:focus { color: var(--green-hover); }
.primary-nav a:hover::after,
.primary-nav a:focus::after { width: 100%; }

/* Hamburger button (mobile/tablet) */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 15px;
  background: transparent;
  border: 1px solid #f0f0f0;
  border-radius: 3px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 15px;
  height: 2px;
  background: var(--text);
}

/* Slide-in mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background: #fff;
  padding: 60px 20px 20px;
  transform: translateX(-100%);
  transition: transform 0.3s;
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu.is-open .mobile-menu-panel { transform: translateX(0); }
.mobile-menu li { padding: 10px 0; }
.nav-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
body.menu-open { overflow: hidden; }

/* ---------- Shared outline button (Elementor button widget) ---------- */
.btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  color: #fff;
  background: transparent;
  border: 3px solid #fff;
  border-radius: 4px;
  text-align: center;
  transition: all 0.3s;
}
.btn-outline:hover,
.btn-outline:focus { color: var(--green); background: #fff; }

.btn-outline--bold {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 18px;
}
.btn-outline--xl {
  font-size: 15px;
  font-weight: 500;
  line-height: 16px;
  padding: 18px;
}

/* ---------- Hero ---------- */
/*
 * Hero photo: AVIF (smallest) -> WebP -> JPEG fallback, sized per breakpoint.
 * Phones get the 800px version, tablets/laptops 1440px, large or retina desktops 1920px.
 */
.hero {
  position: relative;
  padding: 60px 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url("/images/hero.jpg");
  background-image: image-set(
    url("/images/hero-800.avif") type("image/avif"),
    url("/images/hero-800.webp") type("image/webp"),
    url("/images/hero.jpg") type("image/jpeg")
  );
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.4;
}
.hero .container { position: relative; }
.hero-text {
  padding: 10px;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
}
.hero h1 {
  font-size: 28px;
  line-height: 33px;
  font-weight: 700;
  margin-bottom: 20px;
}
.hero p {
  font-size: 17px;
  line-height: 27px;
  margin-bottom: 20px;
}

/* ---------- Location band ---------- */
.location-band {
  background: var(--green);
  padding: 55px 0;
  text-align: center;
}
.location h2 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 37px;
  font-weight: 700;
  color: #fff;
}
.location-cta { margin-top: 20px; }

/* ---------- Section titles ---------- */
.section-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 37px;
  font-weight: 700;
  color: var(--heading);
  text-align: center;
}

/* ---------- Units + booking card ---------- */
.units { padding: 40px 0 60px; }
.units-row { padding: 10px; }

.units-list {
  margin: 35px 50px 0 0;
  padding: 20px;
}
.units-list .section-title { margin-bottom: 50px; }

.unit {
  text-align: center;
  font-family: var(--font-display);
  color: var(--heading);
}
.unit:not(:last-child) { margin-bottom: 20px; }
.unit-icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto 22px;
  fill: var(--green);
}
.unit h3 {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  margin-bottom: 12.8px;
}
.unit p { font-size: 16px; line-height: 30px; }

.booking-card {
  background: var(--grey-bg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.booking-card .section-title { margin-bottom: 20px; }

/* ---------- Contact form ---------- */
.contact-form {
  display: flex;
  flex-wrap: wrap;
}
.field {
  width: 100%;
  padding: 0 5px;
  margin-bottom: 10px;
}
.field label {
  display: block;
  margin: 20px 0 10px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 12px;
  color: var(--label);
}
.field input,
.field textarea {
  display: block;
  width: 100%;
  padding: 7px 12px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 22.4px;
  text-align: left;
}
.field input { font-family: Arial, sans-serif; }
.field textarea { font-family: monospace; resize: vertical; }
.field input:focus,
.field textarea:focus { outline: 1px solid var(--green); }

.field--submit button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 33.68px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.3s;
}
.field--submit button:hover,
.field--submit button:focus { opacity: 0.9; }
.field--submit button:disabled { opacity: 0.6; cursor: wait; }

/* Turnstile collapses to nothing unless a challenge is needed */
.turnstile-field { margin-bottom: 0; }

/* Honeypot: off-screen rather than display:none so naive bots still see it */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
}
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: #c0392b; }

/* ---------- Call to action band ---------- */
.cta {
  background: var(--green);
  padding: 40px 0;
}
.cta-inner {
  max-width: 567px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
}
.cta h2 {
  font-size: 22px;
  line-height: 37px;
  font-weight: 700;
  margin-bottom: 20px;
}
.cta p {
  font-size: 14px;
  line-height: 29px;
  margin-bottom: 40px;
}

/* ---------- Why choose us ---------- */
.why {
  background: var(--grey-bg);
  padding: 60px 0;
  text-align: center;
  font-family: var(--font-display);
  color: var(--heading);
}
.why > h2 {
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 20px;
}
.why-sub {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 40px;
}
/* Flex (not block) so the card margins don't collapse into the subtitle's */
.why-row {
  display: flex;
  flex-direction: column;
}
.why-card {
  margin: 10px;
  padding: 55px 45px;
  background: #fff;
}
.why-card + .why-card { margin-top: 40px; }
.why-icon {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 27px;
  fill: var(--green);
}
.why-card h3 {
  font-size: 20px;
  line-height: 27px;
  font-weight: 700;
  margin-bottom: 12.8px;
}
.why-card p { font-size: 14px; line-height: 29px; }

/* ---------- Map + contact details ---------- */
.contact { background: var(--grey-bg); }
.map iframe {
  display: block;
  width: 100%;
  height: 583px;
  border: 0;
}
.contact-card {
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--heading);
}
.contact-intro {
  margin-top: 40px;
  font-size: 14px;
  line-height: 29px;
  text-align: center;
  margin-bottom: 40px;
}
.contact-list { margin-top: 24px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  line-height: 29px;
}
.contact-list li:not(:last-child) { padding-bottom: 5.5px; }
.contact-list li:not(:first-child) { margin-top: 5.5px; }
.contact-list svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 7px;
  fill: var(--heading);
}
.contact-list span { padding-left: 28px; }
.contact-list a { color: var(--heading); }
.contact-list a:hover { color: var(--green); }

.spacer-band {
  background: var(--grey-bg);
  padding: 60px 0;
  min-height: 121px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, 0.99);
}
.footer-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 8px 15px;
  text-align: center;
  line-height: 1.6;
}

/* =========================================================
   >= 576px — Neve bumps the base font size
   ========================================================= */
@media (min-width: 576px) {
  body { font-size: 16px; }
}

/* =========================================================
   >= 768px — Elementor desktop layout (columns side by side)
   ========================================================= */
@media (min-width: 768px) {
  /* Hero */
  .hero {
    padding: 399px 0 100px;
    background-image: image-set(
      url("/images/hero-1440.avif") type("image/avif"),
      url("/images/hero-1440.webp") type("image/webp"),
      url("/images/hero.jpg") type("image/jpeg")
    );
  }
  .hero-text {
    width: 57.811%;
    text-align: left;
  }
  .hero h1 { font-size: 54px; line-height: 66px; }
  .hero p { font-size: 25px; line-height: 41px; }

  /* Location band pulls up over the hero */
  .location { margin-top: -92px; position: relative; }
  .location-band {
    display: flex;
    align-items: flex-start;
    padding: 0;
    text-align: left;
  }
  .location h2 {
    width: calc(65.614% - 50px);
    margin: 69px 0 0 50px;
    font-size: 35px;
  }
  .location-cta {
    width: 34.383%;
    margin: 45px 0 46px;
    text-align: center;
  }
  .btn-outline--bold { font-size: 24px; padding: 20px 40px; }

  /* Units + booking card */
  .units { padding: 100px 0; }
  .units-row { display: flex; }
  .units-list { width: calc(50% - 50px); }
  .booking-card { width: 50%; }
  .units-list { padding: 10px; }
  .units-list .section-title,
  .booking-card .section-title {
    font-size: 35px;
    text-align: left;
  }
  .unit {
    display: flex;
    align-items: flex-start;
    text-align: left;
  }
  .unit-icon { flex: 0 0 20px; margin: 0 15px 0 0; }
  .booking-card { padding: 40px; }

  .field--half { width: 50%; }

  /* CTA band */
  .cta { padding: 100px 0; }
  .cta h2 { font-size: 35px; }
  .cta p { font-size: 16px; }
  .btn-outline--xl { font-size: 24px; padding: 25px 50px; }

  /* Why choose us */
  .why { padding: 100px 0; }
  .why > h2 { font-size: 35px; }
  .why-sub { font-size: 16px; }
  .why-row { flex-direction: row; }
  .why-card { flex: 1 1 0; }
  .why-card + .why-card { margin-top: 10px; }
  .why-card p { font-size: 16px; }

  /* Map + contact */
  .contact-row { display: flex; }
  .map,
  .contact-card { width: 50%; }
  .contact-card { padding: 40px; }
  .contact-intro {
    margin-top: 0;
    font-size: 16px;
    text-align: left;
  }
  .contact-list li {
    justify-content: flex-start;
    text-align: left;
    font-size: 16px;
  }

  .spacer-band { padding: 100px 0; min-height: 201px; }
}

/* =========================================================
   >= 960px — Neve desktop header
   ========================================================= */
/* Large or high-density desktop screens get the full-size hero photo */
@media (min-width: 1441px), (min-width: 768px) and (min-resolution: 2dppx) {
  .hero {
    background-image: image-set(
      url("/images/hero-1920.avif") type("image/avif"),
      url("/images/hero-1920.webp") type("image/webp"),
      url("/images/hero.jpg") type("image/jpeg")
    );
  }
}

@media (min-width: 960px) {
  .header-inner { min-height: 73px; }
  .brand img { width: 150px; }
  .primary-nav { display: block; }
  .unit h3 { line-height: 26px; }
  .footer-inner { padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { display: none; }
}
