/* Make sure the body takes the full height of the viewport */
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* Footer styles */
.footer {
    background-color: rgb(29, 30, 34);
    color: white;
    padding: 20px;
    margin-top: 100px;
    height: 400px;
}

/* Footer container: 2-column layout (logo + content) */
.footer-container {
    display: grid;
    grid-template-columns: 1fr 10fr; /* logo on left, content on right */
    gap: 100px;
    max-width: 1400px;
    margin: auto;
    margin-bottom: 30px;
    align-items: start;
}

/* Logo */
.footer-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo {
    margin-top: 20px;
    width: 320px;
    height: 70px;
    object-fit: contain;
}

/* Right side: columns as a nested grid */
.footer-right {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 70px;
}

/* Footer columns */
.footer-column {
    text-align: left;
}

.footer-column .security-info,
.footer-column .payment-methods {
    margin-bottom: 5px;
}

.footer-column h3 {
    margin-top: 20px;
    font-size: 21px;
    color: rgb(209, 180, 130);
    margin-bottom: 10px;
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
    font-size: 16px;
}

.footer-column a:hover {
    color: rgb(209, 180, 130);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 0px;
    border-top: 1px solid rgb(209, 180, 130);
    padding-top: 10px;
    font-size: 16px;
    color: rgb(209, 180, 130);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    max-width: 1400px;
    margin: auto;
}

.payment-icons{
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
    margin-top: 16px;
}
.payment-box {
  background-color: white;
  padding: 8px;
  display: flex;
  border-radius: 4px; /* optional */
  width: 50px;
  height: 30px;
}

.payment-icons img {
    width: 50px; /* adjust as needed */
}

.portugal{
    height: 12px;
}

/* Mobile: Stack everything */
@media (max-width: 1000px) {

    .footer{
        height: 100%;
        height: 700px;
        padding-bottom: 100px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .footer-column {
        width: 100%;
        font-size: 14px;
    }

    .footer-column h3 {
        font-size: 18px;
    }

    .footer-logo {
        width: 100%;
        max-width: 420px;
        min-width: 250px;
        height: auto;
        margin-bottom: 20px;
    }
}

@media (min-width: 1000px) and (max-width: 1261px) {
    .footer {
    background-color: rgb(29, 30, 34);
    color: white;
    padding: 20px;
    margin-top: 100px;
    height: 100%;
    min-height: 240px;
}

    .footer-container {
        margin-bottom: 10px;
    }

    .footer-right {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
    }
}