body {
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.6 !important;
    color: #f8f1e5 !important;
    background-color: black !important;
}

.main-header {
    background-color: black !important;
    padding: 0.5rem 0 !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important;
    top: 0 !important;
}

.container {
    width: 100% !important;
    display: flex !important;
    max-width: 100% !important;
}

.logo {
    display: flex !important;
}

.logo img {
    max-width: 100px !important;
    width: 100% !important;
    height: auto !important;
}

.logo a {
    font-family: 'Playfair Display', serif !important;
    font-size: 1.8rem !important;
    color: #f8f1e5 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: all 0.3s ease-in-out !important;
}

.imagenesIndex {
    width: 40%;
}

.logo a:hover {
    color: #E3B25A !important;
    transform: scale(1.1) !important;
}


.main-nav {
    flex: 1 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 100% !important;
}

.nav-center,
.nav-right {
    list-style: none !important;
    display: flex !important;
    align-items: center !important;
    padding-left: 0px !important;
}

.nav-center {
    justify-content: center !important;
    flex: 1 !important;
}

.main-nav ul li {
    transition: all 0.3s ease-in-out;
}

.main-nav ul li:hover {
    transform: scale(1.1);
}

.main-nav ul li a {
    text-decoration: none;
    color: #f8f1e5;
    font-weight: bold;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.main-nav ul li a:hover {
    color: #E3B25A;
}

.nav-right li a {
    margin: 0 0.5rem !important;
}

.nav-right p {
    margin-top: 1rem !important;
}

.menu-toggle {
    display: none !important;
    flex-direction: column !important;
    cursor: pointer !important;
    margin-top: 12px !important;
}

.menu-toggle span {
    width: 25px !important;
    height: 3px !important;
    background: white !important;
    margin: 3px 0 !important;
}

.video-section {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 50% !important;
    overflow: hidden !important;
}

.video-section video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: fill !important;
}

.mute-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
}

.mute-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logos {
    flex: 1;
}

.contact-info {
    flex: 1;
}

.logos img {
    width: 50%;
    height: 50%;
}

@media (max-width: 768px) {
    .logos img {
        width: 100%;
        height: 100%;
    }
}

.btn-outline i {
    color: white !important;
}

.btn-outline i:hover {
    color: #E3B25A !important;
}

.text-somos {
    color: black !important;
    text-decoration: none !important;
    margin-left: 5px !important;
}

.text-somos:hover {
    text-decoration: underline !important;
}

.text-gold {
    color: #E3B25A !important;
}

.location-img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    padding: 5px !important;
}

#input-search::placeholder {
    font-weight: bold !important;
    color: black !important;
}

#input-search {
    font-weight: bold !important;
    color: black !important;
}

.input-group {
    max-width: 400px !important;
}

.input-group-text {
    background-color: transparent !important;
    border: none !important;
}

.bi-search {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: black !important;
    pointer-events: none !important;
}

.py-10 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.title-icon {
    display: flex !important;
    align-items: center !important;
}

.title-icon i {
    color: #E3B25A !important;
    margin-right: 8px !important;
    font-size: 1.2rem !important;
}

.title-icon h3 {
    margin: 0 !important;
    color: #E3B25A !important;
    font-size: 1rem !important;
}

.title-icon hr {
    flex-grow: 1 !important;
    margin-left: 10px !important;
    border: none !important;
    border-top: 2px solid #E3B25A !important;
    max-width: 300px !important;
}

.news-item {
    background-color: #1c1c1c;
    padding: 20px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: scale(1.02);
}

.news-image {
    border-radius: 8px;
    object-fit: cover;
    height: 200px;
    width: 100%;
}

@media (max-width: 768px) {
    .news-image {
        height: auto;
    }
}

.news-date {
    font-size: 0.9rem;
    color: #E3B25A;
    font-weight: bold;
}

.news-title {
    font-size: 1.5rem;
    color: #f8f1e5;
    font-weight: bold;
}

.news-description {
    font-size: 1rem;
    color: #ccc;
}

.news-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.news-card {
    background: linear-gradient(135deg, #1c1c1c 0%, #2d2d2d 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(227, 178, 90, 0.1), transparent);
    transition: left 0.5s ease;
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(227, 178, 90, 0.2);
    border-color: #E3B25A;
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #333;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 12px;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #333, #444);
    color: #E3B25A;
    font-size: 3rem;
    border-radius: 12px;
}

.news-content {
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-date {
    font-size: 0.9rem;
    color: #E3B25A;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.news-title {
    font-size: 1.4rem;
    color: #f8f1e5;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.news-card:hover .news-title {
    color: #E3B25A;
}

.news-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    color: #E3B25A;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-card:hover .read-more {
    color: #f8f1e5;
    transform: translateX(5px);
}

.btn-outline-gold {
    border: 2px solid #E3B25A;
    color: #E3B25A;
    background: transparent;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: #E3B25A;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227, 178, 90, 0.3);
}

.no-news {
    color: #ccc;
    padding: 60px 20px;
}

.no-news i {
    font-size: 4rem;
    color: #E3B25A;
}

.no-news h4 {
    color: #f8f1e5;
    margin-bottom: 10px;
}

.contenedor,
.contenedorMapa {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5%;
}

#mapa {
    padding-top: 2%;
    padding-left: 10%;
    width: 100%;
    height: 800px;
}

#mapaAR {
    height: 1000px;
    max-width: 400px !important;
    position: relative;
    top: -300px !important;
}

#mapa path {
    fill: black;
    stroke: white;
    stroke-width: 2px;
}

#mapa :hover {
    fill: #062068;
}

#mapaAR a path {
    pointer-events: none;
}

#mapaAR a#AR-F path {
    pointer-events: all;
    opacity: 1;
    fill: #EDB115;
}

#mapaAR a#AR-F path:hover {
    cursor: pointer;
    fill: #ffb700;
}

#mapaAR a path:not(#AR-F):hover {
    cursor: default;
}

.carousel-image-container {
    position: relative;
    width: 600px;
    height: 400px;
    margin: 0 15px;
    padding: 0 15px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .carousel-image-container {
        width: 350px !important;
        height: 220px !important;
        margin: 0 10px !important;
        padding: 0 10px !important;
    }
}

@media (min-width: 1024px) {
    .carousel-image-container {
        width: 300px !important;
        height: 200px !important;
        margin: 0 10px !important;
        padding: 0 10px !important;
    }
}

@media (min-width: 1200px) {
    .carousel-image-container {
        width: 400px !important;
        height: 280px !important;
        margin: 0 10px !important;
        padding: 0 10px !important;
    }
}

@media (min-width: 1600px) {
    .carousel-image-container {
        width: 600px !important;
        height: 400px !important;
        margin: 0 10px !important;
        padding: 0 10px !important;
    }
}

.carousel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;

}

.overlay-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 10;
}

.carousel-image-container:hover img {
    filter: brightness(50%);
    transform: scale(1.05);
}

.carousel-image-container:hover .overlay-button {
    display: block;
}

.carousel-inner {
    justify-content: center;
    align-items: center;
}

.main-nav .dropdown:hover .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown-menu {
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    background-color: #161616;
    color: white;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.option_dropdown {
    color: white !important
}

.option_dropdown:hover {
    color: #E3B25A !important;
}

#section2 {
    padding-bottom: 0 !important;
}

#section3 {
    padding-top: 0 !important;
}

@media (max-width: 1200px) {
    .main-nav ul {
        display: none !important;
        flex-direction: column !important;
        text-align: center !important;
    }

    .menu-toggle {
        display: flex !important;
    }

    .nav-active ul {
        display: flex !important;
    }

    .logo img {
        max-width: 100px !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 1354px) {
    #mapaAR {
        height: 1000px;
        max-width: 300px !important;
        position: relative;
        top: -300px !important;
    }
}

@media (max-width: 1015px) {
    #mapaAR {
        height: 1100px;
        max-width: 210px !important;
        position: relative;
        top: -300px !important;
    }
}

@media (max-width: 425px) {
    #mapaAR {
        height: 1100px;
        max-width: 300px !important;
        position: relative;
        top: -300px !important;
    }
}

@media (max-width: 320px) {
    #mapaAR {
        height: 1100px;
        max-width: 200px !important;
        position: relative;
        top: -300px !important;
    }
}

@media (max-width: 768px) {

    .imagenesIndex {
        width: 40%;
    }

    .video-section {
        margin-top: 110px !important;
    }

    .title-icon hr {
        max-width: 200px !important;
    }

    .carousel-image-container {
        width: 100%;
        height: 50%;
        margin: 0 auto;
        padding: 10px;
    }

    .d-flex.justify-content-center {
        flex-wrap: wrap;
    }

    #section3 {
        margin-top: -100px !important;
        padding-top: 0 !important;
    }

    #mapaAR {
        height: 1000px;
        /* max-width: 300px !important; */
        position: relative;
        top: -300px !important;
    }

    #mapa {
        width: 100%;
    }

    .container-notice {
        width: 100% !important;
    }
}

.dropdown-toggle {
    display: block;
    text-align: center;
}

.dropdown-toggle br {
    display: block;
    margin: 0 auto;
}

.justify {
    text-align: justify;
    padding-left: 0.5em;
    margin-left: 1em;
    margin-right: 1em;
    line-height: 1.6;
}

@media (max-width: 425px) {
    .imagenesIndex {
        margin-right: 0px !important;
        width: 100%;
    }
}

.main-footer {
    background-color: black;
    color: white;
    padding: 1rem 0;
}

.footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    text-align: center;
}

.footer-social .btn-outline {
    margin: 0 0.3rem;
}

.footer-social .btn-outline i {
    color: #f8f1e5;
    font-size: 1.2rem;
}

.footer-social .btn-outline:hover i {
    color: #E3B25A;
}

.footer-email p {
    margin: 0;
}

.footer-divider {
    width: 100%;
    border: none;
    border-top: 5px solid white !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
    gap: 1rem;
}

.footer-logos {
    flex: 1;
    display: flex;
    text-align: right;
    justify-content: flex-start;
    align-items: center;
}

.footer-logos img {
    max-height: 40px;
    height: auto;
    width: auto;
    filter: brightness(0) invert(1);
}


.footer-logos2 {
    flex: 1;
    display: flex;
    text-align: right;
    justify-content: flex-end;
    align-items: center;
}

.footer-logos2 img {
    max-height: 100px;
    height: auto;
    width: auto;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-logos,
    .footer-copyright {
        flex: unset;
        width: 100%;
    }

    .footer-logos {
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .footer-copyright {
        text-align: center;
    }
}

.btn-custom {
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
    text-align: center;
    background-color: #E3B25A;
    color: black;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-custom:hover {
    transform: scale(1.05);
}

.btn-custom p {
    margin: 0;
    font-size: 1rem;
}

.btn-custom span {
    font-size: 0.9rem;
}

#section3 main {
  position: relative;
  overflow: hidden;
  height: 600px;
}

.slider {
  list-style: none;
  position: relative;
  width: 100%;
  height: 100%;
}

.item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-position: center;
  background-size: cover;
  border-radius: 20px;
  transition: transform .1s, left .75s, width .75s, height .75s, opacity .75s;
  cursor: pointer;
}

.item:nth-child(1),
.item:nth-child(2) {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  box-shadow: none;
  opacity: 1;
}

.item:nth-child(3) {
  left: 65%;
  width: 200px;
  height: 300px;
}
.item:nth-child(4) {
  left: calc(65% + 220px);
  width: 200px;
  height: 300px;
}
.item:nth-child(5) {
  left: calc(65% + 440px);
  width: 200px;
  height: 300px;
}

.item:nth-child(6) {
  left: calc(65% + 660px);
  opacity: 0;
}

.content {
  display: none;
  position: absolute;
  top: 50%;
  left: 3rem;
  transform: translateY(-50%);
  color: white;
  text-shadow: 0 3px 8px rgba(0,0,0,0.5);
  max-width: 30vw;
}
.item:nth-of-type(2) .content {
  display: block;
  animation: show 0.75s ease-in-out 0.3s forwards;
}

@keyframes show {
  0% {
    filter: blur(5px);
    transform: translateY(calc(-50% + 75px));
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(-50%);
  }
}

.nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  user-select: none;
}
.nav .btn {
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(0,0,0,0.6);
  margin: 0 .25rem;
  padding: .75rem;
  border-radius: 50%;
  cursor: pointer;
}
.nav .btn:hover {
  background: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  #section3 main { height: 300px; }
  .item:nth-child(3),
  .item:nth-child(4),
  .item:nth-child(5) {
    width: 120px;
    height: 180px;
  }
  .item:nth-child(4) { left: calc(65% + 140px); }
  .item:nth-child(5) { left: calc(65% + 280px); }
  .item:nth-child(6) { left: calc(65% + 420px); }
}