/* =========================================================
   Alta Bridal — stylesheet
   Palette: warm brown + ivory/cream, copper accent
   ========================================================= */

:root {
  --cream:      #faf5ec;
  --cream-2:    #f3ead9;
  --cream-3:    #ede0c9;
  --brown:      #5a4432;
  --brown-dark: #3d2e20;
  --copper:     #a9784b;
  --copper-lt:  #c39a6d;
  --ink:        #3a2c20;
  --muted:      #7c6b5a;
  --line:       #e0d3bd;
  --white:      #fffdf9;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --radius: 3px;
  --shadow: 0 18px 40px -24px rgba(58,44,32,.45);
  --nav-h: 150px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 112.5%; } /* 18px base — scales the whole site up */

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--copper); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brown); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--brown);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p  { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .74rem;
  color: var(--copper);
  margin: 0 0 1.1em;
}
.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--muted); }
.divider-dot { display:inline-block; width:6px;height:6px;border-radius:50%;background:var(--copper);margin:0 12px;vertical-align:middle;}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .78rem;
  padding: 15px 34px;
  border: 1px solid var(--brown);
  color: var(--brown);
  background: transparent;
  cursor: pointer;
  transition: all .25s ease;
}
.btn:hover { background: var(--brown); color: var(--cream); }
.btn--solid { background: var(--brown); color: var(--cream); }
.btn--solid:hover { background: var(--brown-dark); color: var(--cream); }
.btn--light { border-color: var(--cream); color: var(--cream); }
.btn--light:hover { background: var(--cream); color: var(--brown); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,245,236,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 132px; width: auto; }
.brand .brand-txt { font-family: var(--serif); font-size: 1.35rem; color: var(--brown); letter-spacing:.14em; text-transform:uppercase; line-height:1; }
.brand .brand-txt small { display:block; font-family:var(--sans); font-size:.55rem; letter-spacing:.3em; color:var(--copper); margin-top:4px; font-weight:400;}

.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.menu a {
  font-family: var(--sans); font-weight: 400; color: var(--ink);
  text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
  padding: 6px 0; position: relative;
}
.menu a::after {
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:1px;
  background: var(--copper); transition: width .25s ease;
}
.menu a:hover::after, .menu a[aria-current="page"]::after { width: 100%; }
.menu a[aria-current="page"] { color: var(--copper); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display:block; width:24px; height:2px; background: var(--brown); margin:5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 78vh;
  display: flex; align-items: center;
  color: var(--cream);
  text-align: center;
}
.hero::before {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(40,30,22,.35), rgba(40,30,22,.55));
}
.hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit: cover; z-index:-1; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--cream); margin-bottom: .3em; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero .eyebrow { color: var(--copper-lt); }
.hero p { font-size: 1.2rem; max-width: 560px; margin: 0 auto 2em; color: #f3ead9; }

/* page hero (shorter, for interior pages) */
.page-hero {
  position: relative; padding: 96px 0; text-align: center; color: var(--cream);
}
.page-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(40,30,22,.4), rgba(40,30,22,.6)); }
.page-hero .hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.page-hero .wrap { position: relative; z-index:1; }
.page-hero h1 { color: var(--cream); text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.page-hero .eyebrow { color: var(--copper-lt); }
.page-hero p { color:#f3ead9; max-width:600px; margin:.6em auto 0; }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--cream2 { background: var(--cream-2); }
.section--brown { background: var(--brown); color: var(--cream-2); }
.section--brown h2, .section--brown h3 { color: var(--cream); }
.section--brown .eyebrow { color: var(--copper-lt); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; box-shadow: var(--shadow); }
.split--reverse .split-media { order: 2; }
.split-body h2 { margin-bottom: .4em; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 34px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: var(--white); border: 1px solid var(--line);
  padding: 40px 32px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .num { font-family: var(--serif); font-size: 1.6rem; color: var(--copper); display:block; margin-bottom:.4em; }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* service cards with image */
.svc-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; display:flex; flex-direction:column; }
.svc-card img { height: 240px; width: 100%; object-fit: cover; }
.svc-card .svc-body { padding: 32px; }
.svc-card h3 { margin-bottom: .5em; }
.svc-card p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Stats / hours ---------- */
.info-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.info-bar .num { font-family: var(--serif); font-size: 3rem; color: var(--copper-lt); line-height:1; }
.info-bar .lbl { text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; margin-top: 10px; color: var(--cream-2); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { display:block; overflow:hidden; position:relative; }
.gallery img { width:100%; height: 340px; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.review {
  background: var(--white); border: 1px solid var(--line);
  padding: 36px 32px; position: relative;
}
.review .quote { font-family: var(--serif); font-size: 3.4rem; color: var(--cream-3); line-height: .6; height: 24px; }
.review p { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.review .who { font-family: var(--serif); color: var(--copper); font-size: 1.2rem; font-style: normal; margin-top: 12px; }
.stars { color: var(--copper-lt); letter-spacing: 3px; font-size:.9rem; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 8px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 4px;
  font-family: var(--serif); font-size: 1.4rem; color: var(--brown);
  position: relative;
}
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--copper); transition: transform .25s ease;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-a { padding: 0 4px 24px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.field { margin-bottom: 20px; }
.field label { display:block; font-size:.74rem; text-transform:uppercase; letter-spacing:.16em; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); border-radius: var(--radius);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--copper); }
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-info dt { font-size:.74rem; text-transform:uppercase; letter-spacing:.16em; color:var(--copper); margin-bottom:4px; }
.contact-info dd { margin: 0 0 26px; font-size: 1.15rem; color: var(--ink); font-family: var(--serif); }
.contact-info dd a { color: var(--ink); }
.contact-info dd a:hover { color: var(--copper); }

/* ---------- Blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }
.post-card { background: var(--white); border: 1px solid var(--line); display:flex; flex-direction:column; overflow:hidden; }
.post-card img { height: 220px; width:100%; object-fit: cover; }
.post-card .post-body { padding: 30px; display:flex; flex-direction:column; flex:1; }
.post-card .meta { font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; color:var(--copper); margin-bottom: 14px; }
.post-card h3 { font-size: 1.4rem; margin-bottom:.5em; }
.post-card p { color: var(--muted); font-size:.98rem; flex:1; }
.post-card .readmore { margin-top: 14px; font-size:.76rem; text-transform:uppercase; letter-spacing:.16em; }

/* article */
.article { max-width: 760px; margin: 0 auto; }
.article .meta { text-align:center; font-size:.76rem; text-transform:uppercase; letter-spacing:.16em; color:var(--copper); margin-bottom: 10px; }
.article h1 { text-align:center; font-size: clamp(2rem,4vw,3.1rem); margin-bottom:.4em; }
.article-hero { width:100%; height: 420px; object-fit: cover; margin: 40px 0; box-shadow: var(--shadow); }
.article h2 { font-size: 1.9rem; margin-top: 1.4em; }
.article h3 { font-size: 1.35rem; margin-top: 1.2em; color: var(--copper); }
.article p, .article li { color: var(--ink); }
.article ul { padding-left: 1.2em; margin-bottom: 1.2em; }
.article li { margin-bottom: .5em; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align:center; color: var(--cream); padding: 110px 0; }
.cta-band::before { content:""; position:absolute; inset:0; background: rgba(45,34,24,.62); }
.cta-band .hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; }
.cta-band .wrap { position:relative; z-index:1; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color:#efe4d2; max-width:520px; margin: 0 auto 2em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown-dark); color: #d9c9b4; padding: 72px 0 32px; }
.site-footer a { color: #e7d8c2; }
.site-footer a:hover { color: var(--copper-lt); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-grid h4 { color: var(--cream); font-size: 1.2rem; text-transform: uppercase; letter-spacing:.14em; }
.site-footer .brand-txt { color: var(--cream); font-family: var(--serif); font-size: 1.5rem; letter-spacing:.14em; text-transform:uppercase; }
.footer-menu { list-style:none; padding:0; margin:0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { text-transform: uppercase; letter-spacing:.12em; font-size:.78rem; }
.footer-hours span { display:block; font-size:.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:.8rem; color:#b6a591; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .menu.open { max-height: 80vh; }
  .menu li { width: 100%; text-align: center; border-top: 1px solid var(--line); }
  .menu a { display: block; padding: 18px 0; }
  .menu a::after { display:none; }

  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split-media { order: 0; }
  .grid-3, .reviews-grid, .post-list, .gallery { grid-template-columns: 1fr 1fr; }
  .info-bar { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  section { padding: 64px 0; }
  .grid-2, .grid-3, .reviews-grid, .post-list, .gallery, .form-row { grid-template-columns: 1fr; }
  .brand .brand-txt { font-size: 1.1rem; }
  :root { --nav-h: 104px; }
  .brand img { height: 88px; }
}
