/* ----------------------------
   Footer Section
---------------------------- */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Footer Top - Newsletter */
.footer-top {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 80px 20px;
    text-align: center;
}

/* Dark overlay to increase text visibility */
.footer-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Newsletter content stays above overlay */
.footer-newsletter {
    position: relative;
    z-index: 2;
}

.footer-top-image {
    display: none;
    /* NO longer needed since using background image */
}


.footer-newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.footer-newsletter p {
    color: #ccc;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    max-width: 320px;
    padding: 12px 15px;
    border-radius: var(--radius);
    border: none;
    outline: none;
    min-width: 250px;
    font-size: 1rem;
}

.newsletter-form .btn-primary {
    padding: 12px 25px;
}


/* Footer Middle */
.footer-middle {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.03);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-white);
}

.footer-column p,
.footer-column li {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: var(--color-primary);
}

.footer-social a {
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.3s;
}

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

.footer-social img {
    width: 28px;
    height: 28px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
}

.footer-left a,
.footer-right a {
    color: var(--color-white);
    margin-right: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-left a:hover,
.footer-right a:hover {
    color: var(--color-primary);
}

.footer-center {
    color: #ccc;
    text-align: center;
    flex: 1;
}

.footer-right img {
    height: 30px;
    vertical-align: middle;
}

/* ----------------------------
   Responsive
---------------------------- */
@media(max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media(max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-left,
    .footer-right,
    .footer-center {
        margin: 5px 0;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }

    .newsletter-form input[type="email"] {
        width: 100%;
        max-width: 400px;
    }
}

@media(max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
