/* =========================
   KONTAKT STRANICA
========================= */

.contact-page {
    background-color: #ffffff;
}


/* =========================
   HERO
========================= */

.contact-hero {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;

    min-height: 430px;

    background-image:
        linear-gradient(
            90deg,
            rgb(42 27 18 / 93%) 0%,
            rgb(48 32 21 / 80%) 34%,
            rgb(48 32 21 / 42%) 62%,
            rgb(48 32 21 / 8%) 100%
        ),
        url("../images/kontakt.png");

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

.contact-hero-content {
    position: relative;
    z-index: 1;

    width: 100%;
    padding-top: 78px;
    padding-bottom: 78px;
}

.contact-hero-label,
.contact-section-label {
    margin: 0 0 13px;

    color: #9a5e36;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.contact-hero-label {
    color: #d5a77d;
}

.contact-hero h1 {
    max-width: 650px;

    margin: 0 0 24px;

    color: #ffffff;

    font-family: inherit;
    font-size: clamp(46px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}


.contact-hero-description {
    max-width: 650px;

    margin: 0;

    color: rgb(255 255 255 / 88%);

    font-size: 17px;
    line-height: 1.7;
}


/* =========================
   GLAVNI DEO
========================= */

.contact-main-section {
    padding: 92px 0 96px;

    background-color: #ffffff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    align-items: start;
    gap: 78px;
}

.contact-info-side > h2,
.contact-form-side > h2 {
    margin: 0;

    color: #302119;

    font-family: inherit;
    font-size: clamp(34px, 3.4vw, 48px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.025em;
}


/* =========================
   KONTAKT INFORMACIJE
========================= */

.contact-info-list {
    margin-top: 32px;

    border-top: 1px solid #e5dbd2;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 20px;

    min-height: 108px;
    padding: 18px 0;

    border-bottom: 1px solid #e5dbd2;
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background-color: #f4ebe4;
    color: #825032;

    font-size: 16px;
}

.contact-info-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-item h3 {
    margin: 0 0 7px;

    color: #5f3924;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.contact-info-item p,
.contact-info-item a {
    margin: 0;

    color: #5f534c;

    font-size: 16px;
    line-height: 1.5;
}

.contact-info-item p + p {
    margin-top: 2px;
}

.contact-info-item a {
    display: inline-block;

    color: #49362c;

    font-weight: 600;
    text-decoration: none;
}

.contact-info-item a:hover {
    color: #8a5837;
}


/* =========================
   MAPA
========================= */

.contact-map {
    overflow: hidden;

    width: 100%;
    height: 300px;

    margin-top: 28px;

    border: 1px solid #e5dbd2;
    border-radius: 14px;

    background-color: #f5f0eb;
}

.contact-map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    filter: saturate(0.72) contrast(0.97);
}


/* =========================
   KONTAKT FORMA
========================= */

.contact-form-side {
    padding: 38px 36px;

    border: 1px solid #e7ddd5;
    border-radius: 14px;

    background-color: #f8f5f2;

    box-shadow: 0 10px 28px rgb(65 40 25 / 4%);
}

.contact-form-intro {
    margin: 17px 0 31px;

    color: #74675f;

    font-size: 15px;
    line-height: 1.7;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    color: #493a32;

    font-size: 13px;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;

    padding: 14px 15px;

    border: 1px solid #d9ccc2;
    border-radius: 7px;
    outline: none;

    background-color: #ffffff;
    color: #302a26;

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9a918a;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #8a5837;
    box-shadow: 0 0 0 3px rgb(138 88 55 / 9%);
}

.contact-form select {
    cursor: pointer;
}

.contact-form textarea {
    min-height: 165px;

    line-height: 1.6;

    resize: vertical;
}

.contact-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 50px;

    margin-top: 3px;
    padding: 13px 22px;

    border: 1px solid #70472e;
    border-radius: 7px;

    background-color: #70472e;
    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.contact-form button:hover {
    border-color: #50301f;
    background-color: #50301f;

    transform: translateY(-1px);
}

.contact-form button:active {
    transform: translateY(0);
}


/* =========================
   FOOTER — ISTI DODATAK KAO NA O NAMA
========================= */

.footer-brand-description {
    max-width: 285px;

    margin: 22px 0 0;

    color: rgb(255 255 255 / 66%);

    font-size: 14px;
    line-height: 1.65;
}


/* =========================
   MANJI DESKTOP
========================= */

@media (max-width: 1100px) {

    .contact-main-grid {
        gap: 52px;
    }

    .contact-form-side {
        padding: 36px 32px;
    }

}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .contact-hero {
        min-height: 390px;

        background-image:
            linear-gradient(
                90deg,
                rgb(42 27 18 / 92%) 0%,
                rgb(48 32 21 / 76%) 55%,
                rgb(48 32 21 / 34%) 100%
            ),
            url("../images/kontakt.png");

        background-position: 58% center;
    }

    .contact-main-section {
        padding: 78px 0 82px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-form-side {
        max-width: 760px;
    }

    .footer-brand-description {
        max-width: 330px;
    }

}


/* =========================
   TELEFON
========================= */

@media (max-width: 650px) {

    .contact-hero {
        min-height: 385px;

        background-image:
            linear-gradient(
                rgb(36 23 15 / 78%),
                rgb(36 23 15 / 91%)
            ),
            url("../images/kontakt.png");

        background-position: 61% center;
    }

    .contact-hero-content {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .contact-hero h1 {
        font-size: clamp(40px, 11vw, 52px);
    }

    .contact-hero-description {
        max-width: 100%;

        font-size: 16px;
        line-height: 1.7;
    }

    .contact-main-section {
        padding: 62px 0 68px;
    }

    .contact-map {
        height: 285px;
        border-radius: 12px;
    }

    .contact-form-side {
        padding: 30px 23px;
        border-radius: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-brand-description {
        margin-top: 18px;
    }

}


/* =========================
   VRLO MALI TELEFONI
========================= */

@media (max-width: 420px) {

    .contact-main-section {
        padding: 56px 0 60px;
    }

    .contact-form-side {
        padding: 26px 18px;
    }

    .contact-info-icon {
        width: 39px;
        height: 39px;
    }

}


/* FINALNO POLIRANJE KONTAKT STRANICE */
.contact-form-side > h2 {
    font-size: clamp(32px, 3vw, 44px);
}

@media (max-width: 650px) {
    .contact-info-list {
        margin-top: 28px;
    }

    .contact-info-item {
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: center;
        gap: 16px;

        min-height: 98px;
        padding: 16px 0;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
    }
}
.form-status {
    display: none;
    margin: 4px 0 0;
    padding: 14px 16px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.form-status.is-success {
    display: block;

    background-color: #eef6ee;
    color: #315b35;

    border: 1px solid #c9ddca;
}

.form-status.is-error {
    display: block;

    background-color: #fff0ee;
    color: #8a3830;

    border: 1px solid #e8c2bd;
}

.contact-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
