/* 1) Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* 2) Base body styles */
/* Push everything down using a top spacer */
body {
  margin: 0;
  padding: 0;
  font-family: "Quicksand", sans-serif;
  background-color: #1b1b1b;
  color: #f3f3f3;
}

/* 1. Hero Section */
.hero {
  position: relative;
  height: 100vh;
  margin: 0;
  padding-top: 6rem; /* compensate for navbar height */
  padding-bottom: 4rem; /* reduce empty space at bottom */
  overflow: hidden;
  z-index: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* <--- this moves content UP */
}


.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1; /* ✅ ensures it's behind navbar */
}



.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(27, 27, 27, 0.5) 30%,
    #1b1b1b 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding: 10rem 1rem;
  max-width: 720px;
  text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.8);
}

/* 3. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background-color: rgba(255, 250, 235, 0.65) !important;
  backdrop-filter: blur(6px) brightness(1.05);
  border: none;
  box-shadow: none;
  padding: 0.5rem 1rem;
}



.navbar .container-fluid {
  background: transparent !important;
  backdrop-filter: inherit;
  border: none;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Logo stays solid */
.navbar-brand img {
  max-height: 72px;
  margin-left: 0.5rem;
  background-color: #fcf3e4;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}

/* CTA and Shop buttons */
.navbar .btn {
  background-color: #e76b6b !important;
  color: #fff !important;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  border: none !important;
}
.navbar .btn:hover {
  background-color: #d95a5a !important;
}

/* Toggler (hamburger) */
.navbar-toggler {
  background-color: #c5996b;
  border: none;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar Links */
.navbar .nav-link {
  color: #5e4630 !important;
  font-size: 1.05rem;
  font-weight: 500;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
.navbar-nav .nav-item {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}


/* 4) Skip-to-content link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: #000;
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
}

/* 6) Card overlap (if you ever use it) */
.card-overlap {
  margin-top: -50px;
  position: relative;
  z-index: 2;
}

/* 7) Image grid styling */
.image-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: 1px solid #444;
  transition: transform 0.3s;
}
.image-grid img:hover {
  transform: scale(1.02);
}
.caption {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: #ccc;
}
.col-md-6 {
  min-height: auto; /* Adjust as needed */
}

/* 8) Form inputs */
.form-control,
.form-select,
textarea {
  padding: 0.25rem 0.5rem;
  font-size: 0.95rem;
  height: auto;
}
textarea.form-control {
  min-height: 2.5rem;
}
#contactForm .form-label,
#contactForm .form-text {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #ccc !important;
}

/* 9) Links */
a {
  color: #e76b6b;
  text-decoration: none;
}
a.text-accent,
a.text-accent:visited {
  color: #a65500;
  text-decoration: underline;
}
a.text-accent:hover {
  color: #d3741d;
}
.text-accent {
  color: #ffd76c;
}
/* 10) Clickable-card hover */
.clickable-card {
  cursor: pointer;
  transition: transform 0.2s;
}
.clickable-card:hover {
  transform: scale(1.03);
}

/* 11) Modal styling */
.modal-content {
  background-color: #fff9f2;
  color: #3b2f2f;
}
.modal-body img {
  max-height: 500px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.modal-body p {
  color: #3b2f2f !important;
}

/* 12) Footer */
footer {
  background-color: #000;
  color: #ddd;
}
footer h5.text-light {
  color: #f3f3f3 !important;
}
footer p.text-muted {
  color: #ccc !important;
}
/* ———————————————— SHOP PRODUCT CARDS ———————————————— */
.product-card {
  background-color: #fff9f2;
  color: #3b2f2f;
  border-radius: 8px;
  padding: 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s;
}
.product-card:hover {
  transform: scale(1.02);
}
.product-card img {
  border-radius: 6px;
  max-height: 150px;   /* was 200px */
  object-fit: cover;
  margin: 0 auto;
}

.product-card .details {
  margin-top: 0.55rem;
}
.product-card .details h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #3b2f2f;
}
.product-card .details p {
  font-size: 0.9rem;
  color: #5e4630;
  margin-top: 0.5rem;
}
