/* ==========================================
   CONTACTS PAGE STYLES - MODERN & PROFESSIONAL
   ========================================== */

/* Contacts Header */
.contacts-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 2.5rem 0;
    margin-bottom: 3rem;
}

.contacts-header .breadcrumbs {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1rem;
}

.contacts-header .breadcrumbs a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contacts-header .breadcrumbs a:hover {
    opacity: 0.8;
}

.contacts-header .separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.contacts-header .current {
    color: rgba(255, 255, 255, 0.95);
}

.contacts-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0.75rem 0 1rem;
    text-align: center;
}

.contacts-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Main Content */
.contacts-content {
    padding: 0 0 4rem;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Grid Layout */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Form Section */
.contacts-form-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contacts-form-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1.5rem 0;
}

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.alert svg {
    flex-shrink: 0;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #212529;
    font-size: 0.9375rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-control:hover {
    border-color: #dee2e6;
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(30, 60, 114, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Info Section */
.contacts-info-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contacts-info-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1.5rem 0;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-item:last-of-type {
    margin-bottom: 2rem;
    border-bottom: none;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3c72;
}

.contact-item__content strong {
    display: block;
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.contact-item__content a {
    color: #1e3c72;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
}

.contact-item__content a:hover {
    color: #2a5298;
    text-decoration: underline;
}

.contact-item__content p {
    margin: 0;
    color: #212529;
    font-size: 1rem;
}

/* Map */
.contact-map {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.contact-map::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23e9ecef" width="50" height="50"/><rect fill="%23f8f9fa" x="50" width="50" height="50"/><rect fill="%23f8f9fa" y="50" width="50" height="50"/><rect fill="%23e9ecef" x="50" y="50" width="50" height="50"/></svg>');
    opacity: 0.3;
}

.contact-map span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contacts-header {
        padding: 2.25rem 0;
    }

    .contacts-title {
        font-size: 2.25rem;
    }

    .contacts-subtitle {
        font-size: 1rem;
    }

    .contacts-grid {
        gap: 2.5rem;
    }

    .contacts-form-section,
    .contacts-info-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contacts-header {
        padding: 2rem 0;
    }

    .contacts-header .breadcrumbs {
        font-size: 0.8125rem;
    }

    .contacts-title {
        font-size: 2rem;
    }

    .contacts-subtitle {
        font-size: 0.9375rem;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contacts-form-section,
    .contacts-info-section {
        padding: 1.75rem;
    }

    .contacts-form-section h3,
    .contacts-info-section h3 {
        font-size: 1.5rem;
    }

    .contact-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contacts-header {
        padding: 1.5rem 0;
    }

    .contacts-title {
        font-size: 1.75rem;
        margin: 0.5rem 0 0.75rem;
    }

    .contacts-subtitle {
        font-size: 0.875rem;
    }

    .contacts-content {
        padding: 0 0 3rem;
    }

    .contacts-form-section,
    .contacts-info-section {
        padding: 1.5rem;
    }

    .contacts-form-section h3,
    .contacts-info-section h3 {
        font-size: 1.375rem;
        margin-bottom: 1.25rem;
    }

    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }

    .btn-submit {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }

    .contact-item {
        gap: 0.75rem;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }

    .contact-item__icon {
        width: 36px;
        height: 36px;
    }

    .contact-map {
        height: 250px;
    }
}

@media (max-width: 360px) {
    .contacts-title {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .contacts-header {
        background: none;
        color: #000;
    }

    .breadcrumbs,
    .btn-submit {
        display: none !important;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-form-section,
    .contacts-info-section {
        box-shadow: none;
        break-inside: avoid;
    }
}
