﻿/* General Styles */
.contact-page {
    font-family: 'Manrope', sans-serif;
    color: #333;
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Left Image Block */
.contact-image-container {
    margin-bottom: 2.5rem;
    position: relative;
}

.contact-image-group {
    width: 100%;
    height: 100%;
}

.contact-image-relative {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 1rem;
}

.contact-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background-blend-mode: multiply;
    background-color: #4f46e5;
}

.contact-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 2.5rem;
    position: absolute;
    top: 2.75rem;
    left: 2.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-info-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
}

.contact-info-box {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    width: calc(100% - 2.5rem);
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

    .contact-info-item:hover {
        transform: translateX(5px);
    }

    .contact-info-item svg {
        flex-shrink: 0;
    }

.contact-info-text {
    color: black;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    margin-left: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Form Block */
.contact-form-container {
    background-color: #f9fafb;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
    color: #4f46e5;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 2.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-input {
    width: 100%;
    height: 3rem;
    color: #4b5563;
    background-color: white;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    padding: 0 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
}

    .contact-input:focus {
        outline: none;
        border-color: #4f46e5;
        box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    }

textarea.contact-input {
    height: auto;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    min-height: 120px;
    resize: vertical;
}

.contact-radio-group {
    margin-bottom: 2rem;
}

.contact-radio-title {
    color: #6b7280;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

.contact-radio-container {
    display: flex;
    gap: 1.5rem;
}

.contact-radio-option {
    display: flex;
    align-items: center;
}

.hidden {
    position: absolute;
    opacity: 0;
}

.contact-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #6b7280;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    gap: 0.5rem;
}

.contact-radio-custom {
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    width: 1.125rem;
    height: 1.125rem;
    position: relative;
    transition: all 0.2s;
}

.hidden:checked + .contact-radio-label .contact-radio-custom {
    border-color: #4f46e5;
    background-color: #4f46e5;
}

    .hidden:checked + .contact-radio-label .contact-radio-custom::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        background-color: white;
    }

.contact-submit {
    width: 100%;
    height: 3rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    border-radius: 9999px;
    background-color: #4f46e5;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    .contact-submit:hover {
        background-color: #3730a3;
        transform: translateY(-2px);
    }

    .contact-submit:active {
        transform: translateY(0);
    }

.text-danger {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-success {
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.alert-danger {
    background-color: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

/* Responsive Styles */
@media (min-width: 768px) {
    .contact-container {
        padding: 2rem 2rem;
    }

    .contact-form-container {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .contact-image {
        height: 100%;
        border-radius: 1rem 0 0 1rem;
    }

    .contact-form-container {
        border-radius: 0 1rem 1rem 0;
        padding: 3rem;
    }

    .contact-info-container {
        padding: 2.75rem;
    }

    .contact-info-box {
        width: calc(100% - 5.5rem);
        padding: 2rem;
    }

    .contact-image-container {
        margin-bottom: 0;
    }
}
