/* ============================= */
/*       CONTATTACI STYLES        */
/* ============================= */

/* CONTACT FORM */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.contact-form, .contact-info {
    background: transparent;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    transition: all 0.4s ease;
}

.contact-form:hover, .contact-info:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3, .contact-info h3 {
    color: #fff;
    margin-top: 0;
    position: relative;
    display: inline-block;
}

.contact-form h3::after, .contact-info h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-2);
    transition: width 0.3s ease;
}

.contact-form:hover h3::after, .contact-info:hover h3::after {
    width: 100%;
}

.info-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: transparent;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.info-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.info-item a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.info-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-2);
    transition: width 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-2);
}

.info-item a:hover::after {
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label {
    color: var(--accent-2);
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2), 0 0 20px rgba(108, 99, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
}

.contact-form button {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-family: 'SEGO', 'Segoe UI', system-ui, sans-serif;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-form button::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 ease;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    background: var(--accent-2);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

/* Contact info icons */
.info-item i {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.info-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background: var(--accent-2);
    color: var(--accent);
}

/* Social links styling */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.4);
    background: var(--accent-2);
    color: var(--accent);
}

/* Form success message */
.form-success {
    background: #27ae60;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
    animation: fadeInUp 0.4s ease;
}

.form-success.visible {
    display: block;
}

/* Map placeholder */
.contact-map {
    width: 100%;
    height: 200px;
    background: transparent;
    border-radius: 12px;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.contact-map:hover {
    background: linear-gradient(135deg, rgba(15, 12, 41, 0.9) 0%, rgba(31, 17, 68, 0.9) 100%);
    box-shadow: 0 5px 20px rgba(108, 99, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form, .contact-info {
        padding: 1.5rem;
    }
    
    .info-item:hover {
        transform: none;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .contact-form, .contact-info,
    .info-item,
    .contact-form input, .contact-form textarea,
    .contact-form button,
    .social-link,
    .info-item i {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}
