/* Responsive CSS for Mix Fashion */

/* Typography & General Scaling */
html {
    font-size: 16px;
}

@media screen and (max-width: 1200px) {
    html {
        font-size: 15px;
    }
}

@media screen and (max-width: 992px) {
    html {
        font-size: 14px;
    }
    #section1 h1, #section2 h1, #section3 h1, #section4 h1, #section5 h1 {
        font-size: 4vw !important;
    }
    #section1 p, #section2 p, #section3 p, #section4 p, #section5 p {
        width: 80% !important;
    }
    .responsive-div {
        width: 80% !important;
    }
    .subheadline, .accordion-content p {
        font-size: 1.2rem !important;
        font-weight: bold;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 13px;
    }
    header {
        padding: 0.5em 1em !important;
    }
    header h1 img {
        width: 150px !important;
    }
    header nav a[href="#menu"] {
        padding: 0 1.5em !important;
    }
    .layer {
        top: 15% !important;
    }
    #section1 h1, #section2 h1, #section3 h1, #section4 h1, #section5 h1 {
        font-size: 6vw !important;
    }
    #section1 p, #section2 p, #section3 p, #section4 p, #section5 p {
        width: 90% !important;
        font-size: 1.0rem !important;
    }
    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 15px !important;
    }
    .square-background {
        width: 100%;
        max-width: 300px;
    }
    .responsive-div {
        width: 95% !important;
    }
    .subheadline, .accordion-content p {
        font-size: 1.1rem !important;
        font-weight: bold;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 12px;
    }
    header h1 img {
        width: 120px !important;
    }
    #section1 h1, #section2 h1, #section3 h1, #section4 h1, #section5 h1 {
        font-size: 8vw !important;
    }
    .layer {
        top: 12% !important;
    }
    footer p {
        font-size: 0.8rem;
    }
}

/* Modal Styles */
.mf-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.mf-modal-content {
    background-color: #353839;
    margin: 3% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    color: white;
    position: relative;
}

.mf-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.mf-modal-close:hover {
    color: #d7407a;
}

.mf-form-group {
    margin-bottom: 20px;
}

.mf-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 300;
}

.mf-form-control {
    width: calc(100% - 31px);
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    border-radius: 4px;
    font-family: inherit;
}

.mf-form-control:focus {
    outline: none;
    border-color: #d7407a;
}

.mf-btn-submit {
    background-color: #d7407a;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    width: calc(100% - 50px);
    font-size: 1rem;
    border-radius: 4px;
    transition: opacity 0.3s;
}

.mf-btn-submit:hover {
    opacity: 0.8;
}

.mf-captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mf-captcha-box {
    background: #eee;
    color: #333;
    padding: 5px 15px;
    font-weight: bold;
    letter-spacing: 3px;
    user-select: none;
}
