body {
  padding-top: 70px;
  background-color: #fefae0;
  overflow-x: hidden;
}

.navbar {
  background: linear-gradient(135deg, #5f6f52, #a9b388); /* Rich gradient */
  border-bottom: 3px solid #b99470; /* Gold border */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow */
  padding: 10px 0; /* Extra padding */
}

.navbar-brand img {
  height: 50px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3)); /* Soft logo shadow */
  border-radius: 50%;
}

.navbar-nav .nav-item {
  margin: 0 10px; /* Spacing between items */
}

.nav-link {
  color: #fff !important;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
}

.nav-link:hover {
  color: #fefae0 !important;
  transform: scale(1.1); /* Slight scale effect */
}

.navbar-toggler {
  border: 2px solid #fefae0; /* Styled toggler button */
}

.navbar-toggler:focus {
  box-shadow: 0 0 5px #fefae0; /* Glow effect */
}

p,
span {
  color: #f8f9fa;
}

@keyframes snow {
  0% {
    transform: translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}
.snowflake {
  position: absolute;
  top: -10px;
  color: #fff;
  font-size: 1em;
  user-select: none;
  animation: snow linear infinite;
}

.btn {
  background-color: #ff4500; /* Christmas red for the button */
  color: #fff; /* White text */
  font-family: 'Arial', sans-serif; /* Consistent font */
  padding: 10px 20px; /* Comfortable padding */
  border-radius: 25px; /* Rounded corners for a friendly look */
  border: none; /* Remove default border */
  text-transform: uppercase; /* Uppercase text for buttons */
  font-weight: bold; /* Bold for emphasis */
  letter-spacing: 1px; /* Spacing for clarity */
  cursor: pointer; /* Pointer cursor on hover */
  transition: all 0.3s ease-in-out; /* Smooth transition */
}

.btn:hover {
  background-color: #ffcc00; /* Gold color on hover */
  color: #8b0000; /* Deep red text on hover */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 0 0 15px #ffcc00; /* Glow effect */
  transform: scale(1.05); /* Slight grow on hover */
}

img {
  object-fit: cover;
  opacity: 0; /* Start as invisible */
  transition: opacity 1s ease-in-out; /* Smooth transition for opacity */
}

/* Fade-in animation when the image enters the viewport */
img.visible {
  opacity: 1; /* Fade in when the image is in view */
  animation: fadeIn 1s ease-in-out forwards; /* Add the fade-in animation */
}

/* Optional: Create a keyframe for a smooth fade-in */
@keyframes fadeIn {
  from {
    opacity: 0; /* Start from invisible */
  }
  to {
    opacity: 1; /* Fade to fully visible */
  }
}

/* Roadmap Section Styling */
section.roadmap {
  padding: 20px;
  background: url('santa-bg.png') no-repeat center center; /* Replace with your festive background image URL */
  background-size: cover;
  font-family: Arial, sans-serif;
  color: #000;
}

/* Container for timeline and counter reset */
section.roadmap .container {
  position: relative;
  padding: 40px 0;
  counter-reset: section;
}

/* Central vertical timeline line */
section.roadmap .container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(to bottom, #5f6f52, #a9b388); /* red to green */
}

/* General Step Styling */
section.roadmap p {
  position: relative;
  width: 45%;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  margin: 20px 0;
  border: 2px solid #008000;
  border-radius: 8px;
}

/* Odd steps (left side) */
section.roadmap p:nth-child(odd) {
  float: left;
  clear: both;
  margin-right: 55%;
  text-align: right;
}

/* Even steps (right side) */
section.roadmap p:nth-child(even) {
  float: right;
  clear: both;
  margin-left: 55%;
  text-align: left;
}

/* Numbered Circle: increment the container counter */
section.roadmap p::before {
  counter-increment: section;
  content: counter(section);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
}

/* For odd (left side) steps, place the circle at the right edge and draw line rightward */
section.roadmap p:nth-child(odd)::before {
  right: -15px; /* half the circle width */
}

section.roadmap p:nth-child(odd)::after {
  right: -15px;
  /* Calculate distance from circle center to timeline (50% of container) */
  width: calc(50% - 15px);
}

/* For even (right side) steps, place the circle at the left edge and draw line leftward */
section.roadmap p:nth-child(even)::before {
  left: -15px;
}

section.roadmap p:nth-child(even)::after {
  left: -15px;
  width: calc(50% - 15px);
}

/* Clear floats */
section.roadmap .container::after {
  content: '';
  display: table;
  clear: both;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  section.roadmap p {
    width: 90%;
    margin: 20px auto;
    text-align: left !important;
    float: none !important;
    margin-left: 30px !important;
    margin-right: 0 !important;
  }

  /* Place the numbered circle to the left for mobile */
  section.roadmap p::before {
    left: -15px;
    right: auto;
  }

  /* Adjust connecting line on mobile */
  section.roadmap p::after {
    left: -15px;
    width: 30px; /* fixed line length for mobile layout */
  }

  /* Adjust central timeline position on mobile */
  section.roadmap .container::before {
    left: 20px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-banner > p {
  margin: 0;
  flex: 1;
  color: white;
}

.cookie-banner > a {
  background: #606060;
  color: #fff;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-left: 10px;
}

/* Hide banner when the user clicks "Accept" */
#hide-cookie:target {
  display: none;
}

.footer {
  background: linear-gradient(135deg, #5f6f52, #a9b388); /* Rich gradient */
  border-top: 3px solid #b99470; /* Gold border */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow */
  color: white;
  padding: 40px 0;
}
.footer-logo img {
  height: 50px;
  border-radius: 50%;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.footer-links li {
  text-align: center;
  margin-bottom: 10px;
}
.footer-links a {
  color: white;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}
.footer-disclaimer p {
  margin: 0;
  color: white;
}
.footer-copyright p {
  margin: 0;
  color: white;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-logo {
    text-align: center;
  }
  .footer-links {
    text-align: center;
    margin-top: 20px;
  }
  .footer-links li {
    display: block;
    margin-bottom: 10px;
  }
  .footer-disclaimer,
  .footer-copyright {
    text-align: center;
    margin-top: 20px;
  }
}

/* Contact Form Container */
.contact-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 70px auto;
}
/* Header Styles */
.contact-header {
  text-align: center;
  margin-bottom: 30px;
}
.contact-header h1 {
  color: #ff0000; /* Santa Red */
  font-size: 2.5rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.contact-header p {
  color: #008000; /* Christmas Green */
  font-size: 1.2rem;
}
/* Form Elements */
.form-label {
  color: #008000;
  font-weight: bold;
}
.form-control {
  border: 2px solid #ff0000;
  border-radius: 5px;
}
/* Santa Button */
.btn-santa {
  background-color: #ff0000;
  border-color: #ff0000;
  color: #fff;
  font-weight: bold;
  padding: 10px 20px;
  transition: background-color 0.3s, border-color 0.3s;
}
.btn-santa:hover {
  background-color: #cc0000;
  border-color: #cc0000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #5f6f52;
}

p,
span {
  color: #b99470;
}
