/* Phoenix Forest Gardens — styles modelled on the original GoDaddy theme:
   dark header with centred logo, Quicksand headings, Roboto body text. */

:root {
  --ink: #1b1b1b;
  --text: #555;
  --heading: #7a7866;
  --rule: #c9c9c0;
  --bg: #fff;
  --bg-alt: #f5f5f5;
  --header-bg: #1b1b1b;
  --footer-bg: #161616;
  --footer-text: #a9a9a9;
  --button: #e3e2c6;
  --button-hover: #d6d5b4;
  --link: #6b6a3f;
  --max: 1112px;
  --gutter: 24px;
  --heading-font: "Quicksand", "Helvetica Neue", Arial, sans-serif;
  --body-font: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--body-font);
}

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

a { color: var(--link); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }

p { margin: 0 0 .9em; }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: var(--ink); padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */

.site-header { background: var(--header-bg); color: #fff; position: relative; z-index: 20; }

.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; min-height: 72px;
}

.logo img { width: 64px; height: 64px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; }

.site-nav a {
  color: #fff; text-decoration: none; text-transform: uppercase;
  font-size: 12px; letter-spacing: .1em; font-weight: 400;
}
.site-nav a:hover, .site-nav a:focus-visible { text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] { font-weight: 700; }

.menu-toggle {
  background: none; border: 0; padding: 10px; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
}
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: dropdown drawer under the header bar */
@media (max-width: 999px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--header-bg); padding: 8px var(--gutter) 20px;
  }
  .site-nav.open { display: block; }
  .site-nav li { border-top: 1px solid #333; }
  .site-nav a { display: block; padding: 14px 0; font-size: 14px; }
}

/* Desktop: logo centred with the menu split either side, as on the original site */
@media (min-width: 1000px) {
  .header-inner { position: relative; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
  .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .logo img { width: 104px; height: 104px; }
  .menu-toggle { display: none; }
  .site-nav { width: 100%; min-height: 88px; display: flex; align-items: center; }
  .site-nav ul { display: flex; align-items: center; gap: 28px; width: 100%; }
  .site-nav li:nth-child(3) { margin-right: auto; }
}

/* Home page: header floats over the hero slideshow */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,0)); }
@media (max-width: 999px) {
  .home .site-nav.open { background: var(--header-bg); }
}

/* ---------- Layout blocks ---------- */

.section { padding: 64px 0; }
.section.alt { background: var(--bg-alt); }
.section.tight { padding: 40px 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.section-title {
  font: 300 clamp(28px, 4vw, 38px)/1.2 var(--heading-font);
  color: var(--heading); text-align: center; margin: 0 0 40px;
}
.section-title::after {
  content: ""; display: block; width: 50px; height: 1px;
  background: var(--rule); margin: 24px auto 0;
}
.section-title.left { text-align: left; }
.section-title.left::after { margin-left: 0; }

.content-heading { font: 400 20px/1.3 var(--body-font); color: var(--ink); }

.rt h3 { font: 400 20px/1.3 var(--body-font); margin: 1.4em 0 .6em; }

.button {
  display: inline-block; background: var(--button); color: var(--ink);
  font: 700 12px/1 var(--body-font); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; padding: 18px 32px; border: 0; border-radius: 0; cursor: pointer;
}
.button:hover, .button:focus-visible { background: var(--button-hover); }
.button.dark { background: var(--ink); color: #fff; }
.button.dark:hover, .button.dark:focus-visible { background: #000; }
.button.light { background: #fff; color: var(--ink); }

.two-col { display: grid; gap: 40px; align-items: start; }
@media (min-width: 768px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col.wide-left { grid-template-columns: 2fr 1fr; gap: 56px; }
  .two-col.narrow-left { grid-template-columns: 1fr 2fr; }
  .two-col.middle { align-items: center; }
}

/* Image beside text with no padding, filling half the screen width */
.split { display: grid; background: var(--bg); }
.split.alt { background: var(--bg-alt); }
.split-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.split-body { padding: 48px var(--gutter); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; min-height: 480px; }
  .split-body { padding: 56px clamp(24px, 6vw, 96px); }
  .split.reverse .split-media { order: 2; }
}

.split-title { font: 300 clamp(30px, 4vw, 42px)/1.2 var(--heading-font); color: var(--ink); }
.split-title.muted { color: var(--heading); }
.split-title.muted::after { content: ""; display: block; width: 50px; height: 1px; background: var(--rule); margin-top: 24px; }

/* Cards: image + heading + text, three across on desktop */
/* Flex rather than grid so a short last row is centred, as on the original */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 32px; }
.card { text-align: center; flex: 0 1 100%; }
@media (min-width: 640px) { .card { flex-basis: calc((100% - 32px) / 2); } }
@media (min-width: 960px) { .card { flex-basis: calc((100% - 64px) / 3); } }
.card h3 { font: 400 20px/1.3 var(--body-font); margin-bottom: 20px; }
.card img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; margin-bottom: 20px; }
.card .button { margin-top: 8px; }

.photo-wide img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

/* ---------- Hero slideshow (home) ---------- */

.hero { position: relative; height: min(88vh, 760px); min-height: 480px; overflow: hidden; background: #333; color: #fff; }
.hero-slide {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px var(--gutter) 60px;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease; visibility: hidden;
}
.hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide > * { position: relative; }
.hero h1, .hero h2 { font: 400 clamp(34px, 6vw, 56px)/1.15 var(--heading-font); color: #fff; margin: 0 0 12px; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.hero p { font-size: clamp(16px, 2vw, 19px); margin: 0; text-shadow: 0 1px 4px rgba(0,0,0,.45); }
.hero-dots { position: absolute; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 12px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero-dots button[aria-current="true"] { background: #fff; }

/* ---------- Banners ---------- */

.banner {
  position: relative; color: #fff; background-size: cover; background-position: center;
  padding: 72px 0;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); }
.banner .container { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.banner h1, .banner h2 { font: 300 clamp(28px, 4vw, 40px)/1.2 var(--heading-font); color: #fff; margin: 0; max-width: 760px; }
.banner.center-text .container { justify-content: center; text-align: center; }

/* ---------- Gallery ---------- */

.gallery { max-width: var(--max); margin: 0 auto; }
.gallery-stage { position: relative; background: #e9e9e9; aspect-ratio: 16 / 10; overflow: hidden; }
.gallery-slide { margin: 0; position: absolute; inset: 0; }
.gallery-slide[hidden] { display: none; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px;
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.6)); color: #fff; font-size: 14px;
}
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.45); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer;
}
.gallery-arrow:hover, .gallery-arrow:focus-visible { background: rgba(0,0,0,.7); }
.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }
.gallery-count { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.gallery-thumbs { list-style: none; margin: 8px 0 0; padding: 0 0 4px; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery-thumbs li { flex: 0 0 auto; scroll-snap-align: start; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; background: none; cursor: pointer; display: block; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery-thumbs img { height: 64px; width: auto; }

/* ---------- Contact + map ---------- */

.map-frame { position: relative; min-height: 360px; background: #dfe9df; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-frame .button { position: absolute; top: 12px; left: 12px; z-index: 1; }

.contact-form { display: grid; gap: 14px; margin-top: 24px; max-width: 520px; }
.contact-form label { display: grid; gap: 4px; font-size: 13px; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font: inherit; color: var(--ink); padding: 12px; border: 1px solid #c8c8c8; border-radius: 0; background: #fff; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--ink); outline-offset: -1px; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-status { font-size: 14px; margin: 0; }
.form-status.error { color: #9b2c1c; }

/* ---------- Embeds ---------- */

.video { position: relative; aspect-ratio: 16 / 9; max-width: 900px; margin: 0 auto; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.form-embed { max-width: 840px; margin: 0 auto; }
.form-embed iframe { width: 100%; height: 5266px; border: 0; display: block; }

/* ---------- Footer ---------- */

.site-footer { background: var(--footer-bg); color: var(--footer-text); text-align: center; padding: 48px var(--gutter) 36px; font-size: 13px; }
.footer-social { color: #fff; display: inline-block; }
.footer-name { color: #fff; font-weight: 700; margin: 12px 0 28px; font-size: 14px; }
.footer-copy { margin: 0; }

/* ---------- 404 ---------- */

.not-found { padding: 120px 0; text-align: center; }
