/* ===== KONTAKT PAGE STYLES ===== */

/* Hero Contact Section */
.hero-contact {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.hero-contact h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.contact-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(197, 165, 114, 0.1);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--dark-color);
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

.contact-grid {
    display: flex;
    justify-content: center;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 2px solid rgba(197, 165, 114, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    max-width: 800px;
    width: 100%;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.contact-form-container::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(197, 165, 114, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: var(--dark-color);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(197, 165, 114, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    background: #fefefe;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(197, 165, 114, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(197, 165, 114, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(197, 165, 114, 0.1);
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

.checkbox-group label {
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(197, 165, 114, 0.4);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    border-radius: 20px;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info {
    background: transparent;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: none;
    border: none;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info > p {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.method-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.method-info p {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.method-info small {
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Quick Actions */
.quick-actions {
    background: var(--gray-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(197, 165, 114, 0.1);
}

.quick-actions h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--primary-color);
    background: rgba(197, 165, 114, 0.05);
    transform: translateY(-1px);
}

.action-btn i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
}

.action-btn span {
    font-weight: 500;
}

/* Social Section */
.social-section {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(197, 165, 114, 0.1);
}

.social-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--dark-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gray-light);
    transform: translateX(3px);
}

.social-link.linkedin:hover { color: #0077b5; }
.social-link.github:hover { color: #333; }
.social-link.twitter:hover { color: #1da1f2; }

.social-link i {
    font-size: 1.2rem;
    width: 20px;
}

.social-link span {
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(197, 165, 114, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(197, 165, 114, 0.05);
}

.faq-question h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: var(--gray-color);
    line-height: 1.6;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    margin: 1rem;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--gray-dark);
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        padding: 100px 0 60px;
    }
    
    .hero-contact h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-highlights {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .highlight-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .contact-section,
    .faq-section {
        padding: 4rem 0;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        gap: 1rem;
    }
    
    .contact-method {
        padding: 0.75rem;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-contact h1 {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .quick-actions,
    .social-section {
        padding: 1.2rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .method-info {
        text-align: center;
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Touch devices */
@media (hover: none) and (pointer: coarse) {
    .contact-method,
    .action-btn,
    .social-link,
    .faq-question {
        min-height: 48px;
    }
    
    .contact-method:hover,
    .action-btn:hover,
    .social-link:hover {
        transform: none;
    }
    
    .contact-method:active,
    .action-btn:active,
    .social-link:active {
        transform: scale(0.98);
    }
}
