/* ========== RESET / BASE ========== */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:"Times New Roman",Times,serif;line-height:1.5}

.page-wrapper{display:flex;flex-direction:column;min-height:100vh}

/* ========== HEADER ========== */
.site-header{
  text-align:center;
  padding:1.5rem 1rem .75rem;
}
.site-title{
  margin:0;
  font-size:clamp(2rem,5vw,2.5rem);   /* ≈32-40 px */
  font-weight:700;
  display:flex;                        /* keep parts on one line */
  justify-content:center;
  gap:.5rem;
}
.title-left{color:#54595F;}
.title-right{color:#9A5F2C;}

/* ========== NAV ========== */
.site-nav{border-top:0px solid #E0E0E0;border-bottom:0px solid #E0E0E0;position:relative}

/* hamburger button (hidden on desktop) */
.nav-toggle{
  display:none;
  background:none;
  border:0;
  cursor:pointer;
  padding:.75rem;
  position:absolute;
  left:50%;                /* centered */
  top:.25rem;
  transform:translateX(-50%);
}
.bar{
  display:block;
  width:1.5rem;
  height:2px;
  background:#9A5F2C;      /* brand bronze */
  margin:4px 0;
  transition:.3s;
}
/* desktop menu */
.site-nav ul{margin:0;padding:0;list-style:none;display:flex;justify-content:center;flex-wrap:wrap}
.site-nav a{display:block;padding:.75rem 1.25rem;text-decoration:none;color:#000;font-size:1rem}
.site-nav a:hover,.site-nav a:focus,.site-nav a.active{color:#9A5F2C}

/* ========== FOOTER ========== */
.site-footer{text-align:center;padding:1rem 0;color:#898989;font-size:.9rem}

/* ===========================================================
   RESPONSIVE (≤600 px)
   =========================================================== */
@media (max-width:600px){
  /* show burger */
  .nav-toggle{display:block}

  /* stack header elements a bit tighter */
  .site-header{padding:1rem .75rem}

  /* NEW ► stack the two title spans */
  .site-title{
    flex-direction:column;      /* row → column */
    gap:0;                      /* no extra space between lines */
    line-height:1.15;           /* keeps the pair snug */
  }

  /* collapsed menu … (everything else in this block stays as is) */
  .site-nav ul{
    flex-direction:column;
    align-items:flex-start;
    padding-left:1rem;
    display:none;
  }
  .site-nav.open ul{display:flex}

  .site-nav a{padding:.6rem 0;font-size:1rem}

  .site-nav.open .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .site-nav.open .bar:nth-child(2){opacity:0}
  .site-nav.open .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}


/* ===== HERO SLIDER – centred absolute slides, fades ===== */
.hero-slider{
  position:relative;
  width:100%;
  height:600px;          /* fixed height */
  margin:15px 0;
  overflow:hidden;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* every slide starts fully centred & invisible */
.slide{
  position:absolute;
  inset:0;                          /* shorthand top:0; right:0; bottom:0; left:0 */
  display:flex;                     /* <-- new */
  justify-content:center;           /* center horizontally */
  align-items:center;               /* center vertically */
  opacity:0;
  transition:opacity 1s ease-in-out;
  pointer-events:none;
}

/* active slide just fades in & comes to the top */
.slide.active{
  opacity:1;
  z-index:1;
  pointer-events:auto;
}

/* images: native size, never stretched */
.slide img{
  display:block;
  max-width:100%;
  max-height:100%;
  height:auto;
}

/* caption: centred horizontally, bottom offset tweaked by JS */
.caption{
  position:absolute;
  left:50%;                     /* horizontal centre */
  transform:translateX(-50%);
  bottom:15px;                  /* default; JS will raise/lower as needed */
  margin:0;
  font-family:"Times New Roman",Times,serif;
  color:#fff;
  font-size:clamp(1.25rem,4vw,2rem);
  text-shadow:0 0 4px rgba(0,0,0,.6);
  text-align:center;
}

/* mobile caption tweak */
@media (max-width:600px){
  .caption{font-size:clamp(1rem,5vw,1.5rem)}
}


/* small screens – let the hero be a bit shorter */
@media (max-width:600px){
  .hero-slider{height:55vh;min-height:260px}
  .caption{font-size:clamp(1rem,5vw,1.5rem)}
}

/* ──────────────────────────────────────────────────────────
   CONTACT FORM STYLES
   (works for contact-wrapper in contact.html)
   ────────────────────────────────────────────────────────── */
.contact-wrapper{
  max-width:600px;          /* narrow column, same as hero height */
  margin:0 auto;            /* center in the page */
  padding:2rem 1rem;
}

.contact-wrapper h2{
  text-align:center;
  margin-top:0;
  font-size:clamp(1.6rem,4vw,2rem);
  color:#54595F;
}

/* label acts as a block container */
.contact-wrapper label{
  display:block;
  margin-bottom:1.25rem;
  font-size:1rem;
}

/* text inputs, email, textarea share the same look */
.contact-wrapper input[type="text"],
.contact-wrapper input[type="email"],
.contact-wrapper textarea{
  width:100%;
  padding:0.6rem 0.75rem;
  font-family:"Times New Roman",Times,serif;
  font-size:1rem;
  border:1px solid #ccc;
  border-radius:4px;
  background:#fafafa;
  transition:border-color 0.2s ease;
}

.contact-wrapper input:focus,
.contact-wrapper textarea:focus{
  outline:none;
  border-color:#9A5F2C;
  background:#fff;
}

/* send button (inherits Times) */
.contact-wrapper button{
  display:inline-block;
  padding:0.65rem 1.5rem;
  font-size:1rem;
  font-weight:700;
  color:#fff;
  background:#9A5F2C;
  border:0;
  border-radius:4px;
  cursor:pointer;
  transition:background 0.2s ease;
}

.contact-wrapper button:hover,
.contact-wrapper button:focus{
  background:#797979;
}

/* status message */
.contact-wrapper .status{
  margin-top:1rem;
  font-size:0.95rem;
  color:#54595F;
}

/* small-screen tweak */
@media (max-width:600px){
  .contact-wrapper{
    padding:1.25rem 0.75rem;
  }
}

/* ──────────────────────────────────────────────────────────
   ABOUT PAGE GRID
   ────────────────────────────────────────────────────────── */
.about-wrapper{
  max-width:1000px;
  margin:0 auto;
  padding:2rem 1rem;
}

.about-wrapper h2{
  text-align:center;
  margin:0 0 2rem;
  font-size:clamp(1.6rem,4vw,2rem);
  color:#54595F;
}

.about-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);   /* always 2 columns */
  gap:1rem;
}

.about-grid img{
  width:100%;
  height:auto;
  display:block;
  border-radius:4px;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
}

/* optional tighter stacking on very small screens */
@media (max-width:480px){
  .about-grid{
    grid-template-columns:1fr;
  }
}

/* ──────────────────────────────────────────────────────────
   ABOUT TEXT BLOCK
   ────────────────────────────────────────────────────────── */
.about-text{
  max-width:800px;        /* narrower than full page for easy reading */
  margin:2rem auto 0;     /* space above; centered */
  line-height:1.6;
}

.about-text p{
  margin:0 0 1.25rem;
  font-size:1rem;         /* matches body */
  color:#000;
}

/* ──────────────────────────────────────────────────────────
   CLIENTS PAGE
   ────────────────────────────────────────────────────────── */
.clients-wrapper{
  max-width:800px;
  margin:2rem auto;
  text-align:center;          /* center anything inside */
  padding:0 1rem;
}

.clients-wrapper h2{
  margin:0 0 1.5rem;
  font-size:clamp(1.6rem,4vw,2rem);
  color:#54595F;
}

.clients-list{
  /* centres the list block itself */
  margin:0 auto;
  max-width:100%;

  /* flex column keeps items stacked and centred */
  display:flex;
  flex-direction:column;
  align-items:center;

  list-style:none;
  padding:0;
}

.clients-list li{
  margin:0.4rem 0;
  font-size:1rem;
  text-align:center;   /* lines themselves centred */
}



/* ===========================================================
   RESPONSIVE  (≤600 px)  –  hamburger appears, menu collapses
   =========================================================== */
@media (max-width:600px){
  /* show burger */
  .nav-toggle{display:block}

  /* stack header elements a bit tighter */
  .site-header{padding:1rem .75rem}

  /* collapsed menu */
  .site-nav ul{
    flex-direction:column;
    align-items:flex-start;
    padding-left:1rem;
    display:none;               /* hidden until opened */
  }
  .site-nav.open ul{display:flex}

  .site-nav a{padding:.6rem 0;font-size:1rem}

  /* burger transforms into X when nav is open */
  .site-nav.open .bar:nth-child(1){transform:translateY(6px) rotate(45deg)}
  .site-nav.open .bar:nth-child(2){opacity:0}
  .site-nav.open .bar:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
}
