/* ================================
   CONTACT PAGE
   ================================ */

.contact-page {
    width: 100%;
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 120px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-page.loaded {
    opacity: 1;
    transform: translateY(0);
}

.contact-container {
    max-width: 2000px;
    margin: 60px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 35% 1fr;
    grid-template-areas: 
        "header form"
        "info form";
    gap: 30px;
    align-items: start;
}

/* ================================
   HEADER SECTION
   ================================ */

.contact-header {
    grid-area: header;
}

/* ================================
   INFO SECTION
   ================================ */

.contact-info {
    grid-area: info;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--primary);
    max-width: 80%;
}

.contact-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.address-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.address-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
}

.address-street,
.address-city {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.address-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: fit-content;
    text-decoration: none;
}

.address-link:hover .address-street,
.address-link:hover .address-city {
    color: var(--accent);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
}

.contact-email,
.contact-phone {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover,
.contact-phone:hover {
    color: var(--accent);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.contact-social a {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary);
    transition: background-color 0.3s ease;
}

.contact-social a:hover {
    background-color: var(--accent);
}

.contact-social svg {
    width: 15px;
    height: 15px;
    fill: var(--background);
}

/* ================================
   FORM SECTION
   ================================ */

.contact-form-wrapper {
    grid-area: form;
    width: 100%;
    padding: 80px 60px 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-row:first-child {
    margin-bottom: 70px;
}

.form-row-full {
    grid-template-columns: 1fr;
}

.form-row-submit {
    display: flex;
    justify-content: flex-end;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--primary);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--primary);
    opacity: 0.7;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.form-group textarea {
    resize: none;
    min-height: 120px;
}

.btn-submit {
    padding: 5px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary);
    color: var(--background);
}

/* ================================
   FORM MESSAGES
   ================================ */

.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.form-message p {
    margin: 0;
}

.form-message--success {
    background-color: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-message--error {
    background-color: rgba(244, 67, 54, 0.15);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ================================
   reCAPTCHA
   ================================ */

.grecaptcha-badge {
    visibility: hidden !important;
}

.recaptcha-notice {
    margin: -15px 0 -15px;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.5;
}

.recaptcha-notice a {
    color: #888;
    text-decoration: underline;
}

.recaptcha-notice a:hover {
    color: var(--primary);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "header"
            "info"
            "form";
        gap: 50px;
    }

    .contact-info {
        max-width: 500px;
    }

    .contact-subtitle {
        max-width: 100%;
    }

    .contact-form-wrapper {
        padding: 40px 0 0;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .contact-container {
        padding: 0 20px;
        gap: 40px;
        grid-template-areas: 
            "header"
            "form"
            "info";
    }

    .contact-title {
        font-size: 4rem;
    }

    .contact-subtitle {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .contact-form-wrapper {
        padding: 0;
    }

    .contact-addresses {
        grid-template-columns: 1fr;
        gap: 20px;
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-row:first-child {
        margin-bottom: 0;
    }

    .contact-form {
        gap: 20px;
    }

    .contact-social svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }
}
