/* FOOTER STYLES */

/* Container Reset */
.newsletter-section {
    max-width: 555px;
}

.newsletter-section form {
    width: 100%;
}

.newsletter-section .label {
    color: #AEAEAE;
    font-family: "NB Architekt Std";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.newsletter-form-inner {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.3); */
    padding-bottom: 8px;
}

/* Input Field */
.newsletter-form-inner input[type="email"] {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'NB Architekt Std', monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    flex-grow: 1;
    outline: none;
    display: flex;
    padding: 12px;
    border-bottom: 1px solid #FFF;
}

/* The Boxed Button */
.newsletter-form-inner button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #ffffff;
    color: #ffffff;
    font-family: 'NB Architekt Std', monospace;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding: 8px 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.newsletter-form-inner button:hover {
    background: #ffffff;
    color: #121212;
}

/* Success/Error Message Styling */
.mc4wp-response {
    font-size: 10px;
    margin-top: 10px;
    text-transform: uppercase;
}

.mc4wp-success {
    color: #00ff00;
}

.mc4wp-error {
    color: #ff4444;
}


.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 40px;
}

.footer-links a {
    text-decoration: none;
    color: #ffffff;
    font-family: 'NB Architekt Std', monospace;
        text-transform: uppercase;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
}

.footer-links a:hover {
    opacity: 1;
}


/* 1. Main Wrapper */
.site-footer {
    background: #121212;
    color: #ffffff;
    width: 100%;
    margin: 0;
    padding: 0;
    /* Remove all padding from the main footer */
    font-family: 'NB Architekt Std', monospace;
}

/* 2. Top Content Section */
.footer-content {
    padding: 120px 0 10px;
    /* Large top padding, smaller bottom padding */
}

.footer-container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 40px;
    /* Side padding to keep content off the screen edges */
    display: flex;
    flex-direction: column;
    gap: 123px;
    /* Space between the rows */
}

/* 3. Layout Rows */
.footer-top,
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    gap: 64px;
    flex-direction: column;
    width: 50%;
}

.footer-social {
    display: flex;
    gap: 64px;
}

.group-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    margin-bottom: 16px;
}

/* 4. Giant Image Section */
.footer-giant-text {
    width: 100%;
    line-height: 0;
    /* Critical: removes the 4px gap below images */
}

.footer-giant-text img {
    width: 100%;
    height: auto;
    display: block;
}

/* 5. Typography Fixes */
.footer-bottom {
    text-transform: uppercase;
    color: #FFF;
    font-family: "NB Architekt Std";
    font-size: 12px;
    font-style: normal;
    font-weight: 300;
    line-height: 15px;
}

.social-icon-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.social-icon-wrapper {
    position: relative;
    width: 48px;
    /* Container slightly larger than the 48px border */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* The Icon in the middle */
.icon-circle {
    width: 32px;
    height: 32px;
    /* background: #fff; */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* The Frame Container (Hidden by default) */
.hover-frame {
    position: absolute;
    width: 48px;
    height: 48px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.8);
    /* Slight zoom effect */
    pointer-events: none;
    /* User clicks the icon, not the frame */
}

/* Thin Stroke */
.thin-border {
    position: absolute;
    inset: 0;
    border: 0.5px solid #FFF;
    opacity: 0.5;
}

/* Corners */
.corner {
    position: absolute;
    width: 24px;
    height: 24px;
}

.corner-tl {
    top: -1px;
    left: -1px;
}

.corner-br {
    bottom: -1px;
    right: -1px;
}

/* --- HOVER STATE --- */
.social-icon-wrapper:hover .hover-frame {
    opacity: 1;
    transform: scale(1);
}

/* Hover movement for corners (Optional but looks cool) */
.social-icon-wrapper:hover .corner-tl {
    /* transform: translate(-2px, -2px); */
    transition: transform 0.2s ease-out;
}

.social-icon-wrapper:hover .corner-br {
    /* transform: translate(2px, 2px); */
    transition: transform 0.2s ease-out;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 64px 0 10px;
    }
    .footer-container {
        gap: 64px;
    }
    .footer-top {
        flex-direction: column;
        gap: 64px;
    }
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
    }
    .footer-left {
        width: 100%;
    }
    .footer-right {
        width: 100%;
        max-width: 100%;
    }
    .newsletter-section {
        max-width: 100%;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
    .footer-social {
        display: flex;
        gap: 12px;
        flex-direction: row;
        justify-content: space-between;
    }
    .newsletter-form-inner {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
        gap: 48px;
    }
    .footer-top {
        gap: 40px;
    }
    .footer-links {
        gap: 16px;
    }
    .footer-links a {
        font-size: 14px;
    }
    .footer-bottom {
        gap: 16px;
    }
}