/* ---------- Theme ---------- */
:root{
  --bg:#ffffff;
  --text:#222;
  --muted:#6b7280;
  --brand:#7b0f1d;     /* wine red */
  --accent:#c9a86a;    /* gold */
  --header:#1c1c1c;    /* charcoal */
  --surface:#f7f7f7;
}

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

/* ---------- Base fonts ---------- */
body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}
h1,h2,h3{
  font-family:"Playfair Display", Georgia, serif;
  line-height:1.25;
  margin:0 0 .5rem;
}

/* ---------- Layout helpers ---------- */
.container{max-width:980px;margin:0 auto;padding:1.25rem}
.section{padding:2.5rem 0}
.center{text-align:center}

/* ---------- Header & Nav (Sticky) ---------- */
header{
  background:var(--header);
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
}
header .wrap{
  display:flex; align-items:center; justify-content:space-between;
  max-width:1100px; margin:0 auto; padding:.9rem 1.25rem;
}
.brand{display:flex; gap:.75rem; align-items:center}
.brand h1{font-size:1.3rem; letter-spacing:.2px; margin:0; color:var(--accent)}
nav a{color:#fff; text-decoration:none; margin-left:1rem; font-size:.98rem}
nav a:hover{color:var(--accent); text-decoration:none}

/* Mobile menu button */
.menu-btn{
  display:inline-flex; align-items:center; gap:.4rem;
  background:transparent; border:1px solid #fff4; color:#fff;
  padding:.4rem .6rem; border-radius:8px; cursor:pointer
}
.menu-btn span{font-size:.95rem}
@media (min-width: 800px){ .menu-btn{display:none} }

.nav-links{display:none}
@media (min-width:800px){ .nav-links{display:block} }
.nav-open .nav-links{display:block}

/* ---------- Buttons ---------- */
.cta,
.btn,
.btn-outline{display:inline-block; border-radius:10px; text-decoration:none; font-weight:700}

.cta{background:var(--accent); color:#111; padding:.85rem 1.3rem}
.cta:hover{filter:brightness(1.05)}

.btn{background:var(--brand); color:#fff; padding:.8rem 1.2rem}
.btn:hover{filter:brightness(1.05)}

.btn-outline{background:transparent; color:#fff; border:2px solid #fff; padding:.75rem 1.1rem}

/* ---------- Hero (two-column, responsive) ---------- */
.hero{
  background:linear-gradient( to bottom right, #7b0f1d, #5f0b16 );
  color:#fff;
  text-align:center;
  padding:3.5rem 1.25rem 3rem;
  overflow:hidden; /* prevent any tiny overflow */
}
.hero .inner{
  max-width:1100px; margin:0 auto;
}
.hero picture{display:block; margin:0 auto 1rem}
.hero img{display:block; max-width:100%; height:auto; border-radius:12px}

/* Desktop: image left, text right (centered, constrained) */
@media (min-width:768px){
  .hero .inner{
    display:flex; align-items:center; justify-content:center; gap:2rem;
    text-align:left; padding:0 1rem;
  }
  .hero picture{
    flex:0 1 45%;
    max-width:500px;              /* keep image from pushing off-screen */
    margin:0;
  }
  .hero img{
    width:100%; height:auto;
    object-fit:cover;
    object-position:center;       /* center the crop */
  }
  .hero .hero-text{
    flex:0 1 50%;
    max-width:500px;              /* balance with image width */
  }
}

.hero h2{font-size:clamp(1.8rem,4.5vw,2.8rem); margin-bottom:.5rem}
.hero p{color:#ffe9ed; margin:0 0 1.25rem}

/* ---------- Sections & cards ---------- */
.leads{display:grid; gap:1rem; grid-template-columns:1fr; margin-top:1.5rem}
@media(min-width:800px){ .leads{grid-template-columns:repeat(3,1fr)} }

.card{
  background:#fff; border:1px solid #eee; border-radius:14px; padding:1rem 1.1rem;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
}
.card h3{margin:.25rem 0 .35rem}
.card p{margin:0; color:var(--muted)}

/* ---------- Gallery grid ---------- */
.grid{display:grid; gap:.8rem; grid-template-columns:repeat(2,1fr)}
@media(min-width:700px){ .grid{grid-template-columns:repeat(3,1fr)} }
.grid img{width:100%; height:auto; display:block; border-radius:12px}

/* Optional: dedicated gallery wrapper if used */
.gallery-grid .grid{
  list-style:none; padding:0; margin:1rem auto;
  display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
  max-width:1100px
}
.gallery-grid img{
  display:block; width:100%; height:auto; border-radius:12px;
  box-shadow:0 6px 18px rgba(0,0,0,.08)
}

/* ---------- Forms ---------- */
form{max-width:640px}
form p{margin:0 0 .9rem}
input,textarea{
  width:100%; padding:.7rem .8rem; border:1px solid #e5e7eb; border-radius:10px; font:inherit;
  background:#fff;
}
textarea{min-height:140px; resize:vertical}
button{
  appearance:none; border:0; background:var(--brand); color:#fff;
  padding:.8rem 1.2rem; border-radius:10px; font-weight:700; cursor:pointer;
}
button:hover{filter:brightness(1.05)}
/* ---------- About page bio layout ---------- */
.bio {
  display: flex;
  flex-direction: column;
  align-items: center;         /* center image on mobile */
  gap: 1.5rem;
  max-width: 900px;            /* keeps it from stretching full screen */
  margin: 0 auto;              /* centers the whole block */
  padding: 0 1.25rem;          /* adds space from left/right edges */
}

.bio-pic {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.bio-text {
  flex: 1;
  color: var(--text);
  line-height: 1.65;
  padding: 0 0.5rem;           /* extra breathing room from the edges */
  text-align: left;
}

/* Side-by-side on larger screens */
@media (min-width: 768px) {
  .bio {
    flex-direction: row;
    align-items: flex-start;
  }
  .bio-pic {
    margin: 0;
  }
  .bio-text {
    padding: 0 1rem;
  }
}
/* ---------- About page bio layout (mobile-first) ---------- */
.bio {
  display: flex;
  flex-direction: column;
  align-items: center;      /* centers the image wrapper on mobile */
  gap: 1.25rem;
  max-width: 900px;         /* keeps the whole bio from going edge-to-edge */
  margin: 0 auto;           /* centers the whole bio block */
  padding: 0 1.25rem;       /* breathing room from screen edges */
}

.bio-pic {
  display: block;
  width: 100%;
  max-width: 320px;         /* image never gets too huge on mobile */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  margin: 0 auto;           /* strong centering for the image itself */
}

.bio-text {
  width: 100%;
  line-height: 1.65;
  padding: 0 1rem;          /* keeps text away from edges on phones */
  text-align: left;
}

/* Side-by-side on larger screens, still with comfortable padding */
@media (min-width: 768px) {
  .bio {
    flex-direction: row;
    align-items: flex-start;
    padding: 0 1.25rem;     /* keep some side padding on desktop too */
    gap: 2rem;
  }
  .bio-pic {
    margin: 0;              /* align with text when side-by-side */
    max-width: 360px;
  }
  .bio-text {
    padding: 0 0 0 1rem;    /* a little space between image and text */
    max-width: 52ch;        /* readable line length */
  }
}
/* ---------- Footer ---------- */
footer{
  text-align:center; background:var(--surface); color:var(--muted);
  padding:1.1rem; font-size:.95rem; margin-top:2rem
}

/* ---------- Lightbox ---------- */
#lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 9999;
}
#lightbox.active { opacity: 1; pointer-events: auto; }
#lightbox img { max-width: 90%; max-height: 90%; box-shadow: 0 0 8px #000; }
#lightbox::after {
  content: "✕";
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Scroll-reveal (used with JS) ---------- */
.hidden { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.show   { opacity: 1; transform: translateY(0); }