@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family:
    'Google Sans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--primary-text-color);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Font Styles */
:root {
  --primary-text-color: #2e2e2e;
  --secondary-text-color: #000000;
  --white-text-color: #ffffff;
  --primary-green-color: #7b8f1c;
  --secondary-green-color: #2f6b2f;
  --primary-red-color: #c0392b;
  --primary-background-color: #ffffff;
  --secondary-background-color: #f2f2f2;
  --primary-shadow-color: rgba(51, 50, 50, 0.05);
  --secondary-shadow-color: rgba(0, 0, 0, 0.1);
  --google-agenda-color: #f0f4f9;
  --form-border-color: #cccccc;
  --carousel-primary-button-color: rgba(0, 0, 0, 0.45);
  --carousel-secondary-button-color: rgba(0, 0, 0, 0.7);
  --warning-text-color: #fff9e6;
  --warning-background-color: #ffcc00;
  --cookies-text-color: #595958;
  --cookies-primary-button-color: #0055cc;
  --cookies-secondary-button-color: #003bb0;
  --accordion-border-color: #d8d8d7;
  --lightbox-background-color: rgba(0, 0, 0, 0.9);
  --footer-color: #ccc;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--secondary-text-color);
  font-family:
    'Bebas Neue',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}
h2 {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
  padding: 0;
  font-family:
    'Google Sans',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--primary-text-color);
}
h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--secondary-text-color);
  font-family:
    'Bebas Neue',
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

/* Navigation Bar Styles */
nav {
  width: 100%;
  height: 70px;
  font-weight: 500;
  background-color: var(--primary-background-color);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  box-shadow:
    0 4px 6px var(--primary-shadow-color),
    0 5px 15px var(--secondary-shadow-color);
  position: relative;
  z-index: 3;
}
nav .logo {
  height: 100px;
  width: 100px;
  margin: 10px 20px 0 15px;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  margin-right: 15px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-text-color);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
nav ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  align-items: center;
}
nav li {
  padding: 0 20px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-background-color);
}
nav .active {
  background-color: var(--primary-background-color);
}
nav a {
  color: var(--primary-text-color);
  text-decoration: none;
}
nav a:hover {
  color: var(--primary-green-color);
}
nav .admin {
  height: 35px;
  width: auto;
  margin: auto 15px auto auto;
}
nav .admin img {
  height: 100%;
  width: auto;
}

/* Main Content Styles */
main {
  padding: 4rem 1.5rem;
  padding-top: 0;
  max-width: 1200px;
  margin: 1.5rem auto 0 auto;
}

/* Footer Styles */
.footer-divider {
  position: relative;
  z-index: 1;
}
.divider {
  width: 100%;
  height: 25%;
  pointer-events: none;
}
.flipped {
  transform: scaleX(-1) scaleY(-1);
}
footer img {
  width: 100%;
  height: auto;
}
footer section {
  background-image: url('../img/bg-texture.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 2rem 0;
  margin-top: -5%;
  position: relative;
}
.footer-box {
  background-image: url('../img/bg-texture.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  max-width: 75%;
  padding: 2rem;
  margin: 5rem auto 0 auto;
  border-radius: 1rem;
  border: var(--footer-color) 1px solid;
  box-shadow:
    0 4px 6px var(--primary-shadow-color),
    0 5px 15px var(--secondary-shadow-color);
}
.footer-content {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
}
.footer-left p {
  margin-bottom: 0.3rem;
}
.icon-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.footer-left lord-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
}
.footer-left a {
  color: var(--primary-green-color);
  text-decoration: none;
}
.footer-left a:hover {
  text-decoration: underline;
}
.footer-left .info-note {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.3rem;
}
.footer-left .info-note svg {
  display: block;
  flex-shrink: 0;
}
.footer-left .note {
  font-size: 0.85rem;
  color: var(--primary-red-color);
  font-style: italic;
  margin-top: 0rem;
  font-weight: 500;
}
.footer-left .social-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}
.footer-left .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    transform 0.2s ease-in-out,
    opacity 0.2s ease-in-out;
}
.footer-left .social-icon:hover {
  transform: translateY(-2px) scale(1.1);
  opacity: 0.9;
}
.footer-left .social-icon.facebook svg path {
  fill: #1877f2;
}
.footer-left .social-icon.instagram svg path {
  fill: url(#instagram-gradient);
}
.footer-right iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  box-shadow:
    0 4px 6px var(--primary-shadow-color),
    0 5px 15px var(--secondary-shadow-color);
}
.footer-bottom {
  border-top: 1px solid var(--secondary-shadow-color);
  padding: 1.5rem;
  margin-top: 1.5rem;
  padding-bottom: 0;
  text-align: center;
}
.privacy {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  color: var(--white-text-color);
  background-color: var(--primary-green-color);
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}
.privacy:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px var(--secondary-shadow-color);
}
.footer-bottom a:last-of-type {
  display: none;
}

/* Cookie Modal Styles */
.vds-cookie-modal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-background-color);
  border-top: 5px solid var(--warning-background-color);
  box-shadow:
    0 4px 6px var(--primary-shadow-color),
    0 5px 15px var(--secondary-shadow-color);
  padding: 2rem 0;
  display: none;
  z-index: 2;
}
.vds-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.vds-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.vds-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--cookies-text-color);
  line-height: 1.6;
}
.vds-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.vds-btn {
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid var(--cookies-primary-button-color);
  border-radius: 3px;
  transition: 0.2s;
}
.vds-btn-primary {
  color: var(--white-text-color);
  background: var(--cookies-primary-button-color);
}
.vds-btn-secondary {
  color: var(--cookies-primary-button-color);
  background: var(--primary-background-color);
}
.vds-btn:hover {
  color: var(--primary-background-color);
  background: var(--cookies-secondary-button-color);
}
.vds-accordion {
  border-top: 1px solid var(--accordion-border-color);
  padding-top: 1rem;
}
.vds-accordion-toggle {
  color: var(--cookies-primary-button-color);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
}
.vds-preferences {
  display: none;
  margin-top: 1rem;
  background: var(--secondary-background-color);
  padding: 1.5rem;
  border-radius: 4px;
}
.vds-option {
  margin-bottom: 1rem;
}
.vds-option label {
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
}
.vds-option span {
  font-size: 0.875rem;
  color: var(--cookies-text-color);
}

/* Responsive design */
@media screen and (min-width: 1200px) {
  nav .logo {
    height: 100px;
    width: 100px;
  }
}
@media (min-width: 1800px) {
  html {
    font-size: 120%;
  }
  body main {
    max-width: 1400px;
  }
  .footer-content {
    grid-template-columns: 300px 1fr;
  }
  nav .logo {
    height: 120px;
    width: 120px;
  }
}
@media (min-width: 2560px) {
  html {
    font-size: 140%;
  }
  body main {
    max-width: 1700px;
  }
  .footer-content {
    grid-template-columns: 350px 1fr;
  }
  nav .logo {
    height: 150px;
    width: 150px;
  }
}
@media screen and (max-width: 1200px) {
  nav .logo {
    height: 75px;
    width: 75px;
  }
}
@media screen and (max-width: 870px) {
  .hamburger {
    display: flex;
    margin: auto 15px auto 15px;
  }
  nav .logo {
    height: 50px;
    width: 50px;
  }
  nav ul.nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--primary-background-color);
    display: none;
    box-shadow:
      0 4px 6px var(--primary-shadow-color),
      0 5px 15px var(--secondary-shadow-color);
    z-index: 3;
  }
  nav ul.nav-links.active {
    display: flex;
  }
  nav li {
    padding: 15px 0;
    text-align: center;
    width: 100%;
    background-color: var(--secondary-background-color);
  }
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  nav .admin {
    display: block;
    margin: auto 15px auto auto;
  }
}
@media screen and (max-width: 770px) {
  footer .footer-box {
    width: calc(100% - 2rem);
    max-width: none;
    padding: 1.25rem;
    margin: 3rem auto 0 auto;
    box-sizing: border-box;
  }
  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
  }
  .footer-left {
    text-align: center;
  }
  .icon-wrapper {
    justify-content: center;
  }
  .footer-right {
    width: 100%;
    overflow: hidden;
  }
  .footer-right iframe {
    width: 100%;
    height: 220px;
  }
}
