* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f6f2;
    color: #2d2e2a;
    font-family: "Playfair Display", serif;
}





.contact-hero {
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image:
            url("images/contact/background_contact.png");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(35, 35, 31, 0.42);
    backdrop-filter: blur(4px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 20px;
    color: white;
}


.hero-content h1 {
    font-family: "Playfair Display", serif;
    font-size: 68px;
    font-weight: 400;
    margin-bottom: 18px;
    margin-top: 15px;
}

.hero-text {
    font-size: 15px;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto;
}

.hero-text strong {
    font-weight: 600;
}


.contact-section {
    padding: 85px 6%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ----------left form---------- */

.contact-form-container {
    padding: 10px 65px 20px 10px;
}

.section-label {
    font-size: 11px;
    letter-spacing: 2px;
    color: #66655f;
    margin-bottom: 18px;
}

.contact-form-container h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 14px;
}

.form-intro {
    color: #77756f;
    font-size: 14px;
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 38px;
}

.form-group {
    margin-bottom: 27px;
}

.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: 2px;
    color: #62615c;
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #c9c5bd;
    background: transparent;
    padding: 9px 4px;
    font-family:  "Manrope", serif;
    font-size: 15px;
    color: #2d2e2a;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #898781;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #2d2e2a;
}

.message-group textarea {
    height: 110px;
    resize: vertical;
}

.send-button {
    width: 100%;
    border: none;
    background-color: #2d2e2a;
    color: white;
    padding: 17px 20px;
    font-family: "Manrope", serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.send-button:hover {
    background-color: #454640;
}

.send-button:active {
    transform: translateY(1px);
}

.form-message {
    margin-top: 15px;
    font-size: 13px;
    min-height: 18px;
}

/* ------------right side-----------*/

.contact-info-container {
    border-left: 1px solid #d4d0c8;
    display: flex;
    flex-direction: column;
}

.studio-info {
    height: 50%;
    min-height: 350px;
    padding: 35px 35px 35px 60px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 45px;
    row-gap: 30px;
    align-items: center;
}

.info-block {
    margin-bottom: 0;
}

.info-label {
    font-size: 10px;
    letter-spacing: 2px;
    color: #62615c;
    margin-bottom: 9px;
}

.info-text {
    font-size: 14px;
    line-height: 1.8;
    color: #373833;
}

.info-block i {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #373833;
}

.hours-block {
    margin-bottom: 0;
}



.map-container {
    height: 50%;
    min-height: 320px;
    border-top: 1px solid #d4d0c8;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
    display: block;
}






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

    .contact-form-container {
        padding: 10px 0 60px 0;
    }

    .contact-info-container {
        border-left: none;
        border-top: 1px solid #d4d0c8;
    }

    .studio-info {
        padding: 50px 0;
        min-height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        row-gap: 35px;
    }

    .map-container {
        min-height: 350px;
    }
}

@media (max-width: 600px) {
    .contact-hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-text {
        font-size: 14px;
    }

    .contact-section {
        padding: 60px 25px;
    }

    .contact-form-container h2 {
        font-size: 34px;
    }

}




/* -----dark mode ---*/


body.dark {
    background-color: #242521;
    color: #eeeae2;
}

body.dark .hero-overlay {
    background-color: rgba(20, 21, 18, 0.58);
}


body.dark .contact-section {
    background-color: #242521;
}

body.dark .section-label {
    color: #aaa9a2;
}

body.dark .contact-form-container h2 {
    color: #eeeae2;
}

body.dark .form-intro {
    color: #aaa9a2;
}


body.dark .form-group label {
    color: #aaa9a2;
}


body.dark .form-group input,
body.dark .form-group textarea {
    color: #eeeae2;

    background-color: transparent;

    border-bottom-color: #555650;
}


body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder {
    color: #85867f;
}

body.dark .form-group input:focus,
body.dark .form-group textarea:focus {
    border-bottom-color: #eeeae2;
}


body.dark .send-button {
    background-color: #eeeae2;

    color: #292a26;
}


body.dark .send-button:hover {
    background-color: #ffffff;
}


body.dark .contact-info-container {
    border-left-color: #50514c;
}


body.dark .info-label {
    color: #aaa9a2;
}


body.dark .info-text {
    color: #d0cec7;
}


body.dark .info-block i {
    color: #d0cec7;
}


body.dark .map-container {
    border-top-color: #50514c;
}



@media (max-width: 900px) {

    body.dark .contact-info-container {
        border-left: none;

        border-top-color: #50514c;
    }

}

body.dark .form-message {
    color: #b8c7b0;
}



/*  promena na background boi  */

/* light mode  */
body {
    background-color: #FAF7F2;
}

/* dark mode */
body.dark {
    background-color: #151014;
}

body.dark .contact-section {
    background-color: #151014;
}
