/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #fabfc063;
}

/* ================= NAVBAR ================= */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: maroon;
}

/* Logo */
.logo img {
  max-width: 200px;
  height: auto;
}

/* Nav menu - desktop */
.nav-menu {
  display: flex;
  flex: 1;
  justify-content: center; /* links centered horizontally */
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 25px;
  padding: 8px 12px;
  transition: background-color 0.2s, color 0.2s;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
  background-color: white;
  color: maroon;
  border-radius: 6px;
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* ================= MOBILE NAV ================= */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 60px; /* below header */
    left: 0;
    width: 100%;
    background-color: maroon;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    text-align: center;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav-menu ul li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .nav-menu ul li a {
    display: block;
    padding: 10px 0;
    font-size: 20px;
  }

  .nav-menu.active {
    max-height: 1000px; /* full height to fit all links */
    margin-top: 30px;
    padding-top: 10px;
  }
}





/* ================= CONTACT SECTION ================= */
.contact-section {
  position: relative; /* Needed for overlay */
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 1rem 3rem;

  /* Background image */
  background-image: url("images/b.jpg"); /* <-- change path to your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay effect */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent black overlay */
  z-index: 1; /* keeps it behind the form */
}

.contact-container {
  position: relative; /* makes sure the form stays above the overlay */
  width: 100%;
  max-width: 600px;
  z-index: 2;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.contact-form h2 {
  color: #800000;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 40px;
}

.contact-form label {
  margin: 0.5rem 0 0.2rem;
  font-weight: 500;
  font-size: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #800000;
  box-shadow: 0 0 10px rgba(128,0,0,0.3);
}

.contact-form button {
  width: 100%;
  background: linear-gradient(45deg, #800000, #a00000);
  color: #fff;
  padding: 1rem;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: linear-gradient(45deg, #a00000, #800000);
  transform: translateY(-2px);
}

/* ------------------------------
   FOOTER
-------------------------------- */
/* Define CSS Variables */
:root {
  --brand-white: #ffffff;
  --text-light: #f0f0f0;
  --footer-border: #dcdcdc;
  --text-muted: #bfbfbf;
}

/* FOOTER STYLES */
.footer {
  background-color: #800000;
  color: var(--brand-white);
  padding: 40px 0 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.footer-logo-container {
  flex-shrink: 0;
  min-width: 180px;
  text-align: center;
}

.footer-logo {
  padding-top: 20px;
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

.footer-sections {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--brand-white);
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 700;
}

.footer-section p {
  margin: 0 0 8px 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.contact-info a {
  color: var(--text-light);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: var(--brand-white);
}

.footer-follow .social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-follow .social-icons a img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  object-fit: contain;
  background-color: rgb(240, 38, 38);
  padding: 5px;
  transition: background-color 0.3s;
  display: flex;
}

.footer-follow .social-icons a img:hover {
  background-color: black;
}

.footer-follow .payment-methods-icons {
  display: flex;
  gap: 10px;
  /* overflow-x: auto; */
  /* padding-bottom: 5px; */
}

.footer-follow .payment-methods-icons img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color:  rgb(240, 38, 38);
  /* padding: 5px; */
  opacity: 0.85;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

.footer-follow .payment-methods-icons img:hover {
  opacity: 1;
  background-color: black ;
}

.footer-bottom {
  border-top: 2px solid var(--footer-border);
  margin-top: 30px;
  padding: 20px;
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--text-light);
  text-decoration: none;
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: var(--brand-white);
}

/* Responsive */
@media (max-width: 900px) {
  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-sections {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}


@media (max-width: 600px) {
  .footer-follow .social-icons {
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically */
    gap: 10px;               /* spacing between icons */
  }
}
