* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f1e7;
  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 cropping on wide screens */
.hero {
  position: relative;
  height: clamp(50vh, 60vh, 700px);
  min-height: 420px;
  background-image: url('cuslon-culture2.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);
}

/* Our Living Philosophy */
.petwear-matters {
  padding: 4rem 6%;
  text-align: center;
  background-color: #fff;
}

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

.petwear-content {
  max-width: 800px;
  margin: 0 auto;
}

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

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

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

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

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

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

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

/* Made for living */
.behind-stitch {
  padding: 4rem 6%;
  text-align: center;
  background-color: #fff;
}

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

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

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

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

.behind-text p {
  font-size: clamp(1.2rem, 3.2vw, 1.45rem);
  color: #444;
}

/* 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 adjustments */
@media (max-width: 900px) {
  .hero {
    height: clamp(45vh, 55vh, 600px);
  }

  .behind-content {
    flex-direction: column;
    gap: 2.5rem;
  }

  .behind-text {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  header {
    padding: 1.2rem 5%;
  }

  nav {
    gap: 1rem 1.4rem;
  }

  .petwear-matters,
  .featured-styles,
  .behind-stitch {
    padding: 3rem 7%;
  }
}