/* LCC Library Styles */

:root {
    /* LCC Brand Colors */
    --lcc-yellow: #A3D9B3;
    --lcc-navy: #1E2761;
    --lcc-dark-blue: #27323a;
    --lcc-gray-blue: #A3D9B3;
    --lcc-white: #fff;
    
    /* Section Background Colors */
    --bg-light-yellow: #dffde8;
    --bg-light-blue: #f0f2f7;
    --bg-light-gray: azure;
    --primary-light-navy-transparent: #8595ff60;
    --primary-navy: #1E2761;
}

/* Typography */
body {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    color: var(--lcc-navy);
}

/* Page Title */
.page-title {
    color: var(--lcc-navy);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.page-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--lcc-yellow);
    margin: 0.5rem auto 0;
}

.lead {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
    font-size: 1.2rem;
}

/* Section Styles */
.section-wrapper {
    width: 100%;
    padding: 3rem 0;
}

/* Section Titles */
.section-title {
    color: var(--lcc-navy);
    margin-bottom: 2rem;
    font-weight: 600;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--lcc-yellow);
    margin: 1rem 0 2rem;
}

/* Section Background Colors */
.hero-section {
    background-color: azure;
    padding: 3rem 0;
}

.library-overview-section {
    background-color: var(--bg-light-yellow);
    padding: 3rem 0;
}

.library-hours-section {
    background-color: azure;
    padding: 3rem 0;
}

.library-services-section {
    background-color: var(--bg-light-yellow);
    padding: 3rem 0;
}

.library-collections-section {
    background-color: azure;
    padding: 3rem 0;
}

.library-policies-section {
    background-color: var(--bg-light-yellow);
    padding: 3rem 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(var(--primary-light-navy-transparent), var(--primary-navy)), url('https://images.unsplash.com/photo-1541339907198-e08756dedf3f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1170&q=80') center/cover no-repeat;
    color: var(--lcc-white);
    padding: 3rem 0;
}

.contact-section .section-title,
.contact-section p {
    color: var(--lcc-white);
}

/* Library Highlights */
.library-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.highlight-item {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.highlight-item i {
    color: var(--lcc-yellow);
    font-size: 1.2rem;
    margin-right: 0.8rem;
}

.highlight-item span {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-navy);
    font-weight: 600;
}

/* Library Hours */
.card-header.bg-primary {
    background-color: var(--lcc-navy) !important;
}

.card-title {
    color: var(--lcc-navy);
    font-weight: 600;
    border-bottom: 2px solid var(--lcc-yellow);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.table {
    margin-bottom: 0;
}

.table td, .table th {
    padding: 0.75rem;
    vertical-align: middle;
}

.table td strong {
    color: var(--lcc-navy);
}

.alert-info {
    background-color: #e8f4fd;
    border-color: #c1e1fb;
    color: #0c5460;
}

/* Service Cards */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 500px;
}

.service-card-hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: var(--lcc-yellow);
    background: var(--lcc-navy);
    padding: 1.5rem;
    height: 50px;
    width: 50px;
    border-radius: 150%;
}

.service-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.service-card h3 {
    color: var(--lcc-navy);
    margin-top: 1rem;
    font-weight: 600;
}

.service-card p {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
    margin-bottom: 1.5rem;
}

.service-details {
    list-style-type: none;
    padding-left: 0;
    text-align: left;
}

.service-details li {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--lcc-yellow);
    position: absolute;
    left: 0;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card-text {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
}

.collection-list {
    list-style-type: none;
    padding-left: 0;
}

.collection-list li {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.collection-list li:before {
    content: '\f02d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--lcc-yellow);
    position: absolute;
    left: 0;
}

/* Catalog Search Section */
.catalog-search-section {
    background: linear-gradient(135deg, var(--lcc-navy) 0%, var(--lcc-dark-blue) 100%);
}

.search-form .form-control {
    border-radius: 4px 0 0 4px;
}

.search-form .btn {
    border-radius: 0 4px 4px 0;
}

.form-check-label.text-white {
    font-family: 'Montserrat', sans-serif;
}

/* Library Policies Accordion */
.accordion-button {
    font-family: 'Lora', serif;
    color: var(--lcc-navy);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(163, 217, 179, 0.1); /* Light Yellow/Green */
    color: var(--lcc-navy);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(163, 217, 179, 0.25); /* Light Yellow/Green */
}

.accordion-body {
    font-family: 'Montserrat', sans-serif;
    color: var(--lcc-dark-blue);
}

/* Contact Info */
.contact-info {
    margin: 2rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--lcc-white);
}

.contact-info i {
    color: var(--lcc-yellow);
}

/* Buttons */
.btn-primary {
    background-color: var(--lcc-yellow);
    border-color: var(--lcc-yellow);
    color: var(--lcc-navy);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--lcc-navy);
    border-color: var(--lcc-navy);
    color: var(--lcc-white);
}

/* Map Container */
.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .library-highlights {
        flex-direction: column;
    }
    
    .service-card {
        margin-bottom: 1.5rem;
    }
}
