/* ======================================= */
/* 0. ESTILOS GLOBALES Y BASE */
/* ======================================= */

body {
    padding-top: 0; /* ✅ Eliminado espacio innecesario */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #343a40;
    margin: 0;
}

/* Navbar fijo arriba */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1a1d21; /* Color oscuro */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Espacio para que el contenido no quede oculto debajo del navbar */
.main-content {
    padding-top: 70px;
}

/* ======================================= */
/* 1. ESTILOS DEL NAVBAR (ASUME GLASSMORPHISM EN NAVBAR.CSS) */
/* ======================================= */

.navbar-brand img {
    height: 55px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.4));
}

/* ======================================= */
/* 2. ESTILOS DE LA SECCIÓN HERO */
/* ======================================= */

.hero-section {
    position: relative;
    width: 100%;
    height: 85vh;
    background-image: url('/imagenes/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 50px 0;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 50px;
}

.text-shadow-lg {
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-quote {
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    border-left: 5px solid var(--bs-warning);
    border-radius: 5px;
    padding: 1rem;
    margin-top: 2rem;
    max-width: 450px;
}

.hero-content .card {
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: 50px;
    max-width: 320px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: left !important;
}

/* ======================================= */
/* 3. SECCIÓN EXPERTOS / SERVICIOS (TARJETAS GRANDES) */
/* ======================================= */

.expertos-section {
    background-color: #111e3b;
    background-image: url('/imagenes/bg-pattern.png');
    color: white;
    padding: 80px 0;
}

.expertos-section h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px !important;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #182845;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px 20px;
    min-height: 150px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: white;
    height: 100%;
}

.service-card:hover {
    background-color: #007bff;
    transform: translateY(-5px);
    border-color: #ffc107;
}

.service-card .icon-large {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-card .card-title-lg {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
    white-space: normal;
    line-height: 1.2;
}

/* ======================================= */
/* 4. SECCIÓN CONTACTO RÁPIDO */
/* ======================================= */

.quick-contact {
    background-color: #192a56;
    color: #f8f9fa;
    padding: 60px 0;
}

.quick-contact .contact-item {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.quick-contact .contact-item:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.quick-contact .contact-icon {
    font-size: 2.5rem;
    color: #ffc107;
    margin-bottom: 10px;
}

.quick-contact h5 {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

.quick-contact p {
    color: #ccc;
}

/* ======================================= */
/* 5. SECCIÓN ACERCA DE Y FOOTER */
/* ======================================= */

.about-section {
    background-color: white;
}

.about-section .overlay-img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 60%;
    z-index: 10;
    border: 5px solid white;
}

@media (max-width: 991.98px) {
    .about-section .overlay-img {
        display: none;
    }
}

footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}






/* ======================================= */
/* 5. Hero section y imagen */
/* ======================================= */



.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('/img/EDIFICIO.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* efecto parallax */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}
















/* ===================== ABOUT SECTION ===================== */
.about-section {
  background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
  overflow: hidden;
}

.about-section h2 span {
  color: #0d6efd;
}

.about-section .contact-box {
  border-left: 5px solid #ffc107;
  transition: transform 0.3s ease;
}

.about-section .contact-box:hover {
  transform: scale(1.03);
}

/* Imagen principal y secundaria con efecto de solapamiento */
.image-stack {
  position: relative;
}

.image-stack .main-img {
  width: 100%;
  border-radius: 15px;
}

.image-stack .overlay-img {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 60%;
  border-radius: 15px;
  border: 5px solid #fff;
  transition: all 0.4s ease;
}

.image-stack .overlay-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive ajustes */
@media (max-width: 991.98px) {
  .image-stack .overlay-img {
    display: none;
  }
}







/* ===================== SECCIÓN CONTACTO RÁPIDO ===================== */
.quick-contact {
  background: linear-gradient(135deg, #0d1b3d, #162b55);
  position: relative;
  z-index: 1;
}

.quick-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/img/bg-pattern.png');
  opacity: 0.08;
  z-index: -1;
}

/* Tarjetas de contacto */
.contact-item {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.contact-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  border-color: #ffc107;
}

/* Iconos circulares */
.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(255, 193, 7, 0.1);
  border: 2px solid #ffc107;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #ffc107;
  transition: all 0.3s ease;
}

.contact-item:hover .icon-circle {
  background-color: #ffc107;
  color: #0d1b3d;
  transform: scale(1.1);
}

/* Enlace de libro de reclamaciones */
.hover-link:hover {
  text-decoration: none;
  color: #ffc107 !important;
}

/* Responsive */
@media (max-width: 767.98px) {
  .icon-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}
