:root {
    --accent-color: #8fa8ff;
    --accent-color-hover: #faa02b;
    --nav-font-size: 2rem;
    --footer-font-size: 2rem;
}

/* Navbar & logo layout */

.nav-title .site-logo {
    display: block;
    height: 80px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    text-decoration: underline;
    color: black;
}

.nav-links:hover {
    background: var(--accent-color-hover);
    border-radius: 3px;
}

/* @media (max-width: 720px) {
    .nav-navs ul { flex-wrap: wrap; gap: 0.5rem; }
    .nav-title .site-logo { height: 44px; }
    .quick-menu {
        right: 0;
        gap: 0;
    }
    .quick-menu a {
        width: 2.75rem;
        height: 2.75rem;
    }
} */


body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111;
  background-color: #eef1f6;
  background-image: url("/images/background.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
}

main.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;

  flex: 1;
}

.quick-menu {
  position: fixed;
  top: 45%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 20;
}

.quick-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 3.25rem;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  transform-origin: right center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-menu a:hover {
  transform: scaleX(1.08);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.24);
}

.quick-menu > a > img {
    aspect-ratio: 1/1;
    width: 2rem;
    height: auto;
    color: #000000;
    filter: brightness(0) invert(1);
}

.btn-call {
  background: #2ecc71;
}

.btn-mail {
  background: var(--accent-color);
}

.empty-container {
    height: 0px;
}

article.main-content {
  background-color: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  line-height: 1.75;
}

.home-layout {
  display: flex;
  /* gap: 2rem; */
  align-items: flex-start;
}

.home-image {
  flex: 0 0 33%;
  max-width: 100%;
}

.home-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  animation: home-image-spin 1s ease-out 1;
  transform-origin: center;
}

.home-content {
  flex: 1 1 0;
}

@media (max-width: 720px) {
  .home-layout {
    flex-direction: column;
  }

  .home-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
}

@media (max-width: 720px) {
  main.container {
    padding: 1.5rem 1rem 3rem;
  }

  article.main-content {
    padding: 1.5rem;
  }
}

/* ----------------------------------
   MAIN NAVIGATION
---------------------------------- */
.main-nav {
    background-color: var(--accent-color);
    padding: 12px 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.main-nav {
    background: linear-gradient(to bottom, var(--accent-color), #c2d4ff);
    padding: 12px 1.5rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.nav-title {
    display: flex;
    align-items: center;
    justify-self: start;
}

.main-nav ul li {
    position: relative;
}

.main-nav .menu {
    list-style: none;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    justify-self: center;
}

.main-nav .socials {
    justify-self: end;
}

.main-nav .socials ul {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .socials a {
    display: flex;
    align-items: center;
}

.main-nav .menu > .menu-item > a {
    color: #fff;
    text-decoration: none;
    padding: 12px;
    font-weight: 600;
    position: relative;
    white-space: nowrap;
    font-size: var(--nav-font-size);
}

/* Hover state */
.main-nav .menu > .menu-item:hover > a {
    /* background: #a4161a; */
    background: var(--accent-color-hover);
    border-radius: 8px;
    color: white;
}

.nav-navs {
    background-color: None;
}

.menu-burger-button {
    display: none;
}

.menu-burger-button.social > img {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.side-panel-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 40;
}

.side-panel-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.side-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: -16px 0 32px rgba(15, 23, 42, 0.18);
    padding: 1rem 1rem 2rem;
    box-sizing: border-box;
    transform: translateX(105%);
    transition: transform 0.25s ease;
    z-index: 50;
    overflow-y: auto;
}

.side-panel.is-open {
    transform: translateX(0);
}

.side-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.side-panel-close {
    border: none;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: #111;
}

.side-panel-menu {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.side-panel-menu a {
    display: block;
    color: #111;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
}

.side-panel-menu a:hover {
    background: rgba(143, 168, 255, 0.18);
}

body.side-panel-open {
    overflow: hidden;
}

@media (max-width: 1100px) {
    .menu-item {
        display: none;
    }

    .menu-burger-button {
        display: flex;
        justify-self: end;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0.5rem;
        cursor: pointer;
        z-index: 30;
    }

    .menu-burger-button img {
        display: block;
        width: 32px;
        height: 32px;
    }
}

@media (min-width: 1101px) {
    .menu-burger-button {
        display: none !important;
    }
}


/* ----------------------------------
   FOOTER
---------------------------------- */
footer {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(to top, var(--accent-color), #c2d4ff);
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

footer li {
    display: inline-block;
}

footer .socials img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

footer small {
    color: #555;
}

footer a {
    color: #000;
    text-decoration: none;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .footer-container {
        justify-content: center;
    }

    .footer-block:nth-child(2) {
        order: -1;
        width: 100%;
        flex-basis: 100%;
        min-width: 0;
    }
}

@media (max-width: 1200px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-block {
        width: 100%;
        flex-basis: 100%;
        min-width: 0;
    }

    .footer-block:nth-child(1) {
        display: none;
    }
    .footer-block:nth-child(2) {
        order: -1;
    }

    .footer-block + .footer-block {
        border-left: none;
        padding-left: 0;
    }
}

.footer-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 20rem;
    min-width: 20rem;
    max-width: 35rem;
    font-size: var(--footer-font-size);
    text-align: left;
}

/* .footer-block a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    width: 100%;
    max-width: 300px;
} */

.footer-block h2 {
    margin-top: 0;
    margin-bottom: 0.5rem; /* Reduced from default (usually ~1rem) */
}

.footer-locations {
    display: flex;
    flex-direction: column;
    /* gap: 0.5rem; */
}

.footer-locations-location {
    font-size: var(--footer-font-size);
    text-align: center;
    font-style: italic;
}

.location {
    font-size: var(--nav-font-size);
    text-align: left;
}

.footer-logo {
    display: block;
    height: 230px;
    width: auto;
    border-radius: 8px;
}


/* ----------------------------------
   SOCIAL ICONS
---------------------------------- */


.social {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: unset;
    padding: 0.5vmin;
}

.social > img {
    aspect-ratio: 1/1;
    width: 1.5rem;
    height: auto;
    color: #000000;
    filter: brightness(0) invert(1);
}

.social {
    &:hover {
        & > img:not(.whatsapp-icon) {
            filter: invert(0);
        }
        background: var(--accent-color-hover);
        border-radius: 8px;
    }
}

.social > img.whatsapp-icon {
    filter: none;
}

/* Nav-bar */
.social-nav > img {
    width: var(--nav-font-size);;
}

.social-footer > img {
    width: 3rem;
}

.page-updated {
    color: #475569;
    font-size: 0.95rem;
}
