/* ===== RESET STYLES ===== */

/* Import all Chivo font weights (300–900) */
@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@300;400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Remove link underlines and inherit color */
a {
  text-decoration: none;
  color: inherit;
}

/* Set consistent list style */
ul,
ol {
  list-style: none;
}

/* Make images and media responsive */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Reset heading styles */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

/* Remove form element styles */
input,
button,
textarea,
select {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* Ensure buttons and inputs are clickable */
button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

/* Respect user prefers-reduced-motion setting */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== GLOBAL STYLES ===== */

body {
  font-family: 'Chivo', sans-serif;
  line-height: 1.6;
  color: #254d4d;
  background-color: #f4f6f5;
}

h1, h2 {
  font-weight: 700; /* bold headings */
}

h3, h4 {
  font-weight: 600;
}

p {
  font-weight: 400;
  padding-bottom: 20px;
}

/* ===== HEADER ===== */
/* ===== Header: variables (feel free to tweak) ===== */
:root{
  --bg: #f6f9f8;
  --ink: #214e4f;       /* deep teal for text/nav */
  --ink-muted:#2b5b5c;
  --accent:#ff8a3d;     /* orange underline for active link */
  --btn:#214e4f;        /* CTA background */
  --btn-ink:#ffffff;    /* CTA text */
  --ring: #dbe7e7;

  --container: 1440px;
  --radius-pill: 999px;
}

/* ===== Generic layout helpers ===== */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
  display: block; /* default containers are single-column */
}

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

/* ===== Header wrapper ===== */

.site-header {
  margin: 0;  
  padding-block: 20px; /* adjust spacing here */
}

/* ===== Brand ===== */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo {
  display: block;
  width: 340px;
  height: auto;
  aspect-ratio: 11 / 2;
  object-fit: contain;
}

@media (max-width: 600px) {
  .brand__logo {
    width: 285px;
  }
}

/* ===== Nav (desktop) ===== */
.nav {
  justify-self: end;
}

.nav__list {
  display: flex;
  align-items: center;  
  gap: clamp(32px, 4vw, 64px); /* increased spacing */
}

/* Base nav link */
.nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-family: 'Chivo', sans-serif;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Create underline (hidden by default) */
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition:
    width 0.3s ease,
    left 0.3s ease;
}

/* On hover — line expands smoothly from center */
.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 36px;    /* same as your active underline width */
  left: calc(50% - 18px);
}

/* Active page link stays underlined */
.nav__link.is-active::after {
  width: 36px;
  left: calc(50% - 18px);
}
/* ===== CTA button ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-family: 'Chivo', system-ui, sans-serif;
  font-weight: 400;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--btn);
  color: var(--btn-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition:
    background-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
}

.btn--primary:hover {
  background-color: #2a6667; /* slightly lighter teal on hover */
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Font Awesome arrow styling */
.btn--primary i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

/* Slide arrow smoothly on hover */
.btn--primary:hover i {
  transform: translateX(5px);
}


/* ===== Mobile nav toggle (hamburger) ===== */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  position: relative;
}

.nav-toggle__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.nav-toggle__bar:nth-child(2) { top: 12px; }
.nav-toggle__bar:nth-child(3) { top: 20px; }
.nav-toggle__bar:nth-child(4) { top: 28px; }

/* When menu is open, animate to an X */
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  top: 20px; transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(4) {
  top: 20px; transform: rotate(-45deg);
}

/* ===== Accessibility helper ===== */
.visually-hidden {
  position: absolute !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  padding: 0 !important;
  border: 0 !important;
}

/* ===== Responsive (mobile-first adjustments) ===== */

@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr auto;
    gap: 0;
  }      
  .nav { display: none; }
  .nav-toggle { display: inline-block; justify-self: end; }

  /* Mobile menu panel */
    .nav.is-open {
    display: block;
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0 */
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: clamp(24px, 6vw, 40px);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: 0;
  }

  .nav__link {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    width: 100%;
  }

  /* Show Contact button inside mobile menu */
  .nav__cta {
    display: block;
    width: 100%;
    margin-top: 22px;
  }

  .nav__cta .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1rem;
  }
  .nav-toggle {
    position: fixed;
    top: 30px;
    right: 20px;
    z-index: 1101;
    border-radius: 5px;
  }
}

/* ===== Sticky Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #f4f6f5;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Optional: Add subtle shadow when scrolling */
body.scrolled .site-header {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  background-color: #e0f1f1;
  border-bottom: 1px solid #91aeae;
}


/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;  
  --hero-min: 400px;     
  --hero-ideal: 65vh;
  --hero-max: 700px;
  height: clamp(var(--hero-min), var(--hero-ideal), var(--hero-max));  
}
/* phone-only overrides */
@media (max-width: 640px){
  .hero{
    /* shorter target and svh to avoid iOS URL bar jump */
    --hero-min: 280px;
    --hero-ideal: 0;
    --hero-max: 520px;
  }
}

.hero__media,
.hero picture {
  display: block;
  width: 100%;  
  max-width: none;
}

@media (min-width: 1024px) {
  .hero__media, .hero picture {
          height: 100%;
  }
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 40%;
}

/* Top gradient overlay to blend with background */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(14vh, 200px); 
  background: linear-gradient(to bottom, #f4f6f5 0%, rgba(244, 246, 245, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Optional: slightly darken bottom if you ever need overlay for text */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);
  z-index: 1;
  pointer-events: none;
}


/* ===== Property Overview ===== */
.property-overview {  
  padding: 0;
  position: relative;
  overflow: hidden;
}

.overview-panel {
  background: #eaf2f0;
  border: 1px solid #91aeae;  
  padding: clamp(16px, 3vw, 25px);
  border-radius: 15px;
  position: relative;
  overflow: hidden;
   box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.05),
    0 8px 16px rgba(0, 0, 0, 0.08);
}

/* ===== Mobile-only look for Property Overview ===== */
@media (max-width: 767px) {
  .property-overview {    
    margin-top: 0;
    padding: clamp(16px, 5vw, 24px) 0;
    background-color: #eaf2f0;
    z-index: 1;
    border-bottom: 1px solid #91aeae;
  }

  .overview-panel {
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: none;
    border: 0 none;
  }

  /* Optional: tighten grid spacing on small screens */
  .overview-grid {
    gap: 12px;
  }

  /* Optional: scale/hide ornaments if they crowd the content */
  .overview-panel::after { transform: translate(10%, 10%) scale(.8); }

  .gallery-wrapper .wp-block-group {
    box-sizing: border-box;
    padding: clamp(20px, 4vw, 40px) 0;
  }
}

/* Desktop overlap remains only on large screens */

/* Section title */
.wp-block-heading {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  text-align: left;
  margin-bottom: clamp(20px, 3vw, 0px);
  position: relative;
}

/* Grid layout */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

/* Card styles */
.overview-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: clamp(16px, 2vw, 35px);
  text-align: center;
  font-family: 'Chivo', sans-serif;
  font-weight: 600;
  color: var(--ink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px; /* ensures uniform height */
}

/* Hover animation */
.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}


/* Desktop layout: 4 on top row, 3 centered on second row */
@media (min-width: 1000px) {
  .overview-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: clamp(28px, 3vw, 40px);
    row-gap: clamp(24px, 3vw, 32px);
  }

  /* Row 1 (4 items — stays same) */
  .overview-grid > .overview-card:nth-child(1) { grid-column: 1 / span 3; }
  .overview-grid > .overview-card:nth-child(2) { grid-column: 4 / span 3; }
  .overview-grid > .overview-card:nth-child(3) { grid-column: 7 / span 3; }
  .overview-grid > .overview-card:nth-child(4) { grid-column: 10 / span 3; }

  /* Row 2 (3 items — now wider, full-width utilization) */
  .overview-grid > .overview-card:nth-child(5) { grid-column: 1 / span 4; }
  .overview-grid > .overview-card:nth-child(6) { grid-column: 5 / span 4; }
  .overview-grid > .overview-card:nth-child(7) { grid-column: 9 / span 4; }
}

/* Top-left rings */

.overview-panel::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='95' fill='none' stroke='%23d5ebe7' stroke-width='20'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 40%;
  background-position: -40% 0;   /* same effect as translate(-40%, 0) */
  opacity:.6;
  z-index:0;
  pointer-events:none;
}

/* Right decorative ring */
.overview-panel::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -65px;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23d5ebe7' stroke-width='20'%3E%3Ccircle cx='100' cy='100' r='90'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Ccircle cx='100' cy='100' r='30'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}



.overview-panel * {
  position: relative;
  z-index: 1;
}

/* ===== Property Highlights (Minimal Style) ===== */

/* ===== Property Section (Two Columns) ===== */
.property-section {  
  padding: clamp(20px, 3vw, 80px) 0;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4vw, 60px);
  align-items: start;
}

/* Left Panel - Property Highlights */
.highlights-panel {
  padding: 0;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlights-list li {
  font-family: 'Chivo', sans-serif;
  font-size: clamp(16px, 1.2vw, 18px);
  color: #244b4a;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.highlights-list li i {
  color: #1e4f50;
  background: #d5ebe7;
  border-radius: 50%;
  padding: 6px;
  font-size: 14px;
  flex-shrink: 0;
}

/* Right Panel - CTA */
.cta-panel {
    padding: 0;
    text-align: center;
}

.cta-title {
  font-family: 'Chivo', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
  margin-bottom: 10px;
}

.cta-subtext {
  font-family: 'Chivo', sans-serif;
  font-size: clamp(16px, 1.2vw, 18px);
  color: #244b4a;
  margin-bottom: 30px;
}

.cta-subtext a {
  color: #244b4a;
  text-decoration: underline;
  font-weight: 600;
}

/* Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  font-family: 'Chivo', sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 999px;
  transition: all 0.3s ease;
  font-size: 16px;
  text-decoration: none;
}

/* Primary (filled) button */
.btn-primary {
  background-color: #1e4f50;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background-color: #173e3f;
}

/* Outline button */
.btn-outline {
  border: 1.8px solid #1e4f50;
  color: #1e4f50;
  background: #fff;
}

.btn-outline:hover {
  background-color: #d5ebe7;
}

.divider {
  font-family: 'Chivo', sans-serif;
  font-weight: 600;
  color: #244b4a;
}


/* ===== Mobile optimization for CTA section ===== */
@media (max-width: 600px) {
  .cta-panel {
    text-align: center;
    padding: 20px 5px;
  }

  .cta-title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .cta-subtext {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 10px 0;
  }

  .divider {
    display: none;
  }
}


/* ===== Footer ===== */
.site-footer {
  --footer-bg: #1e4f50;
  --footer-ink: #eaf2f0;
  --footer-muted: rgba(234,242,240,.85);

  background: var(--footer-bg);
  color: var(--footer-ink);
  padding-top: clamp(28px, 5vw, 48px);
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

/* Column headings */
.footer-brand {
  font-family: 'Chivo', sans-serif;
  font-weight: 800;
  letter-spacing: .5px;
  margin: 0 0 14px;
  color: var(--footer-ink);
}
.footer-title {
  font-family: 'Chivo', sans-serif;
  font-weight: 800;
  letter-spacing: .8px;
  margin: 0 0 12px;
  color: var(--footer-ink);
}

/* Lists */
.footer-contact,
.footer-links,
.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-contact li,
.footer-hours li {
  color: var(--footer-muted);
  line-height: 1.6;
  display: flex;
  gap: 10px;
}

.footer-contact i {
  width: 18px;
  margin-top: 3px;
  color: var(--footer-ink);
  opacity: .9;
}

/* Links */
.footer-links a {
  color: var(--footer-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: #ffffff; }
.footer-links i { opacity: .9; }

/* Bottom bar */
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: clamp(24px, 4vw, 40px);
  padding: 14px 0;
  color: var(--footer-muted);
  text-align: center;
  font-family: 'Chivo', sans-serif;
  font-weight: 300;
}

/* Small tweaks on mobile */
@media (max-width: 640px) {
  .site-footer { padding-top: 22px; }
  .footer-bar { font-size: 14px; }
}

/*Inner Pages*/

/* Stack hero contents vertically and center them */

.page-hero {
  text-align: center;  
  background-color: #1e4f50; 
  color: #fff;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 38px;
  text-align: center;
}

/* optional small refinements */
.page-hero h1 {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 40px;
}

.page-hero p {
  color: #d7e6e6;
  margin-bottom: 0;
}

.page-hero .breadcrumb {
  display: inline-flex;
  gap: 8px;
  color: #cbe2e2;
  font-weight: 500;
}

.page-hero .breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* ===== Gallery page sections ===== */
.gallery-section {
  padding: clamp(30px, 6vw, 30px) 0;
  background-color: #f4f9f8;
}
.gallery-section .section-header {
    padding-bottom: 30px;
}
.gallery-category {
  margin-bottom: clamp(40px, 6vw, 80px);
}

.gallery-section-title {
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0;
    font-size: 1.3em;
}

.gallery-section-title::before {
  content: "— ";
  color: #1e4f50;
  font-weight: 600;
}

.section-kicker {
  margin: 0;
  color: #516563;
  font-style: italic;
  line-height: 1.45;
  padding-left: 1.2rem;
}

.gallery-category p {
  color: #516563;
  font-style: italic;
  margin-bottom: 24px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.gallery-grid img {  
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);  
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}


/* Mobile layout for gallery sections 
  //---- Apply only for the two specific sections
*/

@media (max-width: 640px) {
  /* Two-column grid for the exam/bathroom sections */
  .gallery-wrapper .wp-block-group.exam-rooms .wp-block-gallery,
  .gallery-wrapper .wp-block-group.bathrooms .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    justify-items: stretch;
  }

  /* Ensure images fill their cells */
  .gallery-wrapper .wp-block-group.exam-rooms img,
  .gallery-wrapper .wp-block-group.bathrooms img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  }
}


@media (max-width: 640px) {
  /* Only apply to Reception & Common Areas section */
  .gallery-section.reception-areas .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none; /* hide scrollbar */
  }

  .gallery-section.reception-areas .gallery-grid::-webkit-scrollbar {
    display: none;
  }

  .gallery-section.reception-areas .gallery-grid img {
    flex: 0 0 90%;
    scroll-snap-align: center;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
}

/* hide dots by default (desktop) */
.gallery-section.reception-areas .gallery-dots { display: none; }

@media (max-width: 640px) {
  /* mobile-only slider styling */
  .gallery-section.reception-areas .gallery-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .gallery-section.reception-areas .gallery-grid::-webkit-scrollbar { display: none; }

  .gallery-section.reception-areas .gallery-grid img {
    flex: 0 0 90%;
    scroll-snap-align: center;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
  }

  /* show dots only on mobile */
  .gallery-section.reception-areas .gallery-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
  }
  .gallery-section.reception-areas .gallery-dots .dot {
    width: 10px; height: 10px; border-radius: 50%; border: 0;
    background: #c7d9d7; cursor: pointer;
  }
  .gallery-section.reception-areas .gallery-dots .dot.is-active { 
    background: #1e4f50; transform: scale(1.05); 
  }
}

/* Only Utility & Storage section images */
.utility-storage .gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

/* Optional: taller images for desktop */
@media (min-width: 768px) {
  .utility-storage .gallery-grid img {
    height: 250px;
  }
}

.contact-action-section {
  background: #e8f1f0;  
  padding: clamp(25px, 4vw, 25px);
  border: 1px solid #91aeae;
  border-radius: 15px;
}

.contact-action-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.contact-action-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: #113f3f;
  margin: 0 0 8px;
}

.contact-action-description {
  font-size: clamp(16px, 2vw, 18px);
  color: #2e4b5b;
  margin: 0;
}

.contact-action-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-action-divider {
  font-size: 15px;
  color: #345b5b;
  font-weight: 600;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  white-space: nowrap;
  gap: 8px;
  padding: 10px 28px;
}

.cta-btn--primary {
  background: #1c4f50;
  color: #ffffff;
}

.cta-btn--outline {
  border: 2px solid #1c4f50;
  color: #1c4f50;
  background: transparent;
}

.cta-btn--primary:hover {
  background: #163f41;
}

.cta-btn--outline:hover {
  background: #1c4f50;
  color: #ffffff;
}

@media (max-width: 768px) {
  .contact-action-layout {
    flex-direction: column;
    text-align: center;
  }

  .contact-action-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .contact-action-divider {
    display: none;
  }

  .cta-btn {
    width: 100%;
    max-width: 320px;
  }
}


/* Universal section wrapper */

.content-section{
  padding: clamp(20px, 4vw, 40px) 0;
}
.content-section .content-text {
  display: block;         
  grid-column: 1 / -1; 
  max-width: 100%;  
}

.content-section .content-text p {
  margin-bottom: 0;
  line-height: 1.65;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* Desktop: 2 columns */
@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px; /* or your clamp(...) if you like */
  }
}


/* Value item layout */
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Icon */
.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e3eef0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1e4f50;
  flex-shrink: 0;
}

/* Texts */
.value-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e4f50;
  margin-bottom: 6px;
}

.value-content p {
  color: #4a5b5d;
  line-height: 1.55;
}




/* ===== Contact Section ===== */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

/* Cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;   /* <-- forces equal height */
  margin-top: 40px;
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;   /* normal mobile stacking */
  }
}

.contact-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(24px, 3vw, 40px);
  height: 100%;             /* <-- match tallest sibling */
  display: flex;
  flex-direction: column;
}

/* Icon circle */

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0f4b4c;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 16px;
}

/* Left column typography */

.contact-office-name {
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-text {
  margin: 16px 0 8px;
}

.contact-text--secondary {
  margin-top: 24px;
}

.contact-phone,
.contact-email {
  font-weight: 700;
  margin: 4px 0;
}

.contact-phone--small,
.contact-email--small {
  font-weight: 500;
}

/* Right column – form */

.contact-intro {
  margin-bottom: 20px;
}

.contact-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d3dde5;
  padding: 10px 12px;
  font: inherit;
}

/* Primary button full width in form */
.btn-primary-wide {
  margin-top: 12px;
  width: 100%;
}

/* Mobile tweaks (optional) */
@media (max-width: 640px) {
  .contact-card {
    padding: 20px;
  }

  .btn-primary-wide {
    width: 100%;
  }
}


/* Header row inside each card */
.contact-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* Icon now sits inline with the text */
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0f4b4c;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* Tighten title spacing inside cards */
.contact-title {
  margin: 0;
}

/* CF7 submit styled like our outline button */
.contact-form .wpcf7-submit.btn.btn-outline {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.8px solid #1e4f50;
  background: #ffffff;
  color: #1e4f50;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.contact-form .wpcf7-submit.btn.btn-outline:hover {
  background-color: #d5ebe7;
  transform: translateY(-1px);
}

.contact-form .wpcf7-submit.btn.btn-outline:active {
  transform: translateY(0);
}


/* Fix About Page Values block */
.values-row.wp-block-columns {
  align-items: flex-start;
  border: 1px solid #f00;
}

/* Icon column – override Gutenberg inline flex-basis */
.values-row .wp-block-column:first-child {
  flex: 0 0 60px !important;   /* fixed width */
  max-width: 60px !important;
  width: 60px !important;      /* strongest override */
  padding-right: 16px;
}

/* Text column – take the remaining space */
.values-row .wp-block-column:nth-child(2) {
  flex: 1 1 auto !important;
}



.gallery-section.reception-areas > .wp-block-group__inner-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
}


.gallery-section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: clamp(12px, 2vw, 24px);
}

/* optional: spacing to images */
.gallery-section .gallery-row {
  margin-top: clamp(20px, 3vw, 32px);
}


/*Gallery page*/

.gallery-wrapper .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px) !important;
}

.gallery-wrapper .wp-block-gallery img {  
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);  
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.gallery-wrapper .wp-block-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.gallery-wrapper .wp-block-gallery .wp-block-image{
  width: inherit !important;
}

.gallery-wrapper .wp-block-heading {
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0;
    font-size: 1.3em;
}

.gallery-wrapper .wp-block-heading::before {
  content: "— ";
  color: #1e4f50;
  font-weight: 600;
}

@media (max-width: 640px) {
  .gallery-wrapper .wp-block-heading {
      position: relative;
      padding-left: 25px;
      font-size: 1.2em;
      line-height: 26px;
  }
  .gallery-wrapper .wp-block-heading::before {
      content: "—";
      position: absolute;
      left: 0;
      top: 0;
      color: #1e4f50;
      font-weight: 600;
  }
  .gallery-wrapper .section-kicker {
    padding-left: 1.5rem;
    font-size: 0.85rem;
  }
}

.gallery-wrapper .wp-block-group {
    box-sizing: border-box;
    padding: clamp(20px, 4vw, 30px) 0;
}

.home-content {
  padding: clamp(20px, 3vw, 30px) 0;
}