/* ============================================================
   Sun Splash Outdoors — Demo Site Styles
   Stack: plain CSS, no build step
   ============================================================ */

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

:root {
  --blue:      #29ABE2;
  --blue-dark: #1a7fb5;
  --navy:      #1C2B3A;
  --orange:    #F7941D;
  --white:     #ffffff;
  --gray-light:#F5F5F5;
  --gray-mid:  #e0e0e0;
  --text:      #333333;
  --text-light:#666666;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ── Utility Bar ── */
.utility-bar {
  background: var(--blue);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.utility-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
}
.utility-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  transition: opacity 0.2s;
}
.utility-item:hover { opacity: 0.85; }

/* ── Header ── */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-link { flex-shrink: 0; }
.logo-img { height: 64px; width: auto; object-fit: contain; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--blue); }
.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-large { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.82rem; }

/* ── Section Headings ── */
.section-heading {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.section-heading.centered { text-align: center; }
.section-heading.light { color: var(--white); }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 4rem 5%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0) 100%);
}
.hero-card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.97);
  border-radius: 8px;
  padding: 2.5rem 2.25rem;
  max-width: 440px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}
.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.hero-title {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}
.hero-sub {
  font-size: 0.97rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ── Welcome Section ── */
.welcome-section {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.welcome-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.welcome-photo img {
  border-radius: 8px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.welcome-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.welcome-text .btn { margin-top: 0.5rem; }

/* ── Services Section ── */
.services-section {
  padding: 5rem 1.5rem;
  background: var(--gray-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.service-img-wrap { height: 200px; overflow: hidden; }
.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-body { padding: 1.25rem; }
.service-body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-body p { font-size: 0.88rem; color: var(--text-light); line-height: 1.55; }

/* ── Gallery Preview ── */
.gallery-preview-section {
  padding: 5rem 1.5rem;
  background: var(--white);
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.gallery-thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 1;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-thumb:hover img { transform: scale(1.08); }
.centered-cta { text-align: center; margin-top: 2rem; }

/* ── Trust Bar ── */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 2.5rem 1.5rem;
}
.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}
.trust-number {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue);
}
.trust-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.trust-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

/* ── Consultation Section ── */
.consultation-section {
  position: relative;
  padding: 5rem 1.5rem;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.consultation-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}
.consultation-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.consultation-sub {
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.consult-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 2rem;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { margin-bottom: 1.25rem; }
.consult-form input,
.consult-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.consult-form input:focus,
.consult-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.25);
}
.consult-form textarea { resize: vertical; }
.consult-form .btn { width: 100%; justify-content: center; margin-top: 0.25rem; }
.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #a8f0a8;
  text-align: center;
  min-height: 1.2em;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy);
  color: var(--white);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1.2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}
.footer-badge {
  width: 110px;
  height: auto;
  border-radius: 50%;
}
.footer-heading {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 0.4rem;
  display: inline-block;
}
.footer-col address {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}
.footer-col address a { color: var(--blue); }
.footer-col address a:hover { text-decoration: underline; }
.footer-license {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-services a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-services a:hover { color: var(--blue); }
.footer-badges { text-align: center; }
.homeadvisor-badge { width: 100px; margin: 0 auto 0.5rem; }
.footer-member {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.social-links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.social-links a:hover { color: var(--blue); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ── Page Banner (inner pages) ── */
.page-banner {
  position: relative;
  height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.page-banner h1 {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* ── About Page ── */
.about-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-photo img {
  border-radius: 8px;
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.about-text .section-heading { margin-bottom: 1rem; }
.about-text p { color: var(--text-light); margin-bottom: 1rem; font-size: 0.97rem; }
.about-pillars {
  background: var(--gray-light);
  padding: 4rem 1.5rem;
}
.pillars-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.pillar {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-top: 4px solid var(--blue);
}
.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.pillar p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }
.about-license {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}
.about-license h2 { color: var(--white); margin-bottom: 0.75rem; }
.about-license p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }

/* ── Gallery Page ── */
.gallery-tabs {
  background: var(--white);
  border-bottom: 2px solid var(--gray-mid);
  position: sticky;
  top: 76px;
  z-index: 50;
}
.tabs-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  gap: 0;
}
.tab-btn {
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -2px;
}
.tab-btn:hover { color: var(--blue); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

.gallery-section-content {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-category { display: none; }
.gallery-category.active { display: block; }
.gallery-category h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.gallery-category-desc {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid-item {
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.gallery-grid-item:hover img { transform: scale(1.06); }

/* ── Contact Page ── */
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info-block h2 { margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
}
.contact-detail-text strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.contact-detail-text p, .contact-detail-text a {
  font-size: 0.95rem;
  color: var(--text-light);
}
.contact-detail-text a:hover { color: var(--blue); }
.map-embed {
  margin-top: 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.map-embed iframe { display: block; width: 100%; height: 280px; border: 0; }

.contact-form-block h2 { margin-bottom: 1.5rem; }
.contact-form {
  background: var(--gray-light);
  border-radius: 8px;
  padding: 2rem;
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(41,171,226,0.2);
}
.contact-form textarea { resize: vertical; margin-bottom: 1rem; }
.contact-form .btn { width: 100%; justify-content: center; }
.contact-form .form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #2a8a2a;
  text-align: center;
  min-height: 1.2em;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-strip { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    gap: 0.25rem;
    z-index: 200;
  }
  .main-nav.open { display: flex; }
  .nav-link, .nav-cta { width: 100%; text-align: center; padding: 0.75rem; }
  .nav-cta { margin-left: 0; }

  .hero { min-height: 70vh; padding: 2rem 1rem; justify-content: center; }
  .hero-card { max-width: 100%; padding: 1.75rem 1.25rem; }
  .hero-title { font-size: 1.9rem; }

  .welcome-inner { grid-template-columns: 1fr; gap: 2rem; }
  .welcome-photo img { height: 280px; }

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

  .gallery-strip { grid-template-columns: repeat(2, 1fr); }

  .trust-inner { gap: 1.5rem; }
  .trust-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .about-content { grid-template-columns: 1fr; }
  .about-photo img { height: 300px; }
  .pillars-grid { grid-template-columns: 1fr; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

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

  .page-banner h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-heading { font-size: 1.6rem; }
  .hero-title { font-size: 1.6rem; }
}
