.bg-petroleo {
    background-color: #000;
    color: white;
}

.bg-petroleo-transparente {
    background-color: rgba(29, 36, 67, 0);
}

.btn-custom-dark {
    background-color: #1a1a1a; /* Un color más oscuro que bg-dark */
    color: white;
    border: none;
}

.btn-custom-dark:hover {
    background-color: #000000; /* Aún más oscuro en hover */
    color: gold;
}

.font-color {
    color:  #dccf69 !important;
}

.font-white {
    color: white !important;
    font-size: x-large;
}

.bg-black {
    background-color: black;
}


.pulse:hover {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
  padding-top: 7px;
}

.whatsapp-icon {
  margin-top:13px;
}

.ver-mas {
    background-color: #1d2443; /* Color original */
    color: white;
    transition: background-color 0.3s ease;
}

.ver-mas:hover {
    background-color: #0056b3; /* Color cuando pasa el cursor */
    color: white;
}



.carousel-inner img {
    width: auto;
    height: auto; /* Ajusta la altura para mantener la proporción */
    max-height: 600px; /* Ajusta el mínimo a lo que prefieras */
   
    /*object-fit: cover; /* Asegura que la imagen llene el contenedor sin deformarse */
}

.jumbotron {
    padding: 0 0 0 0; /* Reduce el padding para que la jumbotron sea menos alta */
}

.carousel-indicators {
    bottom: 10px; /* Ajusta la posición en la parte inferior */
    justify-content: center; /* Centra los botones */
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%; /* Hace que los indicadores sean círculos */
    background-color: rgba(255, 255, 255, 0.5); /* Color de los indicadores */
}

.carousel-indicators .active {
    background-color: #fff; /* Color del indicador activo */
}


#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255, 255, 255, 0.2); /* Fondo semitransparente */
    padding: 10px;
    border-radius: 10px;
}

#loading img {
    width: 50px; /* Ajusta el tamaño de la imagen de carga */
    height: 50px;
}

.search-container {
    max-width: 400px;
    margin: 0 auto;
    padding-top: 10px;
}

.input-group .form-control {
    border-radius: 50px; /* Bordes redondeados */
}

.input-group-text {
    cursor: pointer;
}

.black-bar {
    background-color: #000; /* Color negro */
    color: white;
}

.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8); /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-content {
    max-width:  200px;
    text-align: center;
}

.btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

#btnmenu:hover {
    color: white;
}


body {
    font-family: Arial, sans-serif;
   
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&family=Montserrat:wght@400;700&family=Cinzel&family=Dancing+Script:wght@400;700&display=swap');

.playfair {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}
.montserrat {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
}
.cinzel {
    font-family: 'Cinzel', serif;
    font-size: 24px;
}
.dancing-script {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
}


.cinzel-header {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    font-style: italic;
}

.cinzel-footer {
    font-family: 'Cinzel', serif;
    font-size: 16px;
}

.fsize-12 {
    font-size: 12px;
}




/* Pantallas pequeñas: móviles (menos de 576px) */
@media (max-width: 555px) {
    .img-logo {
              max-width: 200px; 
              width: 100%;
     }
     #galeryContainer {
        margin: 0 15px; /* Aplica márgenes laterales */
    }
    .gallery-image {
        margin-bottom: 10px; /* Margen inferior para las imágenes */
    }
 }

@media (min-width: 555px) and (max-width: 575.98px) {
   .img-logo {
             max-width: 240px; 
             width: 100%;
    }
    #galeryContainer {
        margin: 0 15px; /* Aplica márgenes laterales */
    }
    .gallery-image {
        margin-bottom: 10px; /* Margen inferior para las imágenes */
    }
}

/* Pantallas medianas: tablets (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .img-logo {
        max-width: 240px; 
        width: 100%;
}
#galeryContainer {
    margin: 0 15px; /* Aplica márgenes laterales */
}
.gallery-image {
    margin-bottom: 10px; /* Margen inferior para las imágenes */
}
}

/* Pantallas grandes: laptops (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .img-logo {
        max-width: 240px; 
        width: 100%;
}
#galeryContainer {
    margin: 0 15px; /* Aplica márgenes laterales */
}
.gallery-image {
    margin-bottom: 10px; /* Margen inferior para las imágenes */
}
}

/* Pantallas extra grandes: desktops (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .img-logo {
        max-width: 240px; 
        width: 100%;
}
#galeryContainer {
    margin: 0 15px; /* Aplica márgenes laterales */
}
.gallery-image {
    margin-bottom: 10px; /* Margen inferior para las imágenes */
}
}

/* Pantallas muy grandes: monitores grandes (1200px en adelante) */
@media (min-width: 1200px) {
    .img-logo {
        max-width: 300px; 
        width: 100%;
        }

    #galeryContainer {
        margin: 0 15px; /* Aplica márgenes laterales */
    }
    .gallery-image {
        margin-bottom: 10px; /* Margen inferior para las imágenes */
    }
}


/* Overlay inicial */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
}

#intro-overlay img {
    width: 300px; /* Ajusta tamaño del logo */
}

/* Ocultar overlay con transición */
#intro-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}


/* Contenedor del carrusel */
.carousel-container {
    max-width: 1200px;      /* Ancho máximo en pantallas grandes */
    margin: 30px auto;      /* Centrado con márgenes */
    border: 5px solid #f5f5f5; /* Borde sutil */
    border-radius: 10px;    /* Bordes redondeados */
    overflow: hidden;       /* Evita desbordes */
    background: #fff;       /* Fondo blanco */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra elegante */
}

/* Imágenes del carrusel con tamaño fijo */
.carousel-inner img {
    width: 100%;
    height: 600px;          /* Altura estándar para escritorio */
    object-fit: cover;      /* Recorta y mantiene proporción */
}

/* Ajuste para pantallas medianas */
@media (max-width: 992px) {
    .carousel-inner img {
        height: 450px;      /* Reduce altura en tablets */
    }
}

/* Ajuste para pantallas móviles */
@media (max-width: 576px) {
    .carousel-inner img {
        height: 300px;      /* Altura reducida en móviles */
    }
}


.carousel-container {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Sección Sobre Nosotros estilo elegante */
.about-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.about-image img {
    border-radius: 8px;
    border: 5px solid #f5f5f5;
    width: 100%;
    object-fit: cover;
}

/* Título estilizado */
.about-title {
    font-family: 'Cinzel', serif; /* Usa la que ya tienes para headers */
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #333;
}

/* Estilo especial para la primera letra */
.about-title span {
    font-style: italic;
    font-weight: 300;
}

/* Texto descriptivo */
.about-text {
    font-family: 'Raleway', sans-serif; /* O Lato, según preferencia */
    font-size: 1rem;        /* ~16px */
    line-height: 1.8;       /* Espaciado amplio */
    color: #555;            /* Gris suave */
    font-weight: 300;       /* Ligero y elegante */
    letter-spacing: 0.3px;  /* Un poco de espacio entre letras */
    margin-bottom: 20px;
    text-align: justify;    /* Justificado para elegancia */
}

/* Enlace elegante */
.about-link {
    font-style: italic;
    font-size: 1rem;
    color: #2b6e6e;
    text-decoration: none;
    border-bottom: 1px solid #2b6e6e;
    transition: all 0.3s ease;
}

.about-link:hover {
    color: #1f4e4e;
    border-bottom-color: #1f4e4e;
}

.about-letter {
    font-family: 'Parisienne', cursive;
    font-size: 4rem;
    color: #333;
    display: inline-block;
    margin-right: 5px;
}


/* ===== SECCIÓN CATÁLOGO ===== */
.catalogo-section {
    background-color: #fff;
    color: #000;
    padding: 50px 0;
}

/* Columna izquierda: descripción */
.catalogo-description {
    background-color: #fff;
    padding: 40px 50px;         /* Espacio interno más amplio */
    border-right: 1px solid #ddd;
    margin-right: -1px;         /* Evita que se duplique visualmente la línea */
}

/* Columna derecha: imágenes */
.catalogo-imagenes {
    padding: 40px 50px !important;         /* Separa imágenes de la línea divisoria */
}

/* Estilo imágenes */
.catalogo-imagenes img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;      /* Bordes más redondeados */
    margin-bottom: 20px;
    padding: 5px;             /* Separación interna alrededor de la imagen */
    background-color: #fff;   /* Fondo para que el padding se vea limpio */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    transition: transform 0.3s ease;
}

.catalogo-imagenes img:hover {
    transform: scale(1.05);
}

/* Combo box elegante */
.categoria-label {
    font-weight: bold;
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.categoria-dropdown {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    appearance: none;
    margin-bottom: 20px;
}

.categoria-dropdown:hover {
    border-color: #999;
}

.categoria-dropdown:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

/* Títulos y texto */
.catalogo-title {
    font-weight: bold;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.catalogo-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    white-space: pre-line;
    padding-right: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .catalogo-description {
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 20px;
        text-align: center;
    }

    .catalogo-imagenes {
        padding: 20px;
    }
}


/* ===== SECCIÓN TESTIMONIOS ===== */
.testimonios-section {
    background-color: #fff;
    padding: 60px 0;
    color: #333;
}

/* Columna izquierda */
.testimonios-info {
    padding: 30px;
}

.testimonios-title {
    font-family: 'Parisienne', cursive;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.testimonios-title span {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-left: 5px;
}

.testimonios-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #555;
}

.testimonios-link {
    font-style: italic;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #92b4b1;
    transition: color 0.3s ease;
}

.testimonios-link:hover {
    color: #000;
}

/* Tarjeta de testimonio */
.testimonios-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.testimonios-imagen img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
}

.testimonios-card h4 {
    font-weight: bold;
    margin-bottom: 10px;
}

.testimonios-card p {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* Animación de fade */
.testimonios-card {
    position: relative;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

.testimonios-card.fade-out {
    opacity: 0;
}

.testimonios-card.fade-in {
    opacity: 1;
}


/* Sección Servicios */
.servicios-section {
    background-color: #fff;
    padding: 60px 20px;
  }
  
  .servicios-title {
    font-family: 'Parisienne', cursive;
    font-size: 3rem;
    margin-bottom: 10px;
  }
  
  .servicios-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: #555;
    margin-bottom: 50px;
  }
  
  /* Card de Servicio */
  .servicio-card {
    background-color: #fdfbf9;
    border: 1px solid #f1ede9;
    padding: 15px;
    transition: transform 0.3s ease;
  }
  
  .servicio-card:hover {
    transform: translateY(-5px);
  }
  
  .servicio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 15px;
  }
  
  .servicio-info {
    text-align: left;
  }
  
  .servicio-nombre {
    font-family: 'Raleway', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
  }
  
  .servicio-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
  }
  
  /* Botón elegante */
  .servicio-btn {
    display: inline-block;
    border: 1px solid #333;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-style: italic;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
  }
  
  .servicio-btn:hover {
    background-color: #333;
    color: #fff;
  }
  


  /* Navbar fijo */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 20px;
}

/* Ajustar padding del body para que no tape contenido */
body {
    padding-top: 90px;
}

/* Menú horizontal: visible en desktop, oculto en mobile */
.menu-desktop {
    display: none;
}

@media (min-width: 992px) {
    .menu-desktop {
        display: flex;
        gap: 20px;
        margin-left: auto;
    }
}

/* Menú overlay: oculto por defecto */
.full-screen-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
}

.full-screen-menu.active {
    display: block;
}

/* Links del menú desktop */
.navbar-nav .nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #d4af37; /* dorado elegante */
}

/* Quitar completamente el fondo y bordes de los botones del carrusel */
.carousel-control-prev,
.carousel-control-next {
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: auto; /* Evita que ocupen todo el lado */
}

/* Eliminar el área clickeable rectangular grande y reducirla a la flecha */
.carousel-control-prev,
.carousel-control-next {
    width: 50px; /* Ajusta solo al ancho necesario */
}

/* Flechas personalizadas */
.carousel-prev-arrow,
.carousel-next-arrow {
    font-size: 3rem;
    color: white;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    transition: color 0.3s ease;
}

/* Posiciones izquierda y derecha */
.carousel-prev-arrow {
    left: 20px;
}

.carousel-next-arrow {
    right: 20px;
}

/* Efecto hover */
.carousel-prev-arrow:hover,
.carousel-next-arrow:hover {
    color: #ccc;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&display=swap');

.carousel-caption-custom {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px 25px;
  border-radius: 8px;
  max-width: 80%;
  text-align: left; /* ⬅ Alineación a la izquierda */
}

.carousel-caption-custom p {
  margin: 0;
  font-size: 2rem;
  color: #fff;
  font-family: 'Playfair Display', serif; /* ⬅ Fuente elegante */
  font-weight: 600;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .carousel-caption-custom {
    bottom: 10px;
    left: 10px;
    padding: 10px 15px;
  }

  .carousel-caption-custom p {
    font-size: 1.3rem;
  }
}

.popup-overlay {
    display: flex;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    z-index: 9999;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  .popup-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .popup-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
    transform: scale(0.95);
    transition: transform 0.3s ease;
  }
  
  .popup-overlay.active img {
    transform: scale(1);
  }
  