/*
 * Multimedia Technology / FH Salzburg
 * Project: Multimedia Projekt 1 -> Bridgex
 * Author: Mihaela Popadic
 */


/* ── PAGE WRAPPER ─*/
.contact-container,
.legal-page {
    min-height: calc(100vh - 65px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(40px, 7vw, 100px) clamp(16px, 4%, 32px);
}


/* ── CONTENT BOX ─ */
.contact-box,
.legal-box {
    width: 100%;
    max-width: 720px;
    background: #fff;
    padding: clamp(32px, 5vw, 60px) clamp(28px, 5vw, 56px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.06);
    border-radius: 16px;
}


.small-title {
    font-size: 11px;
    letter-spacing: 2.5px;
    color: #2b7b8c;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 700;
}


.contact-box h1,
.legal-box h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}


.contact-box h2,
.legal-box h2 {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2b7b8c;
    font-weight: 700;
    margin: 0 0 10px;
}

.contact-box p,
.contact-box li,
.legal-box p,
.legal-box li {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 0;
}

.contact-box ul,
.legal-box ul {
    padding-left: 22px;
    margin-bottom: 0;
}

.legal-box a,
.contact-box a {
    color: #2b7b8c;
    text-decoration: none;
}

.legal-box a:hover,
.contact-box a:hover {
    text-decoration: underline;
}

.small,
.last-updated {
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
}



.legal-section {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.legal-section:first-of-type {
    padding-top: 0;
}

.legal-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
}

.contact-form input,
.contact-form textarea {
    padding: 13px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.2s;
    background: #fafafa;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2b7b8c;
    box-shadow: 0 0 0 3px rgba(43, 123, 140, 0.1);
    background: #fff;
}

.contact-form button {
    border: none;
    background: #2b7b8c;
    color: #fff;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.25s ease;
}

.contact-form button:hover {
    background: #1f5f6e;
}


.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.info-card {
    flex: 1;
    min-width: 150px;
    background: #f5f8f9;
    border: 1px solid #e6eef0;
    padding: 18px 20px;
    border-radius: 12px;
}

.info-card h4 {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2b7b8c;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 0;
}

.info-card a {
    font-size: 14px;
    color: #2b7b8c;
}

.info-card a:hover {
    text-decoration: underline;
}

.map-wrapper {
    width: 100%;
    height: clamp(200px, 40vw, 300px);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
}

.map-wrapper #map {
    width: 100%;
    height: 100%;
}

@media (max-width: 1024px) {
    .contact-container,
    .legal-page {
        padding: 50px 20px;
    }

    .contact-box,
    .legal-box {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .contact-container,
    .legal-page {
        padding: 30px 16px;
    }

    .contact-box,
    .legal-box {
        padding: 28px 18px;
    }

    .contact-form button {
        padding: 12px 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 12px;
    }

    .info-card {
        width: 100%;
    }
}
