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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Times New Roman', Times, serif;
  background-color: #ffffff;
  line-height: 1.6;
  color: #1d1d1d;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Color Variables (adjust to theme) */
:root {
  --brand-maroon: #800000; /* core maroon */
  --brand-maroon-dark: #2e0303;
  --brand-maroon-mid: #692727; /* footer bg */
  --brand-black: #000000;
  --brand-white: #ffffff;
  --bg-soft: #fff8f0; /* light beige section bg */
  --text-light: #cccccc;
  --text-muted: #999999;
  --footer-border: #444444;
}

/* Utility */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------
   SITE HEADER + NAV
-------------------------------- */
.site-header {
  width: 100%;
}

.site-nav {
  background-color: var(--brand-maroon);
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-nav .logo img {
  max-width: 200px;
}

.nav-links ul {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 1.25rem; 
}

.nav-links a {
  color: var(--brand-white);
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
  font-size: 25px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background-color: var(--brand-white);
  color: var(--brand-maroon);
}

/* Hamburger Menu Icon */
.nav-toggle {
  display: none;              /* hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 35px;                /* wider button */
  height: 25px;               /* taller button */
  cursor: pointer;
  margin-left: auto;       /* pushes toggle to the right */
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 4px;                /* thicker bars */
  background: var(--brand-white);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}


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

/* Mobile */
/* Mobile nav fix */
@media(max-width:768px) {
  .site-nav {
    position: relative; /* needed for absolute menu */
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; /* <-- key change */
    top: 100%;          /* right below the nav */
    left: 0;
    width: 100%;
    background: var(--brand-maroon);
    border-radius: 0 0 5px 5px;
    z-index: 1000;
    margin: 0;          /* remove margin */
  }

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

  .nav-links ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 3px 0;
  }

  .nav-toggle {
    display: flex;
    order: 2;
    margin-left: 0;
  }
}

/* ------------------------------
   HERO SECTION
-------------------------------- */
.hero-home {
  position: relative;
  background-image: url('images/indexbg.jpg');
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
  color: var(--brand-white);
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  isolation: isolate; /* ensures pseudo stacking works */
}

.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* semi‑transparent overlay */
  z-index: -1; /* behind content, above background */
}

.intro {
  max-width: 800px;
  text-shadow: 4px 4px 16px rgba(0, 0, 0, 0.9);
}

.intro h1 {
  font-size: clamp(2rem, 5vw, 2.625rem); /* scales between ~32px and 42px */
  font-weight: 700;
  margin-bottom: 20px;
}

.intro p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--brand-maroon);
  color: var(--brand-white);
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-top: 50px;
  border: 1px solid transparent;
}

.btn:hover {
  background-color: var(--brand-maroon-dark);
  border-color: var(--brand-white);
}

/* ------------------------------
   HOME PRODUCTS SECTION
-------------------------------- */
.home-products {
  padding: 60px 20px;
  background-color: var(--bg-soft);
  text-align: center;
}

.home-products h2 {
  font-size: clamp(2rem, 5vw, 2rem);
  margin-bottom: 40px;
  color: var(--brand-maroon);
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap; /* responsive wrap */
}

.product-card {
  background-color: var(--brand-white);
  border-radius: 10px;
  padding: 20px;
  max-width: 280px;
  flex: 1 1 220px; /* grow/shrink with min width */
  box-shadow: 0 4px 8px rgba(0, 0, 0, .25);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.125rem; /* 18px */
  color: var(--brand-maroon);
}




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

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

