/* Navbar */
.navbar-custom {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 12px 0;
    border-bottom: 3px solid var(--primary-color);
}

.navbar-custom .navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    margin-left: 25px;
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 5px;
}

.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-custom .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.navbar-toggler {
    border-color: var(--border-light);
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 118, 206, 0.15);
    border-color: var(--primary-color);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230076CE' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-custom .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-light);
    }

    .navbar-custom .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-custom .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }

    .btn-administrar {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(0, 118, 206, 0.85) 0%, rgba(0, 95, 163, 0.85) 100%), url('/images/capilla.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

/* Section Title */
.section-title {
    font-weight: 800;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 20'%3E%3Cpath d='M0 10 Q15 0 30 10 Q45 20 60 10 Q75 0 90 10 Q105 20 120 10' fill='none' stroke='%23007BA4' stroke-width='2.5' opacity='0.5'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
}

.section-title.text-start::after {
    left: 0;
    transform: none;
}

/* Footer */
.footer-custom {
    background: var(--text-dark);
    color: rgba(255,255,255,0.9);
    padding: 50px 0 20px;
}

/* Admin Breadcrumb */
.admin-breadcrumb {
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-light);
    padding: 10px 0;
}

.admin-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.admin-breadcrumb .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.admin-breadcrumb .breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.admin-breadcrumb .breadcrumb-item.active {
    color: var(--text-muted);
}

.admin-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    font-weight: 600;
}

.footer-custom h5 {
    color: white;
}

.footer-custom h5 i {
    color: white;
}

.footer-custom a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: var(--accent-color);
}

.footer-custom .text-white-50 {
    color: rgba(255,255,255,0.7) !important;
}
