* {
  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 */
.hero {
  position: relative;
  height: 60vh;                      /* taller for less cropping on laptops */
  min-height: 420px;                 /* good minimum */
  background-image: url('furryfashionbackground.png');
  background-size: cover;
  background-position: center top;   /* prioritizes top – shows dog's head/body */
  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.35);
  z-index: 1;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  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);
}

/* Petwear Matters */
.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;
}

/* Featured Styles */
.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;              /* optional – gives a clean card appearance */
  border-radius: 12px;
  padding: 1rem;                 /* optional – adds breathing room inside card */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* subtle shadow for depth */
}

.style-item img {
  width: 100%;
  height: auto;                  /* ← this is key: lets the image keep its natural proportions */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: contain;           /* shows the ENTIRE image – no cropping on sides, top, or bottom */
  background: #fff;              /* optional: clean white background if images have transparency */
}

/* Behind the Stitch */
.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);
}

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

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

/* Products Gallery – full images, no cropping */
.products-gallery {
  padding: 4rem 6%;
  text-align: center;
  background-color: #f9e4d4;
}

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

.gallery-container {
  position: relative;
  max-width: 800px;               /* adjust this value if you want larger/smaller main image */
  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;               /* prevents overly tall images on large screens */
  display: block;
  object-fit: contain;            /* shows the ENTIRE image – no cropping */
  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 adjustments */
@media (max-width: 900px) {
  .hero { height: 45vh; min-height: 320px; }
  .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, .products-gallery {
    padding: 3rem 7%;
  }
  .current-image img {
    max-height: 55vh;
  }
  .prev-btn, .next-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  .prev-btn { left: 5px; }
  .next-btn { right: 5px; }
}