/* Base styles */
:root {
    --primary-color: oklch(0.2 0.5 0.5);
    --secondary-color: rgb(16, 44, 84);
    --text-color: rgb(52, 56, 59);
    --light-text: rgb(255, 255, 255);
    --border-color: rgb(204, 204, 204);
    --accent-color: oklch(0.551 0.027 264.364);
    --footer-email-color: rgb(182, 182, 175);
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: "Inter", sans-serif;
    color: var(--text-color);
    line-height: 1.5;
    padding-top: 112px; /* Height of fixed navbar */
  }
  
  ul {
    list-style: none;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  active
  .current {
    color: var(--primary-color);
    font-weight: 700;
    margin-left: 136px;
  }

  /* Navbar Styles */
  .navbar {
    background-color: #ffffff;
    border-color: #cccccc;
    border-width: 1px;
    box-shadow:
      0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 50;
  }
  
  .navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1480px;
    margin: 0 auto;
    padding: 16px 24px;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
  }
  
  .logo-image {
    height: 80px;
    margin-right: 12px;
    max-width: 100%;
  }
  
  .logo-text {
    color: #34383b;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    user-select: none;
  }
  
  .nav-menu {
    display: flex;
    color: #34383b;
    font-weight: 500;
    justify-content: flex-end;
    list-style: none;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Responsividad */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu.active {
    display: flex;
  }
}
  
  .nav-item {
    text-transform: uppercase;
    margin-right: 34px;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }
  
  .nav-item:hover {
    color: oklch(0.2 0.5 0.5);
  }
  
  .nav-item.active {
    color: oklch(0.2 0.5 0.5);
    font-weight: 700;
  }
  
  .nav-item.contact {
    margin-left: 136px;
    margin-right: 0;
  }

  /* Estilo para el submenú */
  .nav-item.dropdown {
    position: relative;
  }

  .nav-item .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 1000;
    width: 290%;
  }

  .nav-item .dropdown-menu li {
    padding: 10px 20px;
    max-height: 40px;
  }

  .nav-item .dropdown-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
  }

  .nav-item .dropdown-menu li a:hover {
    background-color: #blue;
  }

  .nav-item.dropdown:hover .dropdown-menu {
    display: block;
  }

  /* Estilo específico para los enlaces del menú */
  .nav-menu a {
    text-decoration: none; /* Elimina el subrayado */
    color: #000; /* Cambia el color del texto a negro */
    font-weight: 500; /* Ajusta el grosor del texto */
  }

  .nav-menu a:hover {
    color: #000; /* Mantén el color negro al pasar el mouse */
    text-decoration: none; /* Asegúrate de que no aparezca subrayado */
  }

  .nav-item.active a {
    color: #a00000; /* Color rojo oscuro para el elemento activo */
    font-weight: bold; /* Resalta el elemento activo */
  }

  /* Estilo para los elementos de la lista */
  .dropdown-menu li {
    padding: 10px 15px; /* Espaciado interno */
    cursor: pointer; /* Cambia el cursor para indicar que es clicable */
    transition: background-color 0.3s ease; /* Transición suave */
  }

  .dropdown-menu li a:hover {
    background-color: #a00000; /* Fondo rojo oscuro al pasar el mouse */
   border-radius: 10px;
   color: white;
    /*color: #a00000;  Cambia el texto a blanco para mejor contraste */
  }
  
  /* Hero Section */
  .hero-section {
    height: 384px;
    margin-bottom: 24px;
    position: relative;
    width: 100%;
  }
  
  .hero-image-container {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .hero-image {
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 20px 25px -5px,
      rgba(0, 0, 0, 0.1) 0px 8px 10px -6px;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    vertical-align: middle;
    width: 100%;
  }
  
  .gradient-overlay-top {
    background-image: linear-gradient(
      to top in oklab,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 100%
    );
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .gradient-overlay-left {
    background-image: linear-gradient(
      in oklab,
      rgb(0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 100%
    );
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  
  .page-title {
    border-color: var(--primary-color);
    border-left-width: 6px;
    bottom: 40px;
    color: var(--light-text);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    position: absolute;
    margin: 0 auto;
    max-width: 1152px;
    padding: 0 24px;
    width: 100%;
  }
  
  /* Content Container */
  .content-container {
    margin: 0 auto;
    max-width: 1152px;
    padding: 0 24px;
    width: 100%;
  }
  
  .breadcrumb-container {
    margin-bottom: 24px;
  }
  
  .breadcrumb {
    align-items: center;
    border-color: var(--secondary-color);
    border-left-width: 6px;
    display: flex;
    font-size: 14px;
    line-height: 20px;
    margin: 40px 0 64px;
    padding-left: 16px;
    width: 100%;
  }
  
  .breadcrumb-link {
    color: var(--primary-color);
    margin-right: 4px;
  }
  
  .breadcrumb-separator {
    color: var(--accent-color);
    margin-right: 4px;
  }
  
  .breadcrumb-current {
    color: var(--secondary-color);
    font-weight: 700;
  }
  
  /* Main Content Layout */
  .main-content {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  
  .contact-info {
    grid-column: span 2;
  }
  
  .section-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 16px;
  }
  
  .section-description {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
  }
  
  .info-section,
  .location-section {
    margin-bottom: 24px;
  }
  
  .subsection-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 8px;
  }
  
  .contact-list {
    font-size: 18px;
    line-height: 28px;
  }
  
  .contact-item {
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .email-link {
    color: var(--primary-color);
  }
  
  .map-container {
    border-radius: 4px;
    box-shadow:
      rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
      rgba(0, 0, 0, 0.1) 0px 4px 6px -4px;
    overflow: hidden;
    min-height: 200px; /* Added for visual representation */
    background-color: #f0f0f0; /* Added for visual representation */
  }
  
  /* Sidebar */
  .sidebar {
    background-color: rgb(255, 255, 255);
    border-color: var(--border-color);
    border-left-width: 1px;
    padding-left: 16px;
  }
  
  .sidebar-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 16px;
  }
  
  .social-links {
    display: flex;
    margin-bottom: 24px;
  }
  
  .social-link {
    color: var(--primary-color);
    margin-right: 16px;
  }
  
  .social-link:last-child {
    margin-right: 0;
  }
  
  .social-icon {
    box-sizing: content-box;
    display: inline-block;
    font-size: 30px;
    height: 30px;
    line-height: 36px;
    vertical-align: -3.75px;
  }
  
  .posts-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin-bottom: 8px;
  }
  
  .posts-container {
    min-height: 100px; /* Added for visual representation */
  }
  
  /* Footer */
  .site-footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 48px 0;
  }
  
  .footer-content {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1152px;
    width: 100%;
  }
  
  .footer-logo {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .footer-logo-image {
    height: 128px;
    margin-bottom: 16px;
    max-width: 100%;
    object-fit: contain;
    width: 128px;
  }
  
  .footer-tagline {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
  }
  
  .footer-social {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .footer-heading {
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 16px;
  }
  
  .footer-social-links {
    display: flex;
  }
  
  .footer-social-link {
    margin-right: 24px;
  }
  
  .footer-social-link:last-child {
    margin-right: 0;
  }
  
  .footer-icon {
    box-sizing: content-box;
    display: inline-block;
    font-size: 24px;
    height: 24px;
    line-height: 32px;
    vertical-align: -3px;
  }
  
  .footer-contact {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  
  .footer-contact-list {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }
  
  .footer-contact-item {
    font-weight: 700;
    margin-bottom: 8px;
  }
  
  .footer-contact-item:last-child {
    margin-bottom: 0;
  }
  
  .footer-email {
    color: var(--footer-email-color);
  }
  
  .copyright {
    border-color: var(--light-text);
    border-top-width: 1px;
    border-width: 1px 0 0;
    font-size: 14px;
    line-height: 20px;
    margin-top: 32px;
    padding-top: 16px;
    text-align: center;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .main-content {
      grid-template-columns: 1fr;
    }
  
    .contact-info {
      grid-column: span 1;
    }
  
    .sidebar {
      border-left-width: 0;
      border-top-width: 1px;
      margin-top: 24px;
      padding-left: 0;
      padding-top: 24px;
    }
  
    .footer-content {
      grid-template-columns: 1fr;
      gap: 48px;
    }
  
    .current {
      margin-left: 0;
    }
  
    .nav-container {
      flex-direction: column;
    }
  
    .nav-links {
      margin-top: 16px;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .nav-item {
      margin: 8px 12px;
    }
  }
  