:root {
  --christmas-red: #C1121F;
  --holly-green: #0B6E4F;
  --gold-glow: #FFD700;
  --snow-white: #F8F9FA;
  --midnight-blue: #1B1F3B;
  --frost-silver: #DDE3E1;
  --tree-brown: #5C4033;
}

/* Base styles */
body {
  background-color: var(--snow-white);
  color: var(--midnight-blue);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* Hero banner */
.hero-banner {
  background: linear-gradient(to right, var(--christmas-red), var(--holly-green));
  color: var(--snow-white);
  text-align: center;
  padding: 2rem;
}

.hero-banner h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-banner p {
  font-size: 1.2rem;
}

/* Section titles centered */
 .section-lighting h2,
 .section-decorations h2 {
  text-align: center;
  font-size: 2rem;
   color: var(--christmas-red);
  text-shadow: 1px 1px var(--gold-glow);
  margin-bottom: 0.4rem;
}
/* Section descriptions left-aligned */
.section-lighting p,
.section-decorations p {
  text-align: center;
  color: var(--midnight-blue);
  margin: 0 auto 1rem auto;
  max-width: 800px;
}

/* Section backgrounds */
.section-lighting {
  background-color: var(--frost-silver);
  border-left: 5px solid var(--gold-glow);
  padding: 2rem;
}

.section-decorations {
  background-color: var(--holly-green);
  color: var(--snow-white);
  padding: 2rem;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Product cards */
.product-card {
  background-color: var(--snow-white);
  border: 2px solid var(--frost-silver);
  border-radius: 8px;
  padding: .5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: scale(1.03);
  border-color: var(--gold-glow);
}

.product-card img {
  max-width: 80%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.product-card h3 {
  font-size: 1.2rem;
  color: var(--christmas-red);
  margin: 2rem 0;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--midnight-blue);
  margin-bottom: 1rem;
}


/* CTA buttons inside product cards */
/* CTA buttons */
.cta-button {
  background-color: var(--gold-glow);
  color: var(--midnight-blue);
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
  background-color: var(--christmas-red);
  color: var(--snow-white);
}



/* Footer */
footer {
  background-color: var(--midnight-blue);
  color: var(--snow-white);
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}
/* Section with green background */
.section-decorations {
  background-color: var(--holly-green);
  color: var(--snow-white); /* makes all text inside default to white */
  padding: 2rem;
}

/* Optional: fine-tune paragraph text */
.section-decorations p {
  color: var(--frost-silver); /* softer silver tone for readability */
}
.navbar {
  background-color: var(--midnight-blue);
  text-align: center;
  padding: 0.75rem;
  position: sticky;   /* key property */
  top: 0;             /* sticks to the very top */
  z-index: 1000;      /* ensures it stays above other elements */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.navbar li {
  display: inline;
}

.navbar a {
  color: var(--snow-white);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: var(--gold-glow);
}
/* Product cards inside Decorations section */
.section-decorations .product-card {
  background-color: var(--snow-white); /* keep the white card */
  color: var(--midnight-blue);         /* force darker text */
}

.section-decorations .product-card p {
  color: var(--midnight-blue);         /* ensure descriptions are dark */
}
/* Promo banner */
.promo-banner {
  background: linear-gradient(to right, var(--christmas-red), var(--gold-glow));
  color: var(--snow-white);
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  animation: glowPulse 2s infinite;
}

/* Subtle glowing animation */
@keyframes glowPulse {
  0% { box-shadow: 0 0 10px var(--gold-glow); }
  50% { box-shadow: 0 0 20px var(--gold-glow); }
  100% { box-shadow: 0 0 10px var(--gold-glow); }
}
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FFD700;
  color: #1B1F3B;
  border: none;
  border-radius: 50px;
  padding: 12px 18px;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  display: none;
  z-index: 1000;
}
