/* Kontak Contact Form Styles */
.kontak-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

.kontak-header {
    text-align: center;
    margin-bottom: 3rem;
}

.kontak-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #1E4FA1;
    margin-bottom: 0.5rem;
}

.kontak-header p {
    font-size: 1.1rem;
    color: #5a6874;
    max-width: 600px;
    margin: 0 auto;
}

.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

/* Form Container */
.kontak-form-container {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(30, 79, 161, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2B2B2B;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E4FA1;
    box-shadow: 0 0 0 3px rgba(30, 79, 161, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #E53935;
    background: rgba(229, 57, 53, 0.05);
}

.kontak-submit-btn {
    background: #1E4FA1;
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.kontak-submit-btn:hover:not(:disabled) {
    background: #0e3a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 79, 161, 0.2);
}

.kontak-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.kontak-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
}

.kontak-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.kontak-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info Container */
.kontak-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(30, 79, 161, 0.1);
}

.info-card h3 {
    font-size: 1.2rem;
    color: #1E4FA1;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F4C430;
    display: inline-block;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.info-icon {
    font-size: 1.5rem;
    min-width: 40px;
}

.info-content strong {
    display: block;
    color: #2B2B2B;
    margin-bottom: 0.25rem;
}

.info-content p {
    margin: 0;
    color: #5a6874;
}

.info-content a {
    color: #1E4FA1;
    text-decoration: none;
}

.info-content a:hover {
    color: #E53935;
}

/* Social Links */
.social-links {
    margin-top: 1rem;
}

.social-links h4 {
    font-size: 0.9rem;
    color: #2B2B2B;
    margin-bottom: 0.75rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #2B2B2B;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #1E4FA1;
    color: white;
    transform: translateY(-2px);
}

/* FAQ Details */
details {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

details summary {
    cursor: pointer;
    font-weight: 600;
    color: #1E4FA1;
    padding: 0.25rem 0;
}

details summary:hover {
    color: #E53935;
}

details p {
    margin-top: 0.5rem;
    padding-left: 1rem;
    color: #5a6874;
    font-size: 0.9rem;
}

/* Loading State */
.kontak-submit-btn.loading {
    position: relative;
    color: transparent;
}

.kontak-submit-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 992px) {
    .kontak-grid {
        grid-template-columns: 1fr;
    }
    
    .kontak-info-container {
        order: -1;
    }
}

@media (max-width: 768px) {
    .kontak-wrapper {
        padding: 1.5rem;
    }
    
    .kontak-form-container {
        padding: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .info-icon {
        font-size: 1.2rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kontak-wrapper {
    animation: fadeInUp 0.5s ease-out;
}