/* ================= VARIABLES ================= */
:root {
    --azul-oscuro: #0a1f44;
    --azul-claro: #12326b;
    --dorado: #efb810;
    --blanco: #ffffff;
    --gris-claro: #f8f9fa;
}

/* ================= RESET BÁSICO ================= */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
}

/* Evita que el navbar tape el contenido */
section {
    scroll-margin-top: 80px;
}

.navbar-scrolled {
    background-color: rgba(10, 31, 68, 0.95) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

/* ================= NAVBAR ================= */
.navbar {
    background-color: var(--azul-oscuro) !important;
}

.navbar-brand img {
    max-height: 40px;
}

.nav-link {
    color: var(--blanco) !important;
    font-weight: 500;
    margin-left: 10px;
}

.nav-link:hover,
.nav-link.active {
    color: #98FF98 !important;
}

/* ================= HERO GENERAL ================= */
.hero {
    min-height: 100vh;
    padding-top: 80px;

    background-image:
        linear-gradient(
            rgba(10, 31, 68, 0.75),
            rgba(10, 31, 68, 0.75)
        ),
        url("../img/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    text-align: center;

    color: var(--blanco);
}

.hero h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero p {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* Botón hero */
.hero .btn-primary {
    background-color:  #98FF98;
    border: none;
    color: #000;
    font-weight: bold;
}

.hero .btn-primary:hover {
    background-color: #98FF98;
}

/* ================= HERO GALERÍA ================= */
.hero-galeria {
    min-height: 60vh;
}

/* ================= SECCIONES ================= */
section {
    padding: 60px 0;
}

section h2 {
    color: var(--azul-oscuro);
}

/* ================= SERVICIOS ================= */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-title {
    color: var(--azul-oscuro);
    font-weight: bold;
}

/* ================= GALERÍA ================= */
.galeria {
    background-color: var(--gris-claro);
}

.galeria-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay dorado */
.galeria-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(239, 184, 16, 0.35); /* DORADO */
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover::after {
    opacity: 1;
}

/* ================= MODAL GALERÍA ================= */
.modal-content {
    border: none;
    border-radius: 12px;
}

/* ================= FOOTER ================= */
footer {
    background-color: var(--azul-oscuro);
}

footer p,
footer small,
footer a {
    color: var(--blanco);
}

footer a:hover {
    color: var(--dorado);
}


/* ================= HERO SERVICIOS ================= */
.hero-servicios {
    min-height: 60vh;
}

/* ================= SERVICIOS ================= */
.servicio-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 14px;
    background: #fff;
    transition: all 0.4s ease;
    height: 100%;
}

.servicio-card i {
    font-size: 3rem;
    color: var(--dorado);
    margin-bottom: 15px;
}

.servicio-card h5 {
    color: var(--azul-oscuro);
    font-weight: bold;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.servicio-descripcion {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

.combo-vibrato {
    border: 2px solid var(--azul-oscuro);
    border-radius: 10px;
    padding: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.combo-vibrato:focus {
    border-color: var(--dorado);
    box-shadow: 0 0 0 0.2rem rgba(239,184,16,0.25);
}

/* Flecha personalizada */
.combo-vibrato {
    background-color: #fff;
    cursor: pointer;
}

.servicio-card {
    cursor: pointer;
}

.servicio-descripcion {
    font-size: 0.95rem;
    color: #555;
    margin-top: 10px;
}

.card-text {
  text-align: justify !important;
    line-height: 1.8;
    hyphens: auto;
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}