/* =========================
   RESET + TOKENS
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

/* =========================
   PAGE LAYOUT (GRID)
========================= */
body {
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #101010;

  padding: 2rem 3rem;
  margin-inline: auto;
  max-inline-size: 1500px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto auto auto auto auto auto auto auto;
  grid-template-areas:
    "header  header  header  header"
    "sidebar box-0   box-0   box-0"
    "sidebar box-1   box-1   box-1"
    "sidebar box-2   box-2   box-2"
    "sidebar box-3   box-3   box-3"
    "sidebar box-4   box-4   box-4"
    "sidebar box-5   box-5   box-5"
    "sidebar box-6   box-6   box-6"
    "sidebar box-7   box-7   box-7"
    "footer  footer  footer  footer";
  gap: 1rem;
  min-height: 100vh;
}

/* =========================
   GRID AREAS
========================= */
.home-page { grid-area: header; }
.sidebar { grid-area: sidebar; }

.main-content-box-0 { grid-area: box-0; }
.main-content-box-1 { grid-area: box-1; }
.main-content-box-2 { grid-area: box-2; }
.main-content-box-3 { grid-area: box-3; }
.main-content-box-4 { grid-area: box-4; }
.main-content-box-5 { grid-area: box-5; }
.main-content-box-6 { grid-area: box-6; }
.main-content-box-7 { grid-area: box-7; }

.footer { grid-area: footer; }

/* =========================
   PANELS (border + padding)
========================= */
.home-page,
.footer,
.main-content-box-0,
.main-content-box-1,
.main-content-box-2,
.main-content-box-3,
.main-content-box-4,
.main-content-box-5,
.main-content-box-6,
.main-content-box-7 {
  /*
  border: 1px solid var(--clr--blue_lite); */
  border-radius: var(--radius);
  padding: var(--panel-pad);
}

.main-content-box-0 {
  background-color: rgb(220, 230, 233);
}

.main-content-box-2 {
    background-color: rgb(220, 230, 233);
}

.main-content-box-4 {
      background-color: rgb(220, 230, 233);
}

/* =========================
   HEADER / NAV
========================= */
.home-page {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--clr--blue_dark);
}

.logo { 
   background: transparent;
   margin-top: 5px;
   width: 100%;
  


}

.site-nav-toggle {
  font-size: 1.3rem;
  line-height: 1;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  padding: 0.25rem 0.55rem;
  border-radius: 10px;
}

.site-nav-toggle:hover { border-color: var(--clr--blue_lite); }

.site-nav {
  display: none;
  justify-content: flex-end;
  gap: 1.25rem;
}

.site-nav.is-open { display: flex; }

.site-nav a {
  font-weight: 600;
  color: var(--clr--blue_dark);
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }

@media (min-width: 650px) {
  .site-nav-toggle { display: none; }
  .site-nav { display: flex; }
}

/* =========================
   SIDEBAR
========================= */
.sidebar {
  position: sticky;
  top: 2rem;
  align-self: start;
  height: fit-content;
  border-radius: var(--radius);
  padding: 1rem;
}

.house-y_room-y {
  display: grid;
  gap: 0.6rem;
}

.sidebar-nav {
  width: 100%;
  text-align: left;

  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;

  padding: 0.6rem 0.85rem;
  border-radius: 10px;

  border: 1px solid var(--clr--green_forest);
  background-color: var(--clr--green_aqua);
  color: var(--clr--green_dark);

  cursor: pointer;
  transition: transform 120ms ease, box-shadow 160ms ease;
}

.sidebar-nav:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}
.sidebar-nav:active { transform: translateY(0); }

/* ===== Sidebar toggle button ===== */
.sidebar-toggle{
  font-size: 1rem;
  line-height: 1;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
}

.sidebar-toggle:hover { border-color: var(--clr--blue_lite); }

/* ===== MOBILE: sidebar hidden by default ===== */
@media (max-width: 649px){
  .sidebar{
    display: none;            /* collapsed */
  }
  .sidebar.is-open{
    display: block;           /* expanded */
  }
}

/* ===== DESKTOP: sidebar always visible, toggle hidden ===== */
@media (min-width: 650px){
  .sidebar-toggle{
    display: none;
  }
  .sidebar{
    display: block !important;  /* force visible */
  }
}


/* =========================
   BOX LAYOUTS (flex sections)
========================= */
.main-content-box-0,
.main-content-box-1,
.main-content-box-2,
.main-content-box-3,
.main-content-box-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

/* titles full width */
.page-description,
.page-description-2,
.page-description-3,
.page-description-4,
.page-description-5,
.page-description-6,
.page-description-7,
.page-description-8 {
  flex: 0 0 100%;
  text-align: center;
  font-size: clamp(1.2rem, 1rem + 1vw, 2rem);
  margin: 0.25rem auto 0.75rem;
}

/* two-column base rule for “house” items inside box sections */
.main-content-box-0 > .house-1,
.main-content-box-0 > .house-2,
.main-content-box-1 > .house-3,
.main-content-box-1 > .house-4,
.main-content-box-2 > .house-5,
.main-content-box-2 > .house-6,
.main-content-box-3 > .house-7,
.main-content-box-3 > .house-8,
.main-content-box-4 > .house-9,
.main-content-box-4 > .house-10 {
  flex: 1 1 420px;
  min-width: 320px;
}

/* make house-1 full width (wide centered text window) */
.main-content-box-0 > .house-1 { flex: 0 0 100%; }
.main-content-box-1 > .house-3 { flex: 0 0 100%; }

/* =========================
   ROOM WRAPPERS
========================= */
.house-1_room-1,
.house-2_room-2,
.house-3_room-3,
.house-4_room-4,
.house-5_room-5,
.house-6_room-6,
.house-7_room-7,
.house-8_room-8,
.house-9_room-9,
.house-10_room-10 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
}

.house-1_room-1,
.house-3_room-3 {
  padding: 2rem 1rem;
}

/* =========================
   SUMMARY BLOCKS
========================= */
.room-1-summary,
.room-3-summary {
  border-radius: 12px;
  padding: 1.25rem 1.4rem;

  width: 100%;
  max-width: 120ch;
  margin-inline: auto;

  max-height: none;
  overflow: visible;

  font-family: "Roboto", system-ui, sans-serif;
  color: #101010;

  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ts-title { font-weight: 800; font-size: 1.1rem; }

.ts-h {
  font-weight: 800;
  font-size: 1rem;
  margin-top: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ts-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.ts-bullet {
  display: block;
  font-size: 0.93rem;
  line-height: 1.55;
  color: #1a1a1a;
  padding-left: 1.1rem;
  position: relative;
}
.ts-bullet::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

/* =========================
   SIMPLE CARDS (for new boxes)
========================= */
.panel-card,
.wide-panel {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255,255,255,0.6);
}

.panel-title {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.panel-text {
  font-family: "Roboto", system-ui, sans-serif;
  font-size: 0.95rem;
  color: #1a1a1a;
}

/* =========================
   IMAGES
========================= */
.room-1-image {
  display: block;
  width: 50%;        /* 🔧 change this value anytime */
  height: auto;
  margin-inline: auto; /* optional: center image */
  border-radius: 15px;
}

.room-2-image {
  display: block;
  width: 100%;        /* 🔧 change this value anytime */
  height: auto;
  margin-inline: auto; /* optional: center image */
}

.room-3-image {
  display: block;
  align-items: center;
  width: 50%;
   margin-inline: auto; /* optional: center image */
  height: auto;
}

.room-5-image {
      display: block;
  align-items: center;
  width: 100%;
   margin-inline: auto; /* optional: center image */
  height: auto;

}

.room-8-image{
  display: block;
  width: 70%;
  height: auto;
  margin-inline: auto;

  border: 4px solid #fff;           /* ✅ default = white (same as body background) */
  border-radius: 12px;
}



.room-9-image {
      display: block;
  align-items: center;
  width: 70%;
   margin-inline: auto; /* optional: center image */
  height: auto;
}




/* ======================
Footer ==============*/


.copyright {
  font-weight: 500;
  align-items: center;
  font-size: 14px;
  padding: 5px;

}

/* =========================
   MOBILE GRID (matches your screenshot)
   - header full width
   - sidebar full width
   - each box full width
   - footer full width
========================= */
@media (max-width: 649px) {
  body {
    padding: 1rem;

    /* keep 4 columns so template lines match your format */
    grid-template-columns: repeat(4, 1fr);

    grid-template-areas:
      "header  header  header  header"
      "sidebar sidebar sidebar sidebar"
      "box-0   box-0   box-0   box-0"
      "box-1   box-1   box-1   box-1"
      "box-2   box-2   box-2   box-2"
      "box-3   box-3   box-3   box-3"
      "box-4   box-4   box-4   box-4"
      "box-5   box-5   box-5   box-5"
      "box-6   box-6   box-6   box-6"
      "box-7   box-7   box-7   box-7"
      "footer  footer  footer  footer";
  }

  .room-1-summary,
  .room-3-summary { max-width: 100%; }

  /* optional: make sticky sidebar behave nicer on mobile */
  .sidebar { position: relative; top: auto; }
}


/* =========================
   DESKTOP GRID (your original sidebar-left layout)
========================= */
@media (min-width: 650px) {
  body {
    padding: 2rem 3rem;

    grid-template-columns: 1fr 5fr 5fr 5fr;

    grid-template-areas:
      "header  header  header  header"
      "sidebar box-0   box-0   box-0"
      "sidebar box-1   box-1   box-1"
      "sidebar box-2   box-2   box-2"
      "sidebar box-3   box-3   box-3"
      "sidebar box-4   box-4   box-4"
      "sidebar box-5   box-5   box-5"
      "sidebar box-6   box-6   box-6"
      "sidebar box-7   box-7   box-7"
      "footer  footer  footer  footer";
  }

  /* restore sticky on desktop */
  .sidebar { position: sticky; top: 2rem; }
}

/* =========================
   MOBILE: make images larger
========================= */
@media (max-width: 649px) {

  /* give images more room on small screens */
  .house-1_room-1,
  .house-3_room-3,
  .house-5_room-5,
  .house-8_room-8,
  .house-9_room-9 {
    padding: 0.75rem 0.5rem; /* tighter padding = bigger image area */
  }

  /* make the "small" images scale up on mobile */
  .room-1-image,
  .room-3-image {
    width: min(109%, 520px);   /* was 50% */
  }

  .room-8-image,
  .room-9-image {
    width: min(109%, 560px);   /* was 70% */
  }

  /* already 100%, but keep it safe + consistent */
  .room-2-image,
  .room-5-image {
    width: 100%;
    max-width: 600px;
  }
}



