:root {
  --margin-xxs: 0.25rem;
  --margin-xs: 0.5rem;
  --margin-s: 0.75rem;
  --margin-m: 1rem;
  --margin-l: 1.25rem;
  --margin-xl: 1.75rem;
  --margin-xxl: 2.5rem;

  --text-xxs: 0.5rem;
  --text-xs: 0.75rem;
  --text-s: 0.85rem;
  --text-m: 1rem;
  --text-l: 1.25rem;
  --text-xl: 1.5rem;
  --text-xxl: 2rem;

  --primary-color: #99B080;
  /* Replace with your preferred color */
  --secondary-color: #379f2a;
  /* Optional, for other common colors */
  --background-color: #FFFFFF;
  /* Replace with your preferred color */
  --sepration-color: #F9B572;
  /* Optional, for other common colors */
}



/* Global Reset and Defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
  font-family: Arial, sans-serif;
}

/* Body Styling */
body {
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--background-color);
}


/* Header Styling */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 1% 7% 1% 10%;
  width: 100%;
  /* Full-width header */
  margin: 0 auto 0px auto;
  /* Center header with vertical spacing */
  background-color: var(--background-color);
}

header.menu {
  display: flex;
  cursor: pointer;
  flex: 1;
  flex-direction: column;
}

/* Hide menu icon by default */
header .fa-bars {
  display: none;
}

/* Header links and text */
header li,
header a,
header button,
header span {
  font-family: sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: black;
  text-decoration: none;
  background-color: var(--background-color);
}

header a {
  font-weight: 600;
  padding-right: 10px;
}

header .fa-shopping-cart {
  color: black;
  font-size: 140%;
}

header .logo {
  cursor: pointer;
  margin-right: 30px;
}

header .logo img {
  width: 75px;
}

/* Navigation Links Styling */
header .nav__links {
  list-style: none;
  display: flex;
  flex-grow: 1;
  justify-content: flex-start;
  background-color: var(--background-color);
}

header .nav__links li {
  display: inline-block;
  position: relative;
  padding: 0px 20px 0px 40px;
  background-color: var(--background-color);
}

header .nav__links li a {
  position: relative;
  background-color: var(--background-color);
}

/* Hover Underline Effect on Links */
.menu .nav__links li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  /* Distance from text */
  right: 0;
  height: 3px;
  width: 0;
  background-color: black;
  transition: width 0.3s ease, right 0.3s ease;
}

header .nav__links li a:hover::after {
  width: 85%;
  /* Length of the underline */
  left: 1px;
}

/* CTA Button in Header */
header .cta {
  margin-left: auto;
  /* Pushes button to the far right */
}

header .cta img {
  width: 50px;
  height: 50px;
}


/* Button Styling */
button {
  padding: 9px 25px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Main Content Styling For all pages*/
main {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
}



/* Footer Styling */
.footer {
  background-color: var(--sepration-color);
  padding: 30px 7% 0 7%;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

.footer h3,
.footer h2 {
  font-weight: bold;
}

.footer h3 {
  font-size: 16px;
  margin-bottom: 15px;
}

.footer h2 {
  margin-bottom: 5px;
}

.footer p,
.footer ul,
.footer a {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
}

.footer p,
.footer li {
  padding: 5px 0;
}

/* Footer Links Hover Effect */
.footer a {
  color: #333;
  position: relative;
  margin: 10px 0;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  height: 2px;
  width: 0;
  background-color: black;
  transition: width 0.3s ease, right 0.3s ease;
}

.footer a:hover::after {
  width: 100%;
  left: 1px;
}

/* Footer Layout */
footer .container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin: 30px auto;
}

.footer-column {
  flex: 1;
}

footer .footer-column-l {
  display: flex;
  flex: 1.5;
  font-size: x-large;
  font-weight: 400;
  width: 100%;
  flex-direction: column;
}

footer .row {
  display: flex;
  flex-direction: row;
}

/* Footer Column Adjustments */
footer .footer-column-l-l {
  flex: 0.3;
}

footer .footer-column-l-r {
  flex: 0.7;
}

.footer-column-l p {
  margin: 0 3px;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

/* Newsletter Form Styling */
.newsletter-form {
  display: flex;
  gap: 5px;
  margin: 10px 0;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.newsletter-form button {
  padding: 8px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.social-icons a {
  margin: 4px 10px;
  color: #333;
  font-size: 22px;
}

/* Footer Bottom Styling */
.footer-bottom {
  border-top: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  margin: 20px auto;
  width: 100%;
}

.footer-bottom p {
  margin: 0;
  color: #807a7a;
  display: flex;
  align-items: center;
}

.footer-bottom img {
  height: 20px;
  margin-left: 24px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  header {
    padding: 3% 5%;
    justify-content: space-between;
  }

  header .menu {
    display: none;
  }

  header .fa-bars {
    display: flex;
    order: 1;
    margin-right: auto;
    color: #333;
  }

  .logo {
    order: 2;
    position: absolute;
    padding-top: 6px;
    left: 50%;
    transform: translateX(-50%);
  }

  .cta {
    order: 3;
    margin-left: auto;
  }

  header .menu.show {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #333;
    width: 100%;
    padding: 4px;
  }

  footer .row {
    flex-direction: row;
    align-items: stretch;
  }

  footer .footer-column {
    width: 100%;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
  }

  footer .footer-bottom {
    width: 100%;
    padding: 10px 0;
    flex-direction: column;
  }
}