/* Contact Page Styles */
.contact-page-wrapper {
    background-color: #0d0d0d;
    font-family: inherit;
}

/* Hero Section */
.contact-hero {
    /* We use a placeholder local image if available, else standard linear gradient */
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
}



/* Info Bar */
.contact-info-bar {
    padding: 1.5rem 0;
}

/* Card styles — target Bootstrap card classes used in HTML */
.contact-info-bar .info-card {
    background: #311725;
    border: 1px solid rgba(225, 184, 208, 0.12);
    border-radius: 6px;
}

.contact-info-bar .info-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.25rem 1rem !important;
}

.contact-info-bar .info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-bar .info-icon svg {
    width: 32px;
    height: auto;
}

.contact-info-bar .info-item svg {
    margin-bottom: 2rem;
}

.contact-info-bar .info-link,
.contact-info-bar .info-text {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    opacity: 0.9;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.contact-info-bar .info-link:hover {
    opacity: 1;
    color: #E1B8D0;
    text-decoration: underline;
}

/* Form and Map Section */
.contact-form-map-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
    background-color: #0d0d0d;
}

.contact-form-container {
    width: 100%;
    height: auto;
}

.contact-form-map-section .custom-contact-form .form-title {
    color: var(--White, #FFF);
    font-family: "Open Sans", sans-serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 2rem;
}

.contact-form-map-section .custom-contact-form .form-subtitle {
    color: #FFF;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
}

/* Contact Form 7 Styles */
.contact-form-map-section .custom-contact-form label {
    width: 100%;
    color: #ffffff;
    margin-bottom: 0;
}

.contact-form-map-section .custom-contact-form p {
    margin-bottom: 25px;
}

.contact-form-map-section .custom-contact-form input[type="text"],
.contact-form-map-section .custom-contact-form input[type="email"],
.contact-form-map-section .custom-contact-form input[type="tel"],
.contact-form-map-section .custom-contact-form textarea {
    width: 100%;
    background-color: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    padding: 18px 20px;
    border-radius: 2px;
    margin-top: 0;
    font-size: 1.1rem;
    font-weight: 300;
}

.contact-form-map-section .custom-contact-form input::placeholder,
.contact-form-map-section .custom-contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1;
    font-weight: 300;
}

.contact-form-map-section .custom-contact-form input:focus,
.contact-form-map-section .custom-contact-form textarea:focus {
    outline: none !important;
    border-bottom-color: #fff;
    box-shadow: none !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

.contact-form-map-section .custom-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-map-section .custom-contact-form input[type="submit"],
.contact-form-map-section .custom-contact-form button[type="submit"],
.contact-form-map-section .custom-contact-form .wpcf7-submit {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
    padding: 15px 40px;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 2%;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form-map-section .custom-contact-form input[type="submit"]:hover,
.contact-form-map-section .custom-contact-form button[type="submit"]:hover,
.contact-form-map-section .custom-contact-form .wpcf7-submit:hover {
    background: rgba(110, 63, 88, 0.50);
    border: 1px solid #6E3F58;
    color: #fff;
}

/* Map Column */
.contact-form-map-section .map-column {
    display: flex;
    align-items: stretch;
}

.contact-form-map-section .map-container {
    width: 100%;
    overflow: hidden;
    height: 400px;
}

.contact-form-map-section .map-container iframe {
    border: 0;
    width: 100%;
}

/* Working Hours Section */
.working-hours-section {
    background: #311725;
}

.working-hours-section .working-hours-image {
    background-image: linear-gradient(135deg, rgba(75, 27, 49, 0.4), rgba(0, 0, 0, 0.8));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 941px;
    height: 448px;
    aspect-ratio: 918/479;
    max-width: 100%;
    background-color: #2a2a2a;
}

.working-hours-section .hours-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.working-hours-section .hours-content {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.working-hours-section .hours-title {
    color: var(--White, #FFF);
    font-family: "Open Sans", sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    text-transform: capitalize;
    padding-left: 10px;
}

.working-hours-section .hours-list {
    margin-top: 1rem;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 30px;
}

.wpcf7-response-output {
    color: #fff;
}

.cf-turnstile {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .border-left-right {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (min-width: 992px) {

    .contact-form-map-section .map-container {
        height: 48.472vw;
        width: 90%;
    }

    .contact-form-container {
        height: auto;
        min-height: 48.472vw;
        width: 90%;
    }

    .contact-form-container {
        margin-right: auto;
    }

    .contact-form-map-section .map-container {
        margin-left: auto;
    }
}

@media screen and (min-width: 768px) and (max-width: 1599px) {
    .contact-info-bar {
        padding: 3.333vw 0;
    }

    .contact-form-map-section {
        padding: 2vw 0;
    }

    .contact-hero .contact-title {
        font-size: 3.888vw;
    }

    .contact-info-bar .info-item svg {
        margin-bottom: 1.8vw;
        width: 2.425vw;
        height: auto;
    }

    .contact-info-bar .info-item .info-heading {
        font-size: 1.666vw;
        margin-bottom: 0.347vw;
    }

    .contact-info-bar .info-item .info-link,
    .contact-info-bar .info-item .info-text {
        font-size: 1.1vw;
    }

    .contact-form-map-section .map-container {
        height: 350px;
        width: 100%;
    }

    @media (min-width: 992px) {
        .contact-form-map-section .map-container {
            margin-top: 0;
            height: 45.1vw;
            width: 90%;
        }

        .contact-form-map-section .map-container iframe {
            height: 45.1vw;
        }

        .contact-form-container {
            width: 90%;
            height: auto;
        }
    }

    .contact-form-map-section .custom-contact-form .form-title,
    .working-hours-section .hours-title {
        font-size: 2.08vw;
        line-height: normal;
    }

    .contact-form-map-section .custom-contact-form .form-title {
        margin-bottom: 1.39vw;
    }

    .contact-form-map-section .custom-contact-form .form-subtitle {
        font-size: 1.1vw;
        line-height: 1.805vw;
    }

    .contact-form-map-section .custom-contact-form p {
        margin-bottom: 1.736vw;
    }

    .wpcf7-response-output {
        font-size: 1.11vw;
    }

    .contact-form-map-section .custom-contact-form input[type="text"],
    .contact-form-map-section .custom-contact-form input[type="email"],
    .contact-form-map-section .custom-contact-form input[type="tel"],
    .contact-form-map-section .custom-contact-form textarea {
        padding: 1vw;
        font-size: 1.11vw;
    }

    .contact-form-map-section .custom-contact-form input[type="submit"],
    .contact-form-map-section .custom-contact-form button[type="submit"],
    .contact-form-map-section .custom-contact-form .wpcf7-submit {
        padding: 1vw 2.7vw;
        font-size: 1.11vw;
        margin-top: 1vw;
    }

    .working-hours-section .working-hours-image {
        width: 100%;
        height: 26vw;
        min-height: auto;
        aspect-ratio: auto;
    }

    .working-hours-section .hours-content {
        align-items: flex-start;
        text-align: left;
    }

    .working-hours-section .hours-title {
        padding-left: 0.694vw;
    }

    .working-hours-section .hours-list {
        font-size: 1.1vw;
        line-height: 2.083vw;
        margin-top: 1.39vw;
        margin-bottom: 1vw;
    }
}

@media (min-width: 1600px) {

    .contact-form-map-section .map-container {
        height: 698px;
        width: 90%;
    }

    .contact-form-container {
        height: auto;
        min-height: 698px;
        width: 90%;
    }
}

/* Tablet and Mobile adjustments for Working Hours */
@media screen and (max-width: 991px) and (min-width: 768px) {

    .working-hours-section .row {
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .working-hours-section .image-column {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 15px;
    }

    .working-hours-section .working-hours-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }

    .working-hours-section .hours-column {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media screen and (max-width: 991px) {

    /* Shared logic between tablet & mobile */
    .working-hours-section .hours-content {
        align-items: flex-start !important;
        text-align: left !important;
    }

    .working-hours-section .hours-content .d-flex {
        justify-content: flex-start !important;
        width: 100%;
        margin-bottom: 15px !important;
    }

    .working-hours-section .hours-list {
        text-align: left;
        width: 100%;
        margin: 0;
        font-size: 1.1vw;
        line-height: 1.6;
    }

    /* Fix SVG size */
    .working-hours-section .hours-content svg {
        width: 20px !important;
        height: 22px !important;
    }

    .working-hours-section .hours-title {
        padding-left: 10px !important;
        font-size: 2.08vw;
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .contact-hero .contact-title {
        font-size: 32px;
        text-align: center;
    }

    .contact-info-bar {
        padding: 40px 0 0;
    }

    .contact-info-bar .info-item svg {
        margin-bottom: 20px;
        width: 36px;
        height: auto;
    }

    .contact-info-bar .info-item .info-heading {
        font-size: 22px;
    }

    .contact-info-bar .info-item .info-link,
    .contact-info-bar .info-item .info-text {
        font-size: 15px;
    }

    .border-left-right {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-left: none;
        border-right: none;
        padding: 30px 0;
        margin: 30px 0;
    }

    .contact-form-map-section {
        padding: 40px 0;
    }

    .contact-form-container {
        height: auto;
        max-width: 100%;
    }

    .contact-form-map-section .custom-contact-form .form-title,
    .working-hours-section .hours-title {
        font-size: 22px;
        line-height: normal;
    }

    .contact-form-map-section .custom-contact-form .form-title {
        margin-bottom: 20px;
    }

    .contact-form-map-section .custom-contact-form .form-subtitle {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .contact-form-map-section .custom-contact-form p {
        margin-bottom: 20px;
    }

    .wpcf7-response-output {
        font-size: 16px;
    }

    .contact-form-map-section .custom-contact-form input[type="text"],
    .contact-form-map-section .custom-contact-form input[type="email"],
    .contact-form-map-section .custom-contact-form input[type="tel"],
    .contact-form-map-section .custom-contact-form textarea {
        padding: 15px;
        font-size: 15px;
        min-height: 50px;
    }

    .contact-form-map-section .custom-contact-form textarea {
        min-height: 150px;
    }

    .contact-form-map-section .custom-contact-form input[type="submit"],
    .contact-form-map-section .custom-contact-form button[type="submit"],
    .contact-form-map-section .custom-contact-form .wpcf7-submit {
        padding: 15px 30px;
        font-size: 15px;
        margin-top: 15px;
        width: 100%;
    }

    .contact-form-map-section .map-container {
        height: auto;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form-map-section .map-container iframe {
        width: 100%;
        height: 350px;
        aspect-ratio: auto;
    }

    .working-hours-section .working-hours-image {
        width: 100%;
        height: 280px;
        min-height: auto;
        aspect-ratio: auto;
    }

    .hours-right-content-wrapper {
        width: 100%;
    }

    .working-hours-section .hours-content {
        align-items: flex-start;
        text-align: left;
    }

    .working-hours-section .hours-title {
        padding-left: 0;
        margin-top: 4px;
    }

    .working-hours-section .hours-list .day {
        flex: 0 0 100%;
    }

    .working-hours-section .hours-list {
        font-size: 15px;
        line-height: 1.8;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    /* Mobile specific hiding image */
    .working-hours-section .image-column,
    .working-hours-section .working-hours-image {
        display: none !important;
    }

    .working-hours-section .row {
        justify-content: center;
    }

    .working-hours-section .hours-column {
        padding: 40px 20px;
    }

    .working-hours-section .hours-content {
        align-items: center !important;
    }

    .working-hours-section .hours-content .d-flex {
        justify-content: center !important;
    }

    .working-hours-section .hours-list {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width : 991px) {
    .contact-form-map-section .custom-contact-form .form-title {
        margin-top: -32px;
    }
}