/*
 * Public Site Theme
 * Specific styles for public-facing pages
 */

/* Navigation */
.navbar-public {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand i {
    font-size: 2rem;
}

.nav-link-public {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s;
    border-radius: 8px;
}

.nav-link-public:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-emergency {
    background: var(--emergency-red);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-emergency:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.btn-staff-login {
    background: white;
    color: var(--primary-green);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: 2px solid white;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-staff-login:hover {
    background: transparent;
    color: white;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
}

/* Cards */
.card-custom {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    overflow: hidden;
}

.card-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 0; /* No margin needed with sticky footer */
}

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

.footer a:hover {
    color: white;
}

.footer-social {
    font-size: 1.5rem;
}

.footer-social a {
    margin: 0 0.5rem;
    transition: transform 0.3s;
    display: inline-block;
}

.footer-social a:hover {
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .btn-emergency {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}
