﻿html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa, #e4e7eb);
    background-attachment: fixed;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
}

.navbar-custom {
    background: #8b8787;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(20, 20, 20, 0.75);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

    .navbar-custom .nav-link:hover {
        color: #ffffff;
    }

.navbar-brand {
    font-weight: 600;
    color: #111;
}

    .navbar-brand img {
        height: 40px;
        object-fit: contain;
        transition: transform 0.25s ease, filter 0.25s ease;
    }

        .navbar-brand img:hover {
            transform: scale(1.1) translateY(-2px);
            filter: brightness(1.1);
        }

.avatar-img {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .avatar-img:hover {
        transform: scale(1.05);
        box-shadow: 0 0 10px rgba(255,255,255,0.3);
    }

.btn-navbar-outline {
    border: 1px solid rgba(255,255,255,0.4);
    color: rgba(255,255,255,0.85);
    background-color: transparent;
    transition: all 0.2s ease;
}

    .btn-navbar-outline:hover {
        background-color: rgba(255,255,255,0.15);
        color: #fff;
        border-color: rgba(255,255,255,0.6);
    }

.btn-navbar-danger {
    border: 1px solid rgba(255, 99, 99, 0.6);
    color: #ff6b6b;
    background-color: transparent;
    transition: all 0.2s ease;
}

    .btn-navbar-danger:hover {
        background-color: rgba(255, 99, 99, 0.15);
        color: #fff;
        border-color: #ff6b6b;
    }

.navbar-user {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.navbar-custom .btn {
    backdrop-filter: blur(4px);
}


.pt-navbar {
    padding-top: 80px;
}

.navbar-nav .nav-link {
    position: relative;
    transition: color 0.3s ease;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background-color: #ffffff;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

@media (max-width: 991px) {

    .navbar-nav .nav-link::after {
        width: 0;
        left: 0;
    }

    .navbar-nav .nav-link:hover::after {
        width: 20%;
    }
}


.checkbox-fix input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-fix {
    display: flex;
    align-items: flex-start;
}

.alert-warning {
    border-radius: 10px;
}

.checkbox-fix input[type="checkbox"]:checked {
    accent-color: #dc3545;
}

.hero-banner {
    background: #f8f9fa;
    color: black;
    padding: 15px 8px;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    margin-top: 20px;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.img-articulo {
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa
}

.card-articulo {
    border: none;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.2s ease;
}

    .card-articulo:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    }

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.9rem;
}

.btn {
    border-radius: 8px;
}

.precio {
    color: #1a237e;
}

.btn-detalle {
    font-size: 0.8rem;
    padding: 10px 18px;
    display: block;
    margin: auto;
    width: 160px;
    border-radius: 6px;
}

.card {
    backdrop-filter: blur(8px);
}

.contacto-card {
    border-radius: 20px;
    border: none;
    background-color: #ffffff;
}
    .contacto-card .form-control {
        border-radius: 10px;
        transition: all 0.2s ease-in-out;
    }

        .contacto-card .form-control:focus {
            box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
            border-color: #0d6efd;
        }

.input-group-text {
    border-radius: 10px 0 0 10px;
    background-color: #f8f9fa;
}
.btn-enviar {
    border-radius: 12px;
    transition: all 0.2s ease;
}

    .btn-enviar:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

@media (max-width: 576px) {
    .contacto-card {
        padding: 1.5rem !important;
    }
}

.card-login {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .card-login:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    }
.input-modern {
    border-radius: 10px;
    padding: 10px 12px;
}

    .input-modern:focus {
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
        border-color: #86b7fe;
    }

.btn {
    transition: all 0.2s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

.form-check-input {
    margin-top: 0;
}

.form-check {
    gap: 6px;
}
.btn-detalle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .btn-detalle:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }