/* Paleta de colores U-Vanguard */
:root {
    --color-negro: #000000;
    --color-blanco: #ffffff;
    --color-naranja: #ff6e14;
    --color-azul: #34458d;
}

/* General */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-blanco);
    color: var(--color-negro);
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background-color: var(--color-blanco);
    border-bottom: 2px solid var(--color-azul);
}

.navbar-brand {
    color: var(--color-naranja);
    font-weight: bold;
}

.navbar-nav .nav-link {
    color: var(--color-negro);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--color-naranja);
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('/assets/images/hero.jpg') center/cover no-repeat;
    color: var(--color-blanco);
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.25rem;
    margin-top: 1rem;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Botones */
.btn-primary {
    background-color: var(--color-naranja);
    border-color: var(--color-naranja);
}

.btn-primary:hover {
    background-color: var(--color-azul);
    border-color: var(--color-azul);
}

/* Footer */
footer {
    background-color: var(--color-azul);
    color: var(--color-blanco);
}

/* Secciones */
section {
    padding: 60px 0;
}


.text-orange {
    color: #ff6e14;
}

.bg-u-vanguard {
    background-color: #34458d !important;
}

.border-warning {
    border-color: #ff6e14 !important;
}

.border-primary {
    border-color: #34458d !important;
}

.hover-scale {
    transition: transform 0.3s ease;
}

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

.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 25px #ff6e14;
}

.galeria-thumb {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    /* filtro base para imagen normal */
    filter: brightness(0.95) saturate(1);
}

.galeria-thumb:hover {
    transform: scale(1.07);
    filter: brightness(1.15) saturate(1.2);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    z-index: 5;
    position: relative;
}

.galeria-video-thumb {
    height: 150px;
}

/* Modal Servicios */
.modal-content {
  border-radius: 14px;
}

.modal-header {
  border-bottom: none;
  border-radius: 12px 12px 0 0;
}

.modal-footer {
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.modal-body ul {
  padding-left: 1.2rem;
}

.modal-body p {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #333;
}

/* Íconos POST */
.icon-delete{
    color:#de272c; 
    font-size:16px;
    padding: 8px;
}

.icon-delete:hover{
    color:#a71c1e; 
    background-color: #DDDDDD;
    cursor:pointer;
}

.icon-edit{
    color:#b78020; 
    font-size:16px;
    padding: 8px;
}

.icon-edit:hover{
    background-color: #DDDDDD;
    cursor:pointer;
}


/* Sección de Posts */
.img-blog {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.img-blog:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.text-u-vanguard {
  color: #34458d;
}

/* Sección Contacto */

#contacto .form-control,
#contacto .form-select {
  border-radius: 0.5rem;
  box-shadow: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contacto .form-control:focus,
#contacto .form-select:focus {
  border-color: #ff6e14;
  box-shadow: 0 0 0 0.2rem rgba(255, 110, 20, 0.25);
}


