/* General CSS that all webpages will use. This will make the various css files less redundant as I can pull from this general document.
File will replace the footer file as footer will now be included in this file
File will feature nav-bar, footer and various section elements that are found among all the files so far */

/* Nav-Bar */
.nav-bar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #d4c1d3;
  display: flex;
}
.nav-bar ul li a {
  display: block;
  color: black;
  padding: 14px 16px;
  text-decoration: none;
}
.nav-bar ul li a:hover {
  background-color: #afb1da;
}
.nav-bar ul li a.active {
  background-color: #afb1da;
}
.nav-bar {
  padding-top: 0;
  width: 100%;
  float: left;
  border-top: 2px;
  border-style: solid;
}

/* common body css properties */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
body h1,
h2,
h3,
h4,
p,
small {
  padding-left: 10px;
}
body {
  background-color: #f3e7e4;
  color: black;
  margin: 0;
  padding: 0;
}
section {
  border: 1px;
  border-style: solid;
  overflow: hidden;
}
.sec-title {
  background-color: #d4c1d3;
  border-top: 2px;
  border-bottom: 2px;
  border-style: solid;
}
/* button styling */
button {
  background-color: #fff3;
  color: black;
  border: 2px solid #0003;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
button:hover {
  background-color: #fff6;
  transform: translateY(-2px);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.22);
}

button:active {
  transform: translateY(0);
}
/* Footer */
section.foot {
  background-color: #d4c1d3;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.zaeya-footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 300px;
}

.zaeya-footer h2 {
  font-size: 1.1rem;
  font-weight: 600;
}
.zaeya-footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-nav h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
  padding-left: 40px;
  padding-top: 10px;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.footer-nav ul li a {
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav ul li a:hover {
  color: #111;
}

.rights-footer {
  margin-top: 80px;
  margin-bottom: 0px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #aaa;
}

/* Responsive baseline */
* {
  box-sizing: border-box;
}

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

section {
  overflow: visible;
}

@media (max-width: 1024px) {
  .nav-bar ul {
    flex-wrap: wrap;
  }

  .nav-bar ul li a {
    padding: 10px 12px;
  }

  .footer-nav h3 {
    padding-left: 10px;
  }

  .rights-footer {
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .nav-bar ul li {
    flex: 1 1 50%;
  }

  .nav-bar ul li a {
    text-align: center;
  }

  section.foot {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 0;
  }

  .footer-nav ul {
    padding-left: 12px;
  }
}
