/* assets/css/contact.css */

/* Hero Section */
.contact-hero {
    background: linear-gradient(rgba(13, 17, 23, 0.6), rgba(13, 17, 23, 0.6)), url('../images/admin.jpg') no-repeat center center/cover;
    padding: 16rem 0;
    color: #fff;
}

.contact-hero h1 {
    font-size: 2.8rem;
    text-align: left;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-hero p {
    font-size: 1.1rem;
    text-align: left;
    max-width: 600px;
    opacity: 0.9;
}

/* Bagian Info Kontak */
.contact-info-section {
    background-color: var(--bg-secondary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: var(--bg-color);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.info-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-text {
    color: var(--text-secondary-color);
    line-height: 1.7;
}

.info-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}
.info-text a:hover {
    text-decoration: underline;
}

/* Bagian Form dan Peta */
.contact-form-map-section {
    background-color: var(--bg-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.form-container .section-title {
    text-align: left;
    margin-bottom: 2rem;
}

.form-container .section-title h2 {
    font-size: 2rem;
}

.form-container .section-title p {
    margin: 0.5rem 0 0 0;
}

.modern-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.modern-form .form-group {
    margin-bottom: 1.5rem;
}

.modern-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary-color);
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary-color);
    color: var(--text-primary-color);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modern-form input:focus,
.modern-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.modern-form textarea {
    resize: vertical;
}

.modern-form button {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}
.form-status.success {
    background-color: #D1FAE5;
    color: #065F46;
}
.form-status.error {
    background-color: #FEE2E2;
    color: #991B1B;
}

.map-container {
    height: 100%;
    min-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-container {
        margin-top: 2rem;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    .modern-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .info-card {
        padding: 1.5rem;
    }
}
