@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&display=swap");

* {
  font-family: "Google Sans Flex", sans-serif;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

/* BODY WIDTH RULE */
body {
  width: 80vw;
  margin: auto;
  background: #b30000;
  color: #ffffff;
}

/* 100% width on MOBILE + TABLET */
@media (max-width: 1024px) {
  body {
    width: 90vw;
    margin: auto;
    overflow-x: hidden;
  }

  section,
  .hero,
  .about,
  .cards,
  .services,
  .testimonials-section,
  .contact,
  footer {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .card {
    width: 100%;
  }
}

/* LINKS */
a {
  color: #ffffff;
  text-decoration: none;
}

/* SNOW EFFECT */
.snowflake {
  position: fixed;
  top: -10px;
  z-index: 9999;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 6px;
  animation: fall linear infinite;
}

@keyframes fall {
  0% {
    transform: translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

/* HERO SECTION */

.hero {
  position: relative;
  background: #8a0000;
  color: #fff;
  padding: 40px 20px;
  border-radius: 14px;
  max-width: 900px;
  margin: 40px auto;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  max-width: 850px;
  margin: auto;
  margin-bottom: 35px;
}

.hero .highlight {
  color: #ffeb3b; /* Yellow highlight for festive vibe */
  font-weight: 700;
}

/* Bell image */
.hero .bell {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  animation: swing 2s infinite ease-in-out;
}

/* Swing animation for festive effect */
@keyframes swing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(15deg); }
  50% { transform: rotate(-10deg); }
  75% { transform: rotate(15deg); }
  100% { transform: rotate(0deg); }
}

/* Buttons inside wrapper */
#wrapper {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

#wrapper button {
  padding: 14px 30px;
  font-size: 1rem;
  border: 2px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

#wrapper button:hover {
  background: #fff;
  color: #8a0000;
}

/* Countdown styling */
.countdown {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.countdown div {
  background: #7a0000;
  padding: 18px 25px;
  border-radius: 12px;
  min-width: 85px;
}

.countdown div span {
  font-size: 1.8rem;
  font-weight: 700;
}

.countdown div small {
  margin-top: 5px;
  margin-left: 5px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero .bell {
    width: 40px;
    height: 40px;
    top: -10px;
    right: -10px;
  }
  #wrapper button {
    width: 100%;
  }
  .countdown div {
    padding: 12px 15px;
  }
}


/* CARDS GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin: 30px auto;
  width: 100%;
}

.card {
  background: #8a0000;
  padding: 28px;
  border-radius: 14px;
}

.cards img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

/* SERVICES BUTTON INSIDE CARDS */
.card button {
  width: 100%;
  padding: 12px 0;
  border: 2px solid #ffffff;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
}

button {
  width: 100%;
  padding: 12px 0;
  border: 2px solid #ffffff;
  border-radius: 6px;
  background: transparent;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #ffffff;
  color: #8a0000;
  transition: 0.3s ease;
  cursor: pointer;
}

::placeholder {
  color: white;
}

/* TESTIMONIALS */
.testimonials-section {
  text-align: left;
  width: 100%;
}

.testimonials-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.testimonial-box {
  background: #7a0000;
  max-width: 520px;
  min-width: 320px;
  padding: 25px;
  border-radius: 14px;
}

/* ABOUT SECTION */
.about {
  background: #8a0000;
  padding: 20px;
  border-radius: 14px;
  margin-top: 50px;
}

/* CONTACT FORM */
  .contact form {
    width: 100%;
    margin: auto;
  }

  .contact form input,
  .contact form select,
  .contact form textarea,
  .contact form button,
  #subTopicContainer select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    box-sizing: border-box;
    border-radius: 6px;
    border: none;
    color: white;
    outline: none;
    font-size: 16px;
    background-color: #7a0000;
  }

  /* Button styling */
  .contact form button {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    cursor: pointer;
  }

  .contact form button:hover {
    background: white;
    color: #7a0000;
  }

  /* Remove gap created by <br><br> */
  .remove-gap {
    margin: 0;
    padding: 0;
  }

/* FOOTER */
footer {
  padding: 50px 20px;
  text-align: center;
  opacity: 0.9;
}

/* MOBILE BREAKPOINT */
@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
  }
}

/* Header */
header {
  width: 100%;
  padding: 20px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}

/* Logo */
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
}

/* Desktop Links */
.nav-links a {
  margin-left: 20px;
  color: white;
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

/* Mobile Button */
.menu-btn {
  display: none;
  font-size: 1rem;
  background: none;
  border: none;
  width: fit-content;
  padding: 10px 20px;
  cursor: pointer;
}

/* Mobile Menu (hidden initially) */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #7a0000;
  width: 100%;
  padding: 10px 0;
}

.mobile-menu a {
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Responsive (below 800px) */
@media (max-width: 800px) {
  #desktopMenu {
    display: none;
  }
  .menu-btn {
    display: block;
  }
}
