* { box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9e4d4;
  color: #333;
  line-height: 1.6;
}

header {
  background-color: #f7cdd0;
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  transition: color 0.3s;
}

nav a:hover { color: #d46a7a; }

/* Hero – no top cropping on wide screens */
.hero {
  position: relative;
  height: clamp(50vh, 60vh, 700px);
  min-height: 420px;
  background-image: url('hero-about.png');
  background-size: cover;
  background-position: center top; /* prioritizes top content */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 90%;
  padding: 1.5rem;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: bold;
  margin: 0;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Designed to Defy */
.designed-to-defy {
  padding: 4rem 6%;
  text-align: center;
  background-color: #fcefe6;
}

.designed-to-defy h2 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  margin-bottom: 1.8rem;
}

.defy-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 3rem;
}

.defy-text {
  max-width: 50%;
  text-align: left;
}

.defy-text p {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  margin: 1rem 0;
  color: #444;
}

.defy-images img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  object-fit: contain;
}

/* Signature Pieces / Alterations */
.signature-pieces {
  padding: 4rem 6%;
  text-align: center;
  background-color: #f9e4d4;
}

.signature-pieces h2 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  margin-bottom: 2.5rem;
}

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  justify-items: center;
}

.piece-item {
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.piece-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain; /* full image visible */
  background: #fff;
}

.piece-item p {
  margin: 1rem 0 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
}

/* Products Gallery */
.products-gallery {
  padding: 4rem 6%;
  text-align: center;
  background-color: #fcefe6;
}

.products-gallery h2 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  margin-bottom: 2rem;
}

.gallery-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.current-image {
  width: 100%;
  margin: 0 auto 1.5rem;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.current-image img {
  width: 100%;
  height: auto;
  max-height: 65vh;
  display: block;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(247, 205, 208, 0.85);
  color: #333;
  border: none;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 2;
  transition: all 0.25s ease;
}

.prev-btn:hover, .next-btn:hover {
  background: #f7cdd0;
  transform: translateY(-50%) scale(1.12);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

.image-counter {
  margin-top: 1.2rem;
  font-size: 1.2rem;
  color: #555;
}

/* Footer */
footer {
  padding: 2rem 6%;
  background-color: #f7cdd0;
  text-align: center;
}

footer p {
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

footer a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

footer img {
  width: 32px;
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* Mobile */
@media (max-width: 900px) {
  .hero { height: clamp(45vh, 55vh, 600px); }
  .defy-content {
    flex-direction: column;
    gap: 2.5rem;
  }
  .defy-text {
    max-width: 100%;
    text-align: center;
  }
  .current-image img { max-height: 55vh; }
}

@media (max-width: 600px) {
  header { padding: 1.2rem 5%; }
  nav { gap: 1rem 1.4rem; }
  .designed-to-defy, .signature-pieces, .products-gallery {
    padding: 3rem 7%;
  }
  .prev-btn, .next-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }
}