﻿/* Footer Component Styles */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4,
.footer-section h5 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 600;
}

.footer-section h4 {
    font-size: 1.5rem;
}

.footer-section h5 {
    font-size: 1.1rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-section ul li {
        margin-bottom: 0.75rem;
    }

        .footer-section ul li:last-child {
            margin-bottom: 0;
        }

        .footer-section ul li a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            display: block;
            padding: 0.25rem 0;
            position: relative;
        }

            .footer-section ul li a:hover {
                color: var(--accent-color);
                transform: translateX(-5px);
            }

            .footer-section ul li a::before {
                content: '›';
                position: absolute;
                right: -1rem;
                opacity: 0;
                transition: all 0.3s ease;
            }

            .footer-section ul li a:hover::before {
                opacity: 1;
                right: -0.5rem;
            }

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

        .social-links a:hover {
            background: var(--accent-color);
            color: var(--primary-color);
            transform: translateY(-3px);
        }

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .contact-info li {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }

        .contact-info li:last-child {
            margin-bottom: 0;
        }

        .contact-info li i {
            color: var(--accent-color);
            font-size: 1.1rem;
            margin-top: 0.2rem;
            flex-shrink: 0;
        }

        .contact-info li span {
            line-height: 1.6;
        }

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

    .footer-bottom p {
        margin: 0;
        font-size: 0.9rem;
    }

/* Newsletter in Footer */
.newsletter-section {
    background: var(--secondary-color);
    padding: 3rem 0;
    text-align: center;
}

.newsletter-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.newsletter-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    outline: none;
    background: var(--white);
}

    .newsletter-input::placeholder {
        color: var(--text-light);
    }

.newsletter-btn {
    background: var(--primary-color);
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .newsletter-btn:hover {
        background: var(--accent-color);
        color: var(--primary-color);
    }

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h5 {
        border-bottom: none;
        padding-bottom: 0;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
        border-radius: 10px;
    }

    .newsletter-input {
        border-radius: 10px 10px 0 0;
    }

    .newsletter-btn {
        border-radius: 0 0 10px 10px;
    }
}

@media (max-width: 576px) {
    .footer-section h4 {
        font-size: 1.3rem;
    }

    .footer-section h5 {
        font-size: 1rem;
    }

    .newsletter-content h3 {
        font-size: 1.5rem;
    }

    .newsletter-content p {
        font-size: 1rem;
    }
}
/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

    .scroll-to-top:hover {
        background: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }

    .scroll-to-top.show {
        display: flex;
    }

/* Newsletter Messages */
.newsletter-message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

    .newsletter-message.success-message {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .newsletter-message.error-message {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

/* Responsive Scroll to Top */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}