﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    background: linear-gradient(to bottom, #A7C7E7, white);
    background-attachment: fixed;
    padding-top: 80px; /* altura del navbar */
}

.intro-titles h1 {
    font-size: 3rem;
    color: #000;
}

.subtitle {
    font-size: 1.3rem;
    color: #444;
    letter-spacing: 1px;
}


/* Agregados que yo hice */


/* ===== NAVBAR ELEGANTE HUELLITAS ===== */
/* ============ NAVBAR BLANCO ============ */
.navbar-huellitas {
    background-color: #ffffff;
    border-bottom: 2px solid #D4AF37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: fixed; /* ← ANTES sticky */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}


    .navbar-huellitas .nav-link {
        color: #000000 !important;
        transition: 0.2s ease;
    }

        .navbar-huellitas .nav-link:hover {
            color: #3b6ea8 !important; 
        }

.logo-navbar {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 50%; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    background-color: #ffffff;
}

.brand-text {
    font-family: "Segoe UI", sans-serif;
    letter-spacing: .5px;
    color:black;
}



/* Ícono del botón hamburguesa */
.custom-toggler .navbar-toggler-icon {
    filter: invert(0); /* Lo deja negro elegante */
}

/* Botón hamburguesa borde dorado */
.custom-toggler {
    border: 2px solid #D4AF37 !important;
    border-radius: 6px;
}

/* Estilo del menú al colapsar en móvil */
@media (max-width: 992px) {
    .navbar-collapse {
        background: #ffffff;
        border-radius: 12px;
        padding: 15px;
        margin-top: 10px;
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23D4AF37' stroke-width='3' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}





/* ============ BOTONES PRO ============ */
.btn-pastel {
    background-color: #A7C7E7; 
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    transition: .2s;
}

    .btn-pastel:hover {
        background-color: #90b7dc;
    }

.btn-dorado {
    background-color: #D4AF37;
    border-radius: 25px;
    color: #000;
    border: none;
    font-weight: 600;
}

    .btn-dorado:hover {
        background-color: #b9972f;
    }

.btn-negro {
    background-color: #000;
    color: #fff;
    border-radius: 25px;
}

    .btn-negro:hover {
        background-color: #222;
    }

/* ============ CARDS ============ */
.feature-card {
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    padding: 18px;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform .25s ease, box-shadow .25s ease;
    cursor: pointer;
}

    .feature-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

.feature-img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

/* ============ CURSIVA ELEGANTE ============ */
.text-cursive {
    font-family: "Georgia", "Times New Roman", serif;
    font-style: italic;
}



/* === CARRUSEL SIN FONDO === */
#inicioCarousel {
    border-radius: 0; 
    overflow: hidden;
    box-shadow: none;
    background: transparent !important;
    border: none;
    background-color: transparent !important;
}

    #inicioCarousel .carousel-inner img {
        height: 750px; 
        width: 100%;
        object-fit: cover;
        border-radius: 0;
    }



/*  TEXTO  DEL CARRUSEL */

.carousel-caption {
    bottom: 60px; /* sube el texto */
    text-shadow: 0 4px 12px rgba(0,0,0,0.55);
    animation: fadeInUp 1.2s ease;
}

    .carousel-caption h3 {
        font-size: 3rem; /* MÁS GRANDE */
        font-weight: 800;
        letter-spacing: 1px;
        color: #ffffff;
        text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
        font-family: "Poppins", "Segoe UI", sans-serif;
    }

    .carousel-caption p {
        font-size: 1.4rem;
        font-weight: 400;
        color: #f8f8f8;
        text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
        font-family: "Georgia", "Times New Roman", serif;
        font-style: italic;
    }

/* Animación elegante */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* ===== HERO SIMPLE ===== */

.hero-simple {
    padding: 60px 20px 40px 20px;
    text-align: center;
    background-color: #ffffff;
}

    .hero-simple h1 {
        font-size: 2.6rem;
        font-weight: 700;
        color: #000000;
    }

    .hero-simple p {
        font-size: 1.1rem;
        color: #555555;
    }

    .hero-simple .btn {
        border-radius: 30px;
        font-weight: 600;
    }

/* ===== BLOQUE ¿QUIÉNES SOMOS? ===== */

.quienes-container {
    display: flex;
    justify-content: center;
}

.quienes-box {
    background: rgba(255,255,255,0.85);
    padding: 35px 40px;
    border-radius: 28px;
    width: 80%;
    max-width: 900px;
    border-left: 6px solid #D4AF37;
    border-right: 6px solid #A7C7E7;
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}


/* ===== CARDS CENTRADAS ===== */

.feature-row {
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.feature-card {
    border-radius: 18px;
    border: 1px solid #e7e7e7;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    }

.feature-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
}

.callout-adopta {
    background: #fff9e6;
    border-radius: 16px;
    border-left: 6px solid #D4AF37;
}




/* FOOTER  */

.footer-pro-max {
    background-color: #000;
    color: white;
    position: relative;
    padding-top: 60px;
    border-top: 3px solid #D4AF37;
    box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}

/* Onda dorada elegante */
.footer-wave {
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background-size: contain;
    filter: brightness(1.25) sepia(0.4) hue-rotate(20deg);
}

/* Logo miniatura */
.footer-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.45);
}

/* Titulares */
.footer-heading {
    color: #D4AF37;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Texto */
.footer-text {
    color: #dcdcdc;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Mini tarjeta de contacto */
.contact-mini-card {
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    border: 1px solid rgba(212,175,55,0.25);
    backdrop-filter: blur(6px);
    max-width: 380px;
    box-shadow: 0 8px 20px rgba(255,215,0,0.08);
}

/* BADGES redondos */
.footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #111;
    border-radius: 50%;
    border: 2px solid #D4AF37;
    margin: 0 8px;
    font-size: 1.3rem;
    color: white;
    transition: 0.25s ease;
}

    .footer-badge:hover {
        background: #A7C7E7;
        color: #000;
        transform: scale(1.18);
    }

/* Divider */
.footer-line {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.25);
    width: 80%;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-columns {
        text-align: center;
    }
}







/* TITULOS DE PAGINA */
.titulo-pagina {
    font-size: 2.6rem;
    color: #000;
}

.subtitulo-pagina {
    font-size: 1.2rem;
    color: #333;
}

/* === CARD DE MASCOTAS === */
.pet-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .pet-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.16);
    }

/* Imagen */
.pet-img-container {
    height: 260px;
    overflow: hidden;
}

.pet-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.pet-card:hover .pet-img {
    transform: scale(1.07);
}

/* Cuerpo */
.pet-card-body {
    padding: 18px 20px;
    text-align: center;
}

.pet-name {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.pet-info {
    font-size: 1rem;
    color: #666;
}

/* ESTADOS */
.pet-status {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 5px;
}

    .pet-status.disponible {
        background-color: #A7C7E7;
        color: #000;
    }

    .pet-status.pendiente {
        background-color: #ffd27f;
        color: #5e4409;
    }

    .pet-status.adoptado {
        background-color: #333;
        color: white;
    }

.pet-divider {
    margin-top: 16px;
    margin-bottom: 10px;
    border-top: 1px solid #eee;
}



/* LOGIN ADMIN  */

/* LADO IZQUIERDO (azul pastel suave) */
.admin-login-left {
    background: linear-gradient(135deg, #7bb8e8, #5fa2d6);
}

.admin-login-left-content {
    max-width: 420px;
}

.admin-login-logo {
    width: 110px;
    margin-bottom: 20px;
    filter: brightness(95%);
}

.admin-login-title {
    color: #ffffff;
}

.admin-login-desc {
    font-size: 1.1rem;
    opacity: .9;
}

/* TARJETA DERECHA */
.admin-login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-top: 6px solid #d4a017;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .admin-login-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }

/* TÍTULO DEL FORMULARIO */
.admin-login-header {
    color: #d4a017;
}

/* BOTÓN */
.admin-login-btn {
    background-color: #d4a017;
    padding: 12px;
    transition: background-color .2s ease, transform .2s ease;
    font-size: 1rem;
}

    .admin-login-btn:hover {
        background-color: #b5860f;
        transform: translateY(-2px);
    }




/* ===== PANEL ADMIN – TÍTULOS ===== */

.panel-title {
    font-weight: 700;
    font-size: 2.2rem;
    color: #d4a017;
}

.panel-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
}

/* ===== MÉTRICAS ===== */

.panel-metric-card {
    display: flex;
    gap: 15px;
    align-items: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .panel-metric-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,.15);
    }

.panel-metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}

.panel-metric-number {
    font-size: 1.7rem;
    font-weight: 700;
    color: #1d3557;
}

.panel-metric-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* ===== TARJETAS PRINCIPALES ===== */

.panel-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .panel-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 28px rgba(0,0,0,0.15);
    }

.panel-card-header {
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 600;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.panel-card-body {
    padding: 18px;
    color: #6c757d;
    flex-grow: 1;
}

.panel-card-footer {
    padding: 18px;
    text-align: center;
}

/* ===== BOTONES ===== */

.panel-btn {
    background-color: #d4a017;
    color: white !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px 22px;
    transition: .2s ease;
}

    .panel-btn:hover {
        background-color: #b78b15;
        transform: translateY(-2px);
    }


/* ===== CARDS DE MASCOTAS ===== */

.pet-card {
    transition: transform .2s ease, box-shadow .2s ease;
    background: #ffffff;
}

    .pet-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    }

/* Imagen */
.pet-img-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.pet-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.pet-card:hover .pet-card-img {
    transform: scale(1.07);
}

/* Botón principal */
.admin-btn {
    background-color: #d4a017;
    color: white !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 8px 16px;
    transition: background-color .2s ease, transform .2s ease;
}

    .admin-btn:hover {
        background-color: #b5860f;
        transform: translateY(-2px);
    }

/* Botón editar */
.admin-btn-light {
    border: 2px solid #d4a017;
    color: #d4a017 !important;
    font-weight: 600;
    border-radius: 8px;
    transition: .2s;
}

    .admin-btn-light:hover {
        background-color: #fff4d0;
    }

/* Botón eliminar */
.admin-btn-delete {
    border: 2px solid #dc3545;
    color: #dc3545 !important;
    border-radius: 8px;
    transition: .2s;
}

    .admin-btn-delete:hover {
        background-color: #ffd5da;
    }




/* ===== CREAR MASCOTA ===== */

.pet-preview-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,.2);
    border: 3px solid #d4a01750;
}

/* Botón volver */
.admin-btn-light {
    border: 2px solid #d4a017;
    color: #d4a017 !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 6px 14px;
    transition: .2s;
    background: white;
}

    .admin-btn-light:hover {
        background: #fff4d0;
    }

/* Botón dorado guardar */
.admin-btn {
    background-color: #d4a017;
    color: white !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px;
    transition: .2s;
}

    .admin-btn:hover {
        background-color: #b5860f;
        transform: translateY(-2px);
    }


/* ===== CARDS DE SOLICITUDES ===== */

.solicitud-card {
    background: #ffffff;
    border-left: 6px solid #d4a017;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .solicitud-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,.12);
    }

/* Badges de estado */
.estado-pendiente {
    background-color: #ffc107;
    color: #4a3b00;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
}

.estado-aprobada {
    background-color: #28a745;
    color: white;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
}

.estado-rechazada {
    background-color: #dc3545;
    color: white;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
}

/* Botones */
.admin-approve-btn {
    background-color: #28a745;
    color: white !important;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 600;
    border: none;
    transition: transform .2s ease, background-color .2s ease;
}

    .admin-approve-btn:hover {
        background-color: #218838;
        transform: translateY(-2px);
    }

.admin-reject-btn {
    background-color: white;
    color: #dc3545 !important;
    border: 2px solid #dc3545;
    border-radius: 999px;
    padding: 6px 16px;
    font-weight: 600;
    transition: .2s;
}

    .admin-reject-btn:hover {
        background-color: #ffe5e9;
        transform: translateY(-2px);
    }


/* ===== DONACIONES - CARDS ===== */

.donacion-card {
    background: #ffffff;
    border-left: 6px solid #d4a017;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .donacion-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,.12);
    }

/* Badge tipo de donación */
.tipo-badge {
    background: #d4a017;
    color: white;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
}

/* ===== CAMPAÑAS ===== */

.campania-card-pro {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e4e4e4;
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}

    .campania-card-pro:hover {
        transform: translateY(-7px);
        box-shadow: 0 15px 35px rgba(0,0,0,.15);
    }

/* Imagen */
.campania-img-wrapper {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
}

.campania-img-pro {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.campania-card-pro:hover .campania-img-pro {
    transform: scale(1.1);
    filter: brightness(110%);
}

/* Overlay suave encima */
.campania-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.25));
    pointer-events: none;
}

/* Título */
.campaign-title {
    font-size: 1.1rem;
    color: #1d3557;
    font-weight: 700;
    text-transform: capitalize;
}

/* Descripción */
.campaign-desc {
    font-size: 0.9rem;
    min-height: 45px;
}

/* Estados */
.campaign-status {
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
}

.status-activa {
    background-color: #28a745;
    color: white;
}

.status-inactiva {
    background-color: #dc3545;
    color: white;
}

.status-otro {
    background-color: #6c757d;
    color: white;
}

/* Botones */
.admin-btn-light {
    border: 2px solid #d4a017;
    color: #d4a017 !important;
    border-radius: 10px;
    font-weight: 600;
    transition: .2s;
    background-color: white;
}

    .admin-btn-light:hover {
        background-color: #fff3c4;
    }

.admin-btn-delete {
    border: 2px solid #dc3545;
    color: #dc3545 !important;
    border-radius: 10px;
    font-weight: 600;
    transition: .2s;
    background-color: white;
}

    .admin-btn-delete:hover {
        background-color: #ffe1e6;
    }



/* ===== CREAR CAMPAÑA ===== */

.form-card {
    background: #ffffff;
    border-top: 6px solid #d4a017;
    border-radius: 16px;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .form-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(0,0,0,.12);
    }

/* Vista previa de campaña */
.campania-preview-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    border: 3px solid #d4a01750;
    box-shadow: 0 6px 15px rgba(0,0,0,.2);
}

/* Botón dorado */
.admin-btn {
    background-color: #d4a017;
    color: white !important;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px;
    transition: .2s;
}

    .admin-btn:hover {
        background-color: #b5860f;
        transform: translateY(-2px);
    }

/* Botón volver */
.admin-btn-light {
    border: 2px solid #d4a017;
    color: #d4a017 !important;
    border-radius: 10px;
    padding: 6px 14px;
    font-weight: 600;
    background: white;
    transition: .2s;
}

    .admin-btn-light:hover {
        background-color: #fff4d0;
    }

