/* ==========================================================================
   STONE SOUP FOOTER STYLES
   ========================================================================== */

.site-footer {
    background-color: #2c2c2c;
    color: #ffffff;
    margin-top: 60px;
}

.footer-content {
    padding: 60px 40px 40px;
    background-color: #2c2c2c;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: Georgia, "Times New Roman", serif;
}

/* Footer About Column */
.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
}

.footer-logo h3 {
    margin: 0 0 0 0;
    color: #ffffff;
    font-size: 1.75rem;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.125rem;
}

.footer-logo h3 a {
    color: #ffffff;
    text-decoration: none;
}

.footer-logo-image {
    max-height: 40px;
    width: auto;
}

.footer-description {
    color: #cccccc;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer Links Column */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #cccccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Footer Newsletter Column */
.footer-newsletter p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-newsletter-signup {
    display: flex;
    flex-direction: column;
}

.newsletter-input-wrapper {
    display: flex;
    gap: 8px;
}

.footer-newsletter-signup input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #3a3a3a;
    color: #ffffff;
    transition: border-color 0.2s ease;
}

.footer-newsletter-signup input[type="email"]:focus {
    outline: none;
    border-color: #60a672;
    background-color: #444;
}

.footer-newsletter-signup input[type="email"]::placeholder {
    color: #999;
}

.footer-newsletter-signup button {
    padding: 12px 24px;
    background-color: #D72123;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-weight: 500;
    white-space: nowrap;
}

.footer-newsletter-signup button:hover {
    background-color: #b01a1c;
}

/* Footer Social Column */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    color: #cccccc;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: #ffffff;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-contact p {
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #60a672;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #7bc98c;
    text-decoration: underline;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #1a1a1a;
    padding: 20px 0;
    border-top: 1px solid #3a3a3a;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 0 0;
    text-align: left;
}

.footer-bottom p {
    margin: 0;
    color: #999;
    font-size: 0.85rem;
}

.copyright {
    color: #999;
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        padding: 40px 20px 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px;
    }

    .footer-bottom-content {
        text-align: center;
        padding: 0 20px;
    }

    .newsletter-input-wrapper {
        flex-direction: column;
    }

    .footer-newsletter-signup button {
        width: 100%;
    }
}

/* Newsletter Message Styling */
.newsletter-message {
    position: fixed;
    top: 100px;
    right: 20px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideInRight 0.3s ease-out;
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.newsletter-message.newsletter-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.newsletter-message.newsletter-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

@media (max-width: 768px) {
    .newsletter-message {
        top: 80px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}
