* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #EDE7DD;
  color: #000000;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: #000000;
  text-decoration: none;
}

/* ================= GLOBAL CONTAINER ================= */
.page-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= BREADCRUMBS ================= */
.breadcrumbs {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumbs a {
  color: rgba(0, 0, 0, 0.55);
}

.breadcrumbs a::after {
  content: " /";
  margin-left: 6px;
  color: rgba(0,0,0,0.35);
}

.breadcrumbs a:last-of-type::after {
  content: "";
}

.breadcrumbs span {
  color: #000000;
  font-weight: 600;
}

/* ================= HERO ================= */
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.hero-text p {
  margin: 6px 0;
  font-size: 16px;
}

.hero-link {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  border: 1px solid #000;
  background: transparent;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-link:hover {
  background: #000;
  color: #fff;
}

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

/* ================= GALLERY FILTER ================= */
.gallery-filter {
  max-width: 1100px;
  margin: 10px auto 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.gallery-filter button {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 6px 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(0,0,0,0.55);
  transition: all 0.25s ease;
}

.gallery-filter button.active {
  color: #000000;
  border-bottom: 1px solid #000000;
}

/* ================= GALLERY ================= */
.gallery {
  max-width: 1100px;
  margin: 40px auto 60px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.card {
  text-align: center;
}

.card-image img {
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.card:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* ================= OBJECT PAGE ================= */
.object-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.object-specs {
  margin: 16px 0;
  padding-left: 16px;
}

.material-note p {
  margin-bottom: 12px;
}

.material-note details summary {
  cursor: pointer;
  font-weight: 600;
}

/* ================= FOOTER ================= */
.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 20px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.45);
}

.site-footer a {
  color: #000;
}

.footer-subscribe input {
  width: 100%;
  max-width: 300px;
  padding: 6px 10px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,0.3);
}

.footer-about {
  margin: 20px 0;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  color: #000;
  text-decoration: none;
}

.footer-site-name {
  font-weight: 600;
}

/* ================= SCROLL TO TOP BUTTON ================= */
#scrollToTop {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;

  background: rgba(255, 255, 255, 0.85);
  color: #111;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;

  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease;

  z-index: 1000;
}

#scrollToTop.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#scrollToTop:hover {
  background: #fff;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 768px) {
  .hero-inner {
    flex-direction: column;
    gap: 20px;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.page-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.object-page .page-inner {
  display: block;
}

.object-specs {
  margin: 20px 0;
}

.material-note {
  margin: 20px 0;
}

.footer-subscribe {
  text-align: center;
  margin-bottom: 16px;
}

.footer-about {
  text-align: center;
  margin-bottom: 16px;
}

.footer-links {
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
}
