@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  background: linear-gradient(to bottom, #e8d4b8, #b47f4b);
  color: #3c2412;
}

/* Navbar */
.navbar {
  background: #6b3e1f;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  position: sticky;
  top: 0;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-right: 25px;
  position: relative;
  transition: color 0.3s, transform 0.2s;
  display: inline-block;
}

/* Hover effect: lift and color change */
.navbar a:hover {
  color: #ffd9b3; /* accent color */
  transform: translateY(-2px);
}

/* Animated underline */
.navbar a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px; /* distance from text */
  background-color: #ffd9b3;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

/* Active page link styling */
.navbar a.active {
  color: #ffd9b3;
}

.navbar a.active::after {
  width: 100%;
}

.talk-button {
  background: #fff;
  color: #6b3e1f;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  position: relative;
}

.hero-text h1 {
  font-size: 4em;
  margin-bottom: 0;
}

.hero-text p {
  font-size: 1.3em;
}

.hero-art {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  opacity: 0.8;
}

/* Sections */
.section {
  background: rgba(255, 255, 255, 0.3);
  margin: 40px auto;
  width: 85%;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.section h2 {
  font-size: 2em;
  border-bottom: 2px solid #6b3e1f;
  display: inline-block;
  margin-bottom: 20px;
}

/* Image grids */
.image-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.image-grid img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}

.image-grid img:hover {
  transform: scale(1.05);
}

/* About */
.about p {
  font-size: 1.1em;
  line-height: 1.6em;
  text-align: center;
}

/* Contact */
.contact {
  text-align: center;
  background: #6b3e1f;
  color: #fff;
  padding: 40px 20px;
  border-top: 5px solid #4a2c14;
}

.contact h3 span {
  color: #ffd9b3;
}

.contact a {
  color: #ffd9b3; /* highlight color */
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: color 0.3s, transform 0.2s;
  display: inline-block;
}

.contact a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.contact a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s;
  margin-top: 2px;
}

.contact a:hover::after {
  width: 100%;
}

.contact-info {
  margin-top: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #3c2412;
}

.card img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.card img:hover {
  transform: scale(1.05);
}

.card p {
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
}

/* Wrap the section content so it always stretches to bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

/* Make the section expand to fill remaining space */
.section {
  flex: 1; /* stretch section to fill body */
  display: flex;
  flex-direction: column;
}

/* Make image grid expand inside section */
.image-grid {
  flex: 1; /* fill available section space */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start; /* items start at top */
}

/* Center all section headers and remove underline */
.section h2 {
  text-align: center;
  border-bottom: none; /* removes the line */
  display: block; /* ensures proper centering */
  margin-bottom: 20px; /* keep spacing below header */
}

.item-detail {
  text-align: center;
}

.item-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.main-img {
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.item-desc {
  max-width: 600px;
  margin: 20px auto;
  line-height: 1.6;
}

.shop-button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 12px;
  background-color: #6b3e1f;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, background-color 0.2s;
}

.shop-button:hover {
  background-color: #8c532e;
  transform: translateY(-2px);
}