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

.contact-hero {
    padding: 3rem 0;
}

.contact-heading h1 {
    font-size: 3rem;
    line-height: 1.05;
    gap: 3rem;
}

.contact-description {
    color: var(--color-muted);
    padding-top: 1rem;
}

/*====== CONTACT OPTIONS ======*/

.contact-options {
    padding: 2rem 0;
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: stretch;
}

.contact-options-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;

    gap: 0.7rem;
    padding: 0 2rem;

    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-options-item:first-child {
    padding-left: 0;
}

.contact-options-item:last-child {
    padding-right: 0;
    border-right: none;
}

.contact-options-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-primary);
}

.contact-options-cta {
    font-size: 1rem;
    color: var(--color-dark);
    font-weight: 600;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

.contact-options-cta a:hover {
    color: var(--color-primary);
}

/*====== CONTACT US ======*/

.contact-us {
    padding: 3rem 0;
}

.contact-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.contact-us-heading h1 {
    font-size: 3rem;
    line-height: 1.05;
    gap: 3rem;
}

.contact-us-description {
    color: var(--color-muted);
    padding-top: 1rem;
}

/*====== CONTACT FORM ======*/

.contact-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;

    font: inherit;
    color: var(--color-dark);

    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.5rem;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-dark);
}

.contact-form .button {
    margin-top: 1.5rem;
}

/*====== VISIT US ======*/

.visit-us {
    padding: 3rem 0;
}

.visit-us-content h2 {
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.visit-us-description {
    color: var(--color-muted);
    margin-bottom: 1.5rem;
}

.visit-us-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.visit-us-location {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-weight: 600;
}

.visit-us-location a:hover {
    color: var(--color-primary);
}

.visit-map {
    overflow: hidden;
    border-radius: var(--radius-medium);
}

.visit-map iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: 0;
}

/*====== SUCCESS/ERROR CONTACT FORM ======*/

.contact-status {
    max-width: 900px;
    margin: 0 auto 3rem;

    display: flex;
    align-items: flex-start;
    gap: 1.25rem;

    padding: 1.5rem 1.75rem;

    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-medium);
}

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

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 50%;

    font-size: 1.25rem;
    font-weight: 700;

    color: var(--color-white);
    background-color: var(--color-primary);
}

.contact-status-content h2 {
    margin-bottom: 0.35rem;
    font-size: 1.3rem;
}

.contact-status-content p {
    margin: 0;
    color: var(--color-muted);
}

.contact-status-success {
    border: 1px solid var(--color-primary);
}

.contact-status-error {
    border: 1px solid #b84a4a;
}

.contact-status-error .contact-status-icon {
    background-color: #b84a4a;
}

@media (max-width: 768px) {

    /* CONTACT OPTIONS */

    .contact-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .contact-options-item {
        min-width: 0;
        padding: 1.5rem 1rem;
    }

/* odstranimo desktop vertikalne črte */
    .contact-options-item {
        border-left: none;
    }

/* leva kolona */
    .contact-options-item:nth-child(odd) {
        padding-left: 0;
        padding-right: 1.25rem;
        border-right: 1px solid var(--border-color);
    }

/* desna kolona */
    .contact-options-item:nth-child(even) {
        padding-left: 1.25rem;
        padding-right: 0;
    }

/* zgornja vrstica */
    .contact-options-item:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border-color);
    }

    .contact-options-item img {
        width: 28px;
        height: 28px;
    }

    .contact-options-label {
        margin-top: 0.75rem;
    }

    .contact-options-value {
        margin-top: 0.5rem;
    }

    .contact-options-cta {
        margin-top: 1rem;
    }

    .contact-options-cta a {
        overflow-wrap: anywhere;
    }

    .contact-options-item {
        border-left: none;
        border-right: none;
        }

    .contact-options-item:nth-child(odd) {
        border-right: 1px solid var(--border-color);
    }

    /* CONTACT FORM */

    .contact-us-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-us-heading {
        width: 100%;
    }

    .contact-us-heading h1 {
        font-size: 2.8rem;
        line-height: 1;
    }

    .contact-us-description {
        font-size: 1rem;
        line-height: 1.6;
        max-width: none;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .form-group,
    .form-group-full {
        grid-column: auto;
        width: 100%;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
    }

    .form-group textarea {
        min-height: 180px;
    }

    .contact-form .button {
        width: 100%;
        margin-top: 1.5rem;
    }

    /* VISIT US MAP */

    .visit-us-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .visit-us-content {
        order: 1;
    }

    .visit-map {
        order: 2;
        width: 100%;
    }

    .visit-us-content h2 {
        font-size: 2.8rem;
        line-height: 1;
    }

    .visit-us-description {
        font-size: 1rem;
        line-height: 1.6;
        max-width: none;
    }

    .visit-us-location {
        gap: 0.8rem;
    }

    .visit-map iframe {
        width: 100%;
        height: 360px;
        border: 0;
        border-radius: var(--radius-medium);
        display: block;
    }
    
}