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

body {
 font-family: 'Times New Roman', Times, serif;
 font-weight: 900;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

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

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

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

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

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

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

/* Hamburger Menu Icon */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

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

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1024px) {
  nav {
    flex-wrap: wrap;
  }
}

/* Mobile */
@media(max-width:768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #800000;
    border-radius: 5px;
    margin-top: 10px;
    overflow: hidden;
  }

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

  .nav-toggle {
    display: flex;
  }

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

  .nav-links li:first-child { border-top: none; }
}

/* =========================================
   HERO SECTION WITH FADE BACKGROUND
========================================= */
.about-hero-auto {
  position: relative;
  width: 100%;
  min-height: 700px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay for cards and heading */
.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 20px 20px;
}

/* =========================================
   SECTION H1 HEADING
========================================= */
.section-h1 {
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  margin-bottom: 40px;
}

.section-h1 h1 {
  font-size: 2.8rem;
  color: white;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background-color: rgba(145, 5, 5, 0.7);
  display: inline-block;
  padding: 20px 35px;
  border-radius: 12px;
  box-shadow: 2px 2px 4px rgba(17, 1, 1, 0.9);
}

/* =========================================
   CARDS OVER HERO
========================================= */
.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.section {
  padding: 25px;
  border-radius: 12px;
  background-color: rgba(255,255,255,0.8);
  border-right: 6px solid #800000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.section h2 {
  font-size: 1.75rem;
  color: #800000;
  margin-bottom: 15px;
}

.section ul li {
  margin-bottom: 8px;
  list-style-type: disc;
  padding-left: 10px;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1200px) { .about-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .about-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .hero-overlay h1 { font-size: 1.8rem; padding: 15px 20px; }
  .about-hero-auto { min-height: 500px; }
}

/* =========================================
   HERO SLIDE SCRIPT (CSS ONLY ANIMATION)
========================================= */
@keyframes fadeinout {
  0% { opacity: 0; }
  10% { opacity: 1; }
  40% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 0; }
}

/* Apply animation to all slides with delays via JS (or CSS nth-child if static) */


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

/* FOOTER STYLES */
.footer {
  background-color: maroon;
  color: var(--brand-white);
  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: 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;
  }
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 1200px) { .about-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .about-cards { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .hero-section { min-height: 500px; }
  .hero-overlay h1 { font-size: 1.8rem; }
}



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