:root {
  --bg-page: #f7f7f8;
  --bg-surface: #ffffff;

  --header-top: #4a1a24;
  --header-bottom: #24080f;

  --accent: #f3c28a;
  --accent-soft: #f8d8a7;

  --text-main: #1d1d22;
  --text-muted: #55556d;
  --border-subtle: #e5e5e9;
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
  --radius-lg: 16px;
  --radius-pill: 999px;
  --max-width: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
}

/* HEADER */

header.site-header {
  background: linear-gradient(to bottom, var(--header-top), var(--header-bottom));
  color: white;
  padding: 1.1rem 1.75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative; /* used for dropdown positioning */
}

.logo-wrap img {
  height: 112px;
  display: block;
}

nav.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.3rem;
  text-transform: uppercase;
  font-size: .86rem;
  letter-spacing: .08em;
  font-weight: 500;
}

nav.main-nav a {
  color: white;
  text-decoration: none;
  position: relative;
  padding-bottom: .25rem;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #f3c28a;
  transition: width .25s ease;
}

nav.main-nav a:hover::after,
nav.main-nav a.active::after { width: 100%; }

/* MAIN */

main {
  max-width: var(--max-width);
  margin: 2.5rem auto 3.5rem;
  padding: 0 1.5rem;
}

.hero {
  background: linear-gradient(135deg, rgba(74,26,36,.08), rgba(74,26,36,.16)), var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2.75rem 2.5rem;
  display: grid;
  grid-template-columns: minmax(0,3fr) minmax(0,2fr);
  gap: 2.5rem;
  border: 1px solid rgba(74,26,36,.25);
  margin-bottom: 2.5rem;
}

.hero-heading {
  font-family: "Bodoni Moda", "Times New Roman", serif;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .12s ease, box-shadow .12s ease, background-color .2s ease;
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  background: var(--accent);
  color: #3b1a11;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #3b1a11;
  border: 1px solid rgba(74,26,36,.4);
}

.btn-ghost:hover {
  background: rgba(74,26,36,.08);
  border-color: rgba(74,26,36,.6);
}

/* CARDS */

.content-card {
  background: linear-gradient(135deg, rgba(74,26,36,.04), rgba(74,26,36,.09)), var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 2rem 2.2rem;
  border: 1px solid rgba(74,26,36,.24);
}

/* FOOTER */

footer.site-footer {
  margin-top: 3rem;
  padding: 1.1rem 1.75rem 1.4rem;
  background: linear-gradient(to top, var(--header-bottom), var(--header-top));
  color: #f9eef2;
  font-size: .85rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
}

/* =========================================================
   MOBILE NAV (FIXED FOR PARTIAL-LOADED NAV)
   - Keep <nav> visible (so button can show)
   - Hide/show the <ul> with .is-open
   ========================================================= */

/* Default: hamburger hidden on desktop */
nav.main-nav .nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* Desktop / large screens */
@media (min-width: 1025px) {
  nav.main-nav ul {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 2.3rem;
    background: none;
    padding: 0;
    box-shadow: none;
  }

  nav.main-nav .nav-toggle {
    display: none;
  }
}

/* Mobile/tablet */
@media (max-width: 1024px) {
  /* Slightly smaller logo on phones */
  .logo-wrap img {
    height: 84px;
  }

  /* Keep nav container visible so the button is visible */
  nav.main-nav {
    display: block;
    position: relative;
  }

  /* Hamburger button */
  nav.main-nav .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    padding: 0.35rem 0.6rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  }

  /* Hide links by default */
  nav.main-nav ul {
    display: none;

    position: absolute;
    top: calc(100% + 0.6rem);
    right: 0;

    background: linear-gradient(to bottom, var(--header-top), var(--header-bottom));
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    z-index: 200;

    flex-direction: column;
    gap: 1rem;
    min-width: 220px;
  }

  /* Show links when open */
  nav.main-nav.is-open ul {
    display: flex;
  }
}

/* =========================================================
   HERO: subtle 3-image row embedded into the hero text block
   ========================================================= */

.hero-image-row {
  display: flex;
  gap: 0.85rem;
  margin: 1.1rem 0 1.35rem;
  align-items: center;
}

.hero-image {
  margin: 0;
  flex: 1;
  max-width: 140px; /* keeps images present but not dominant */
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  object-fit: cover;

  background: rgba(80, 18, 24, 0.06);
  border: 1px solid rgba(80, 18, 24, 0.16);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  opacity: 0.95;
  transition: transform 220ms ease, opacity 220ms ease;
}

/* subtle hover polish (desktop only) */
@media (hover: hover) {
  .hero-image img:hover {
    transform: translateY(-2px);
    opacity: 1;
  }
}

/* mobile: allow them to breathe and stay readable */
@media (max-width: 600px) {
  .hero-image-row {
    gap: 0.65rem;
  }
  .hero-image {
    max-width: none;
  }
}

/* accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    transition: none;
  }
}

/* Upsize the right-side hero image */
.hero-side-image {
  max-width: 280px;
}

.hero-side .hero-side-image.hero-image {
  max-width: 280px;
  width: 100%;
}

.hero-side .hero-side-image.hero-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

/* ABOUT PAGE LAYOUT */
.about-sections {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.about-block {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.about-block-alt {
  flex-direction: row-reverse;
}

/* TEXT */
.about-text p {
  line-height: 1.7;
  font-size: 1.05rem;
}

/* IMAGES — match hero style */
.about-image img {
  width: 380px;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* MOBILE — stack neatly */
@media (max-width: 800px) {
  .about-block,
  .about-block-alt {
    flex-direction: column;
  }

  .about-image img {
    width: 85%;
    max-width: 420px;
  }
}

.contact-form {
  display: block;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8b6ec5;
  box-shadow: 0 0 0 2px rgba(139,110,197,0.15);
}

.contact-form button {
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
}
