/* Crystal Waters Personal Care Home — static site styles */

:root {
  --navy: #1f3350;
  --navy-deep: #16263d;
  --gold: #b0842f;
  --gold-soft: #c8a45a;
  --cream: #faf6ef;
  --cream-2: #f2ebdf;
  --ink: #23303f;
  --muted: #566476;
  --white: #ffffff;
  --line: #e4dccd;
  --shadow: 0 10px 30px rgba(22, 38, 61, 0.12);
  --radius: 14px;
  --maxw: 1140px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

a { color: var(--gold); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* Skip link */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: 50px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn:hover, .btn:focus { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--gold-soft); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover, .btn-outline:focus { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover, .btn-light:focus { background: var(--cream-2); color: var(--navy); }
.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover, .btn-ghost:focus { background: #fff; color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 1.25rem; max-width: var(--maxw); margin: 0 auto; }
.logo img { height: 48px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.main-nav a { color: var(--navy); font-weight: 600; font-size: 0.98rem; }
.main-nav a:hover, .main-nav a:focus { color: var(--gold); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 0.6rem; }
.header-phone { color: var(--navy); font-weight: 700; white-space: nowrap; }
.header-phone:hover { color: var(--gold); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: 0.2s; }

/* Hero */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: clamp(4rem, 12vw, 8rem) 0;
  background: linear-gradient(rgba(18,30,48,0.72), rgba(18,30,48,0.78)), url("images/MainDark.jpg");
  background-size: cover; background-position: center;
}
.hero h1 { color: #fff; max-width: 16ch; margin-inline: auto; }
.hero .eyebrow { color: var(--gold-soft); }
.hero p.lead { font-size: 1.25rem; max-width: 46ch; margin: 0 auto 1.75rem; color: #f3eee4; }
.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  margin-top: 2rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  padding: 0.6rem 1.1rem; border-radius: 50px; font-size: 0.9rem; color: #f3eee4;
}
.hero-badge img { height: 46px; width: auto; }

/* Section rhythm */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--cream-2); }
.section-navy { background: var(--navy); color: #eaf0f8; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; object-fit: cover; }
.about-list { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.25rem; }
.about-list li { position: relative; padding-left: 1.75rem; font-weight: 600; }
.about-list li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 0.85rem; height: 0.85rem;
  background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 3px rgba(176,132,47,0.2);
}

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; text-align: center; box-shadow: var(--shadow);
}
.card .icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; display: grid; place-items: center;
  background: var(--cream-2); border-radius: 50%; color: var(--gold);
}
.card .icon svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: 0.35rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Amenities columns */
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.amenity-col h3 { display: flex; align-items: center; gap: 0.6rem; }
.amenity-col ul { list-style: none; padding: 0; margin: 0; }
.amenity-col li { position: relative; padding: 0.4rem 0 0.4rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.amenity-col li:last-child { border-bottom: 0; }
.amenity-col li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.4rem;
  color: var(--gold-soft); font-weight: 700;
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .wide { grid-column: span 2; }

/* Quote / motto band */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--font-head); font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-style: italic; color: #fff; max-width: 22ch; margin: 0 auto 1rem; line-height: 1.3;
}
.quote-band cite { color: var(--gold-soft); font-style: normal; font-weight: 700; letter-spacing: 0.05em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-info dl { margin: 0; }
.contact-info dt { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; font-weight: 700; color: var(--gold); margin-top: 1.25rem; }
.contact-info dd { margin: 0.15rem 0 0; font-size: 1.1rem; }
.contact-info dd a { color: var(--ink); font-weight: 600; }
.contact-info dd a:hover { color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; height: 100%; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Text-us highlight */
.text-us {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-soft) 100%);
  color: #fff; border-radius: var(--radius); padding: 1.75rem; text-align: center; box-shadow: var(--shadow);
}
.text-us h3 { color: #fff; margin-bottom: 0.35rem; }
.text-us p { color: #fff6e8; margin-bottom: 1rem; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c3cede; padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 0.9rem; }
.site-footer a { color: #c3cede; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 54px; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.4rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: #8a99ad; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: #8a99ad; }

/* Responsive */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 0.75rem 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: span 2; }
  .about-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-phone { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .gallery figure:hover img { transform: none; }
}
