/* Reset */
body, h1, h2, h3, p, ul, ol {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: sans-serif;
  background-color: #d0e8f2;
}

/* Header Top */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: #d0e8f2;
}

.top-container-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  flex-grow: 1;
  padding: 10px;
}

.left-container-hdr,
.middle-container-hdr,
.right-container-hdr {
  flex: 1;
  display: flex;
  align-items: center;
}

.left-container-hdr { justify-content: flex-start; }
.middle-container-hdr { justify-content: space-between; }
.right-container-hdr { justify-content: space-around; }

.logo img { max-width: 100%; height: auto; }

.company-name a {
  font-family: "Blackadder ITC", cursive;
  font-size: 50px;
  color: #05a792;
  text-decoration: none;
}

/* Header Bottom */
.header-bottom {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background-color: #d0e8f2;
  padding: 10px;
}

.horizontal-menu {
  display: flex;
  background-color: #d0e8f2;
  padding: 20px 10px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.horizontal-menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.horizontal-menu ul li {
  margin: 0 5px;
  white-space: nowrap;
  text-align: center;
  padding: 20px 10px;
  background-color: #56e3e8;
  border-radius: 10px;
}

.horizontal-menu ul li a {
  color: #422c0b;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.horizontal-dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 10;
}

.horizontal-dropdown-menu a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
  font-size: 16px;
  background-color: #f1f1f1;
}

.horizontal-dropdown:hover .horizontal-dropdown-menu {
  display: block;
}

/* Vertical Dropdown */
.vertical-dropdown-container { position: relative; }
.vertical-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 10;
}

.vertical-dropdown-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.vertical-dropdown-container:hover .vertical-dropdown-menu,
.table-of-contents:hover .vertical-dropdown-menu,
.table-of-contents:focus-within .vertical-dropdown-menu {
  display: block;
}

/* Responsive */
@media screen and (max-width:800px) {
  header, .header-top, .header-bottom, .horizontal-menu {
    flex-direction: column;
    align-items: center;
  }
  .horizontal-menu ul {
    flex-direction: column;
    gap: 5px;
  }
  .horizontal-menu ul li {
    padding: 10px;
    width: 100%;
  }
}

.scene {
  position: relative;
  width: 100%;
  height: 100vh;
}

.wall {
  position: absolute;
  top: 0;
  width: 100%;
  height: 70%;
  background: #f4efe8; /* soft wall tone */
}

.floor {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30%;
  background: #c8b79f;
}
.fireplace {
  position: absolute;
  width: 26vw;

  left: 50%;
  transform: translateX(-50%);

  bottom: 52vh; /* sits exactly on wall-floor seam */
  z-index: 2;
}
.side-table {
  position: absolute;
  width: 12vw;

  left: 28%;
  bottom: 52vh;

  z-index: 2;
}
.couch {
  position: absolute;
  width: 42vw;

  left: 66%;
  transform: translateX(-50%);

  bottom: 20vh;
  z-index: 4;
}
.coffee-table {
  position: absolute;
  width: 26vw;

  left: 55%;
  transform: translateX(-50%);

  bottom: 6vh;
  z-index: 5;
}

/* Footer styling */
.footer { text-align: center; padding: 20px; background: #0a9396; color: #fff; }