/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #fabfc063;
}

/* =========================================
   HEADER NAVIGATION - RESPONSIVE
========================================= */
header {
  background-color: #800000;
  padding: 1em 0;
  position: sticky; /* keeps navbar visible when scrolling */
  top: 0;
  z-index: 100;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative; /* for dropdown positioning */
}

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

/* Navigation Links (desktop) */
.nav-links {
  display: flex;
  gap: 12px;
  font-size: 25px;
  font-weight: 900;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  color: white;
  font-weight: 500;
  border-radius: 5px;
  transition: 0.3s;
  text-decoration: none;
}

.nav-links a:hover {
  background-color: white;
  color: #800000;
}

/* Hamburger Menu Icon (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110; /* ensure toggle stays above dropdown */
}

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

/* =========================================
   RESPONSIVE NAVIGATION
========================================= */
@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute; /* dropdown below nav */
    top: 100%; /* below header */
    left: 0;
    width: 100%;
    background-color: #800000;
    border-radius: 0 0 8px 8px;
    padding: 15px 0;
    gap: 10px;
    display: none; /* hide until toggle */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ================= HERO / CARDS ================= */
.Exist-container {
  text-align: center;
  background-color: #f5e0e0;
  font-family: 'Megrim', cursive;
  padding: 20px;
  margin-bottom: 30px;
}

.Exist-container h1 {
  font-size: 60px;
  color: #800000;
}

/* Grid layout for cards/images */
.fullscreen-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  justify-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Card styling */
.fullscreen-slider img {
  margin-bottom: 20px;
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 4px 8px 20px #800000;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.fullscreen-slider img:hover {
  transform: scale(1.05);
  box-shadow: 4px 12px 24px #800000;
}

/* Responsive Cards */
@media (max-width: 1024px) {
  .fullscreen-slider img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .fullscreen-slider {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .Exist-container h1 {
    font-size: 48px;
  }
}

@media (max-width: 480px) {
  .fullscreen-slider {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .Exist-container h1 {
    font-size: 36px;
  }
}

/* ================= FOOTER ================= */
.footer {
  background-color: maroon;
  color: #ffffff;
  padding: 40px 0 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  width: 100%;
}

.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: #ffffff;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-size: 0.875rem;
  font-weight: 700;
}

.footer-section p {
  margin: 0 0 8px 0;
  color: #f0f0f0;
  font-size: 0.875rem;
}

.contact-info a {
  color: #f0f0f0;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #ffffff;
}

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

.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;
}

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

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

.footer-bottom a {
  color: #f0f0f0;
  text-decoration: none;
  margin-left: 20px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Footer 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;
  }
}
