/* Footer CSS */

/* Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --text-color: #444;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --border-color: #e0e0e0;
    --container-width: 1140px;
}

/* Pre-Footer Container */
.prefooter-container {
    width: 100%;
    background-color: white;
    border-top: 1px solid var(--border-color);
    padding: 40px 0 30px;
    margin-top: 300px;
}

/* Centered Content */
.prefooter-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 50px;
}

/* Site Info Section */
.site-info {
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    background-color: #ddd;
    width: 180px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.site-description {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Address Info */
.address-info {
    font-style: normal;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
    margin-top: auto;
}

.address-info p {
    margin: 4px 0;
}

/* Navigation Grids */
.footer-nav-container {
    display: flex;
    flex-direction: column;
}

.nav-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Column Styling */
.column {
    display: flex;
    flex-direction: column;
}

.column-heading {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: bold;
    padding-bottom: 10px;
    margin-bottom: 12px;
    position: relative;
}

.column-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    line-height: 1.6;
}

.nav-item a:hover {
    color: var(--accent-color);
}

/* Footer Bottom */
.footer {
    width: 100%;
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .site-info {
        padding-right: 0;
    }

    .nav-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .prefooter-container {
        padding: 30px 0 20px;
        margin-top: 150px;
    }

    .nav-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .site-logo {
        width: 150px;
        height: 50px;
        font-size: 20px;
    }

    .social-links {
        margin-bottom: 15px;
    }

    .social-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .prefooter-container {
        padding: 20px 0 15px;
        margin-top: 80px;
    }

    .main-grid {
        gap: 20px;
    }

    .nav-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .column {
        margin-bottom: 10px;
    }

    .site-description {
        font-size: 13px;
    }

    .footer-content p {
        font-size: 13px;
    }
}
