/* === Base Styles and Reset === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fdfcf7;
}

/* === Top Bar (Sticky) === */
.top-bar {
  background-color: #D3C4B3;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.top-bar-social a {
  margin-left: 12px;
  width: 20px;
  height: 20px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  filter: invert(1);
  transition: transform 0.2s ease;
}

.top-bar-social a:hover {
  transform: scale(1.2);
}

.social-icon:hover {
  filter: brightness(1.2) invert(0.7);
}

.social-icon.instagram {
  background-image: url('images/icons/instagram.svg');
}
.social-icon.facebook {
  background-image: url('images/icons/facebook.svg');
}
.social-icon.x {
  background-image: url('images/icons/x.svg');
}
.social-icon.pinterest {
  background-image: url('images/icons/pinterest.svg');
}
.social-icon.tiktok {
  background-image: url('images/icons/tiktok.svg');
}

/* === Header === */
header {
  background-color: white;
  border-bottom: 1px solid #ccc;
  padding: 6px 20px;
  position: sticky;   /* ✅ Sticky behavior */
  top: 34px;          /* ✅ Pushes header below top-bar (which is ~34px tall including padding) */
  z-index: 9998;       /* Ensure it stays just under top-bar */
}


.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-title {
  display: flex;
  align-items: center;
}

.logo {
  height: 70px;
  width: auto;
  border-radius: 8px;
  cursor: pointer;
}

.site-title {
  font-size: 1.8rem;
  color: #2c432d;
  font-weight: 700;
  margin: 0;
}

/* === Navigation === */
nav {
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: #444;
  font-weight: 600;
  padding: 6px 0;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #2c432d;
  text-decoration: underline;
}

nav a.active {
  color: #2c432d;
  font-weight: bold;
  border-bottom: 2px solid #556B2F;
}

/* === Hero Section === */
.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(75%);
}

.hero-text {
  position: absolute;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-text h2 {
  font-size: 3rem;
  margin: 0 0 10px;
}

.hero-text p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.hero-text .button {
  background-color: #556B2F;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
  cursor: pointer;
}

.hero-text .button:hover {
  background-color: #002244;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #555;
  background-color: #f4f4f4;
  border-top: 1px solid #ccc;
}

/* === Payment Form Layout Fix === */
form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

label {
  font-weight: 600;
  color: #2c432d;
  margin-bottom: 0.4rem;
  display: block;
}

input {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
}

input:focus {
  border-color: #2c432d;
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 67, 45, 0.2);
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.form-row > div {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 600px) {
  .form-row > div {
    flex: 1 1 0;
  }
}
form#subscribe-form .quantity-control input[type="number"] {
  width: 40px;
  text-align: center;
  font-size: 16px !important;
  color: #000 !important;
  background-color: #fff !important;
  border: 1px solid #ccc;
  padding: 2px 4px;
}
@media (max-width: 768px) {
  header {
    padding: 5px 16px; /* Slightly less padding on tablets */
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 4px 12px; /* Tightest padding on small phones */
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .logo-title {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  nav {
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
  }
}
.faq-scrollable {
  overflow-y: auto;
  flex-grow: 1;
}
