/**
 * Nusantara Traisser - Contact Page Styles
 * contact.css - CSS khusus untuk halaman contact
 */

/* ==========================================================================
   Contact Hero Section
   ========================================================================== */
.contact-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, var(--nt-primary) 0%, var(--nt-primary-dark) 100%);
    color: var(--nt-white);
}

.contact-hero h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--nt-white);
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-form-section {
    padding: 4rem 0;
    background: var(--nt-white);
}

.contact-form-wrapper {
    background: var(--nt-white);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--nt-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-label i {
    color: var(--nt-primary);
    font-size: 1rem;
}

.contact-form .form-control {
    border: 2px solid var(--nt-gray-light);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.contact-form .form-control:focus {
    border-color: var(--nt-primary);
    box-shadow: 0 0 0 3px rgba(52, 99, 79, 0.1);
    outline: none;
}

.contact-form select.form-control {
    cursor: pointer;
}

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

/* ==========================================================================
   WhatsApp Link Result
   ========================================================================== */
.wa-link-result {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid rgba(37, 211, 102, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wa-link-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: #25d366;
}

.wa-link-header i {
    font-size: 1.5rem;
}

.wa-link-header h5 {
    margin: 0;
    font-weight: 700;
    color: var(--nt-dark);
}

.wa-link-content {
    color: var(--nt-dark);
}

.wa-link-preview {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(37, 211, 102, 0.2);
}

.preview-box {
    background: var(--nt-white);
    border: 1px solid var(--nt-gray-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    max-height: 200px;
    overflow-y: auto;
}

.preview-box pre {
    margin: 0;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--nt-dark);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ==========================================================================
   Maps Section
   ========================================================================== */
.maps-section {
    padding: 4rem 0;
    background: var(--nt-light);
}

.maps-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--nt-white);
    padding: 0.5rem;
}

.maps-wrapper iframe {
    display: block;
    width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .contact-hero {
        padding: 3rem 0 2rem;
    }
    
    .contact-form-section {
        padding: 3rem 0;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .maps-section {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-form .form-label {
        font-size: 0.9rem;
    }
    
    .wa-link-result {
        padding: 1.5rem;
    }
    
    .maps-wrapper iframe {
        height: 350px;
    }
}

@media (max-width: 575.98px) {
    .contact-form-wrapper {
        padding: 1.25rem;
    }
    
    .wa-link-result {
        padding: 1.25rem;
    }
    
    .maps-wrapper iframe {
        height: 300px;
    }
}

