/* Contacts Page Styles */

/* Hero Section */
.main_content_padding {
    padding-top: 135px;
}

.contacts-hero {
    position: relative;
    /* background: linear-gradient(135deg,
            rgba(57, 94, 136, 0.35) 0%,
            rgba(57, 94, 136, 0.35) 100%),
        url('../images/contacts/hero-contacts.webp') center/cover no-repeat; */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--berloga-white);
    text-align: center;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contacts-hero__container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

/* Breadcrumbs */
.contacts-hero__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--regular-text-font-family);
    font-size: 16px;
    font-weight: 600;
    /* margin-bottom: 20px; */
}

.contacts-hero .contacts-hero__breadcrumbs .contacts-hero__breadcrumb {
    color: var(--berloga-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contacts-hero__breadcrumb:hover {
    opacity: 1;
}

.contacts-hero__breadcrumb--current {
    opacity: 1;
    font-weight: 600;
}

.contacts-hero__breadcrumb-separator {
    opacity: 0.6;
}

/* Hero Title */
.contacts-hero__title {
    font-family: var(--h1-font-family, 'Nunito', sans-serif);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--berloga-white);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}




/* Contacts Content */
.contacts-content {
    padding: 100px 0;
    background: var(--berloga-white);
}

.contacts-content__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-content__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
}

/* Contact Information */
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contacts-info__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.contacts-info__item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contacts-info__icon {
    flex-shrink: 0;
    /* width: 60px; */
    /* height: 60px; */
    /* background: var(--berloga-dark-blue); */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.contacts-info__icon img {
    width: 30px;
    height: 30px;
}

.contacts-info__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacts-info__title {
    font-family: var(--h3-font-family);
    font-size: 20px;
    font-weight: 600;
    color: var(--berloga-text);
    /* margin: 0 0 10px 0; */
}

.contacts-info__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--regular-text-font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--berloga-text);
    /* margin: 0 0 5px 0; */
    line-height: 1.5;
}

.contacts-info__description {
    font-family: var(--regular-text-font-family);
    font-size: 14px;
    color: rgba(26, 26, 26, 0.7);
    /* margin: 8px 0 0 0; */
    line-height: 1.4;
}

.contacts-info__link {
    color: var(--berloga-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts-info__link:hover {
    color: var(--berloga-magenta);
}

/* Social Media */
.contacts-info__social {
    display: flex;
    gap: 15px;
    margin: 10px 0;
}

.contacts-info__social-link {
    width: 40px;
    height: 40px;
    background: var(--berloga-blue-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contacts-info__social-link:hover {
    background: var(--berloga-blue);
    transform: translateY(-2px);
}

.contacts-info__social-link img {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contacts-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
    background: var(--berloga-dark-blue);
    border-radius: 30px;
    padding: 50px;
    color: var(--berloga-white);
}

.contacts-form__header {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 10px;
    text-align: center;
    /* margin-bottom: 40px; */
}

.contacts-form__title {
    font-family: var(--h2-font-family);
    /* font-size: 32px; */
    font-weight: 600;
    color: var(--berloga-white);
    /* margin: 0 0 10px 0; */
}

.contacts-form__subtitle {
    font-family: var(--h3-font-family);
    font-size: 24px;
    font-weight: 600;
    color: var(--berloga-white);
    margin: 0 0 20px 0;
}

.contacts-form__description {
    font-family: var(--regular-text-font-family);
    /* font-size: 16px; */
    color: var(--berloga-white);
    /* line-height: 1.5; */
    /* margin: 0 0 30px 0; */
    /* opacity: 0.9; */
}

/* Contact Form 7 Custom Styles */
.contacts-form__wrapper .wpcf7 {
    margin: 0;
}

.contacts-form__wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contacts-form__wrapper .wpcf7-form-control-wrap {
    position: relative;
    /* width: 100%; */
}

.contacts-form__wrapper input[type="text"],
.contacts-form__wrapper input[type="email"],
.contacts-form__wrapper input[type="tel"],
.contacts-form__wrapper textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--berloga-white);
    font-family: var(--regular-text-font-family);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contacts-form__wrapper input[type="text"]::placeholder,
.contacts-form__wrapper input[type="email"]::placeholder,
.contacts-form__wrapper input[type="tel"]::placeholder,
.contacts-form__wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contacts-form__wrapper input[type="text"]:focus,
.contacts-form__wrapper input[type="email"]:focus,
.contacts-form__wrapper input[type="tel"]:focus,
.contacts-form__wrapper textarea:focus {
    outline: none;
    border-color: var(--berloga-white);
    background: rgba(255, 255, 255, 0.15);
}

.contacts-form__wrapper textarea {
    min-height: 120px;
    resize: vertical;
}

.contacts-form__wrapper .wpcf7-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--berloga-magenta);
    color: var(--berloga-white);
    border: none;
    border-radius: 10px;
    font-family: var(--regular-text-font-family);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.contacts-form__wrapper .wpcf7-submit:hover {
    background: var(--berloga-magenta-dark, #a0073f);
    transform: translateY(-2px);
}

/* Form Validation */
.contacts-form__wrapper .wpcf7-not-valid {
    border-color: #ff6b6b !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.contacts-form__wrapper .wpcf7-validation-errors,
.contacts-form__wrapper .wpcf7-acceptance-missing {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    color: var(--berloga-white);
    font-size: 14px;
}

.contacts-form__wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-family: var(--regular-text-font-family);
    font-size: 14px;
}

/* CTA Section */
.contacts-cta {
    padding: 100px 0;
    background: var(--berloga-blue-lightest);
}

.contacts-cta__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.contacts-cta__content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.contacts-cta__text {
    flex: 1;
}

.contacts-cta__title {
    font-family: var(--h2-font-family);
    font-size: 40px;
    font-weight: 700;
    color: var(--berloga-text);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.contacts-cta__description {
    font-family: var(--regular-text-font-family);
    font-size: 18px;
    color: var(--berloga-text);
    margin: 0 0 30px 0;
    line-height: 1.5;
    max-width: 500px;
}

.contacts-cta__image {
    flex: 0 0 400px;
}

.contacts-cta__image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
}

/* Map Section */
.contacts-map {
    background: var(--berloga-white);
    padding: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.contacts-map__container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    text-align: center;
}

.contacts-map__title {
    font-family: var(--h2-font-family);
    font-size: 42px;
    font-weight: 600;
    color: var(--berloga-text);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.contacts-map__description {
    font-family: var(--regular-text-font-family);
    font-size: 18px;
    font-weight: 500;
    color: var(--berloga-text);
    margin: 0;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.contacts-map__wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contacts-map__links {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contacts-map__link {
    color: #666;
    font-size: 12px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: var(--regular-text-font-family);
}

.contacts-map__link:hover {
    opacity: 1;
}

.contacts-map__iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive Design */

/* Desktop 1440px */
@media (max-width: 1440px) {
    .contacts-hero__title {
        font-size: 56px;
    }

    .contacts-content__grid {
        gap: 60px;
    }

    .contacts-cta__content {
        gap: 60px;
    }

    .contacts-cta__image {
        flex: 0 0 350px;
    }
}

/* Desktop 1200px */
@media (max-width: 1200px) {
    .contacts-hero__title {
        font-size: 48px;
    }

    .contacts-content {
        padding: 80px 0;
    }

    .contacts-content__grid {
        gap: 50px;
    }

    .contacts-form {
        padding: 40px 30px;
    }

    .contacts-cta {
        padding: 80px 0;
    }

    .contacts-cta__content {
        gap: 50px;
    }

    .contacts-cta__image {
        flex: 0 0 300px;
    }

    .contacts-cta__title {
        font-size: 36px;
    }
}

/* Tablet 1024px */
@media (max-width: 1024px) {
    .contacts-hero {
        min-height: 500px;
    }

    .contacts-hero__title {
        font-size: 52px;
    }

    .contacts-content__grid {
        gap: 60px;
    }

    .contacts-map__container {
        padding: 50px 20px 30px;
    }

    .contacts-map__title {
        font-size: 36px;
    }

    .contacts-map__description {
        font-size: 16px;
    }

    .contacts-map__wrapper {
        height: 450px;
    }

    .contacts-cta__content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .contacts-cta__image {
        flex: none;
        max-width: 400px;
    }
}

/* Mobile 768px */
@media (max-width: 768px) {
    .contacts-hero {
        min-height: 400px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .contacts-hero__title {
        font-size: 40px;
    }

    .contacts-hero__breadcrumbs {
        font-size: 14px;
        gap: 8px;
    }

    .contacts-content {
        padding: 60px 0;
    }

    .contacts-content__grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contacts-map__container {
        padding: 40px 20px 25px;
    }

    .contacts-map__title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .contacts-map__description {
        font-size: 15px;
    }

    .contacts-map__wrapper {
        height: 350px;
    }

    .contacts-map__links {
        top: 5px;
        left: 5px;
    }

    .contacts-map__link {
        font-size: 11px;
        padding: 1px 4px;
    }

    .contacts-info {
        gap: 30px;
    }

    .contacts-info__item {
        padding-bottom: 30px;
        gap: 15px;
    }

    .contacts-info__icon {
        width: 50px;
        height: 50px;
    }

    .contacts-info__icon img {
        width: 20px;
        height: 20px;
    }

    .contacts-info__title {
        font-size: 18px;
    }

    .contacts-info__text {
        font-size: 15px;
    }

    .contacts-form {
        padding: 30px 25px;
        border-radius: 20px;
    }

    .contacts-form__title {
        font-size: 28px;
    }

    .contacts-form__description {
        font-size: 15px;
    }

    .contacts-cta {
        padding: 60px 0;
    }

    .contacts-cta__title {
        font-size: 32px;
    }

    .contacts-cta__description {
        font-size: 16px;
    }
}

/* Mobile Small 480px */
@media (max-width: 480px) {
    .contacts-hero {
        min-height: 350px;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .contacts-hero__container {
        padding: 0 15px;
    }

    .contacts-hero__title {
        font-size: 32px;
    }

    .contacts-hero__cta {
        padding: 15px 30px;
        font-size: 16px;
    }

    .contacts-content {
        padding: 50px 0;
    }

    .contacts-content__container {
        padding: 0 15px;
    }

    .contacts-map__container {
        padding: 30px 15px 20px;
    }

    .contacts-map__title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .contacts-map__description {
        font-size: 14px;
    }

    .contacts-map__wrapper {
        height: 300px;
    }

    .contacts-info__item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .contacts-form {
        padding: 25px 20px;
    }

    .contacts-form__title {
        font-size: 24px;
    }

    .contacts-form__wrapper input[type="text"],
    .contacts-form__wrapper input[type="email"],
    .contacts-form__wrapper input[type="tel"],
    .contacts-form__wrapper textarea {
        padding: 14px 18px;
        font-size: 15px;
    }

    .contacts-cta__container {
        padding: 0 15px;
    }

    .contacts-cta__title {
        font-size: 28px;
    }

    .contacts-cta__description {
        font-size: 15px;
    }

    .contacts-cta__image {
        max-width: 100%;
    }
}