/* ============================================================
   Auri Shared Homes — Site Stylesheet
   Warm & trustworthy: teal + cream, rounded, friendly
   ============================================================ */

:root {
  --teal: #20b2aa;
  --teal-dark: #147d77;
  --teal-deep: #0d5c58;
  --teal-tint: #e6f6f5;
  --cream: #faf7f2;
  --sand: #f3ede3;
  --ink: #23312f;
  --ink-soft: #52605e;
  --white: #ffffff;
  --gold: #d9a441;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 6px 24px rgba(13, 92, 88, 0.10);
  --shadow-lg: 0 14px 44px rgba(13, 92, 88, 0.16);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.05rem;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--teal-deep); font-weight: 600; }

a { color: var(--teal-dark); }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(13, 92, 88, 0.08);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 0;
}

.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
}

.brand-logo { height: 56px; width: auto; display: block; }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; }

.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: grid; place-items: center;
  color: var(--white); font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--shadow);
}

.brand-name {
  font-family: var(--font-head); font-size: 1.25rem;
  color: var(--teal-deep); font-weight: 700; line-height: 1.1;
}

.brand-name span { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }

.main-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.98rem;
  padding: 0.35rem 0; border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--teal-dark); }
.main-nav a.active { color: var(--teal-dark); border-bottom-color: var(--teal); }

.nav-cta {
  background: var(--teal); color: var(--white) !important;
  padding: 0.55rem 1.25rem !important; border-radius: 999px;
  border-bottom: none !important; box-shadow: var(--shadow);
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--teal-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; margin: 5px auto;
  background: var(--teal-deep); border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(140deg, rgba(13,92,88,0.93) 0%, rgba(20,125,119,0.88) 45%, rgba(32,178,170,0.72) 100%),
    url("https://images.unsplash.com/photo-1570129477492-45c003edd2be?w=1600&q=70&auto=format&fit=crop") center/cover no-repeat;
  color: var(--white);
  padding: 5.5rem 0 6.5rem;
}

.hero::after {
  content: ""; position: absolute; inset: auto -10% -1px -10%; height: 80px;
  background: var(--cream);
  border-radius: 100% 100% 0 0;
}

.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero .eyebrow {
  display: inline-block; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.3rem 1rem; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero h1 { color: var(--white); font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1.2rem; }

.hero p { font-size: 1.18rem; max-width: 560px; opacity: 0.94; margin-bottom: 2rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 0.85rem 2rem; border-radius: 999px; font-size: 1.02rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary { background: var(--white); color: var(--teal-deep); box-shadow: var(--shadow-lg); }
.btn-primary:hover { transform: translateY(-2px); }

.btn-teal { background: var(--teal); color: var(--white); box-shadow: var(--shadow); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-outline { border: 2px solid rgba(255,255,255,0.6); color: var(--white); margin-left: 0.8rem; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--sand); }
.section-teal-tint { background: var(--teal-tint); }

.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

.kicker {
  display: inline-block; color: var(--teal-dark); font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }

.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.1rem 1.9rem; box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.card .icon {
  width: 54px; height: 54px; border-radius: 16px;
  background: var(--teal-tint); display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 1.1rem;
}

.card h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.card p, .card li { color: var(--ink-soft); font-size: 0.99rem; }
.card ul { padding-left: 1.2rem; margin-top: 0.4rem; }
.card li { margin-bottom: 0.35rem; }

/* ---------- Card images ---------- */
.card .card-img {
  display: block; width: calc(100% + 3.8rem);
  margin: -2.1rem -1.9rem 1.4rem;
  height: 180px; object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* ---------- Image banner ---------- */
.img-banner {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); margin-bottom: 2.5rem;
}
.img-banner img { width: 100%; height: 320px; object-fit: cover; display: block; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split .media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.split p { color: var(--ink-soft); margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg); color: var(--white);
  padding: 3.2rem 2.5rem; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.7rem; }
.cta-band p { opacity: 0.94; max-width: 560px; margin: 0 auto 1.8rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(140deg, var(--teal-deep), var(--teal-dark));
  color: var(--white); padding: 3.8rem 0 4.2rem; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto -10% -1px -10%; height: 60px;
  background: var(--cream); border-radius: 100% 100% 0 0;
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.8rem); position: relative; z-index: 1; }
.page-hero p { max-width: 640px; margin-top: 0.8rem; opacity: 0.94; font-size: 1.12rem; position: relative; z-index: 1; }

/* ---------- Prose ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose p { margin-bottom: 1.3rem; color: var(--ink-soft); font-size: 1.08rem; }
.prose strong { color: var(--ink); }
.prose h3 { margin: 2rem 0 0.8rem; font-size: 1.35rem; }
.prose ul { margin: 0 0 1.3rem 1.3rem; color: var(--ink-soft); }
.prose li { margin-bottom: 0.4rem; }

.callout {
  background: var(--teal-tint); border-left: 5px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem; margin: 1.8rem 0; color: var(--ink);
}

/* ---------- Hours table ---------- */
.hours-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table td { padding: 0.85rem 1.4rem; border-bottom: 1px solid var(--sand); }
.hours-table tr:last-child td { border-bottom: none; }
.hours-table td:first-child { font-weight: 800; color: var(--teal-deep); width: 40%; }
.hours-table .closed { color: var(--ink-soft); font-style: italic; }

/* ---------- Contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }

/* ---------- Subscribe ---------- */
.subscribe-form { display: flex; gap: 0.8rem; max-width: 480px; margin: 0 auto; }
.subscribe-form input {
  flex: 1; padding: 0.85rem 1.2rem; border-radius: 999px;
  border: 2px solid rgba(13,92,88,0.15); font-size: 1rem; font-family: var(--font-body);
  outline: none; transition: border-color 0.2s;
}
.subscribe-form input:focus { border-color: var(--teal); }
.subscribe-form button {
  border: none; cursor: pointer; font-family: var(--font-body);
}
.subscribe-note { text-align: center; color: var(--ink-soft); font-size: 0.88rem; margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,0.85); padding: 3.2rem 0 1.8rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.2rem; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.9rem; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.45rem; }

.social-links { display: flex; gap: 0.7rem; margin-top: 0.8rem; }
.social-links a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.12); display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.social-links a:hover { background: var(--teal); transform: translateY(-2px); text-decoration: none; }
.social-links svg { width: 20px; height: 20px; fill: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.65);
}

/* ---------- Payment cards ---------- */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.payment-card { text-align: center; }
.payment-card .icon { margin-left: auto; margin-right: auto; }

/* ============================================================
   Responsive — tablet & mobile
   ============================================================ */

/* Tablet: relax the tighter multi-column layouts */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 2rem; }
}

/* Mobile navigation + single-column layouts */
@media (max-width: 860px) {
  /* --- Hamburger menu --- */
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(13, 92, 88, 0.10);
    box-shadow: var(--shadow);
    padding: 0.4rem 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  .main-nav.open {
    max-height: 85vh;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav a {
    padding: 0.9rem 6%;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(13, 92, 88, 0.06);
    border-radius: 0;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a.active { border-bottom-color: rgba(13, 92, 88, 0.06); background: var(--teal-tint); }
  .nav-cta {
    margin: 0.6rem 6% 0.4rem;
    text-align: center;
    padding: 0.75rem 1.25rem !important;
  }

  /* --- Collapse multi-column layouts --- */
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* --- Stack the subscribe form --- */
  .subscribe-form { flex-direction: column; }
  .subscribe-form button { width: 100%; }

  /* --- Tighter section rhythm --- */
  .section { padding: 3.2rem 0; }
  .hero { padding: 4rem 0 4.5rem; }
  .cta-band { padding: 2.4rem 1.6rem; }

  /* --- Buttons: full-width, no cramped side-by-side --- */
  .hero .btn { display: block; width: 100%; text-align: center; }
  .hero .btn + .btn { margin-left: 0; margin-top: 0.8rem; }
  .btn-outline { margin-left: 0; }
}

/* Small phones */
@media (max-width: 480px) {
  body { font-size: 1rem; }
  .container { width: 90%; }
  .brand-logo { height: 46px; }
  .hero { padding: 3.2rem 0 3.6rem; }
  .hero p { font-size: 1.05rem; }
  .section { padding: 2.6rem 0; }
  .card { padding: 1.7rem 1.4rem; }
  .card .card-img { width: calc(100% + 2.8rem); margin: -1.7rem -1.4rem 1.2rem; }
  .cta-band { padding: 2rem 1.2rem; }
  .page-hero { padding: 3rem 0 3.4rem; }
  .hours-table td { padding: 0.7rem 1rem; }
} 