#contatti {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    background-color: #ffb905;
    padding: 100px 0;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h2 {
    font-family: 'Miriam Libre', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #252525;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-family: 'Miriam Libre', sans-serif;
    font-size: 18px;
    color: #3d2e00;
    letter-spacing: 1px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Eyes Animation */
.eyes-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.eye {
    width: 120px;
    height: 120px;
    background: #252525;
    border: 3px solid #111;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pupil {
    width: 40px;
    height: 40px;
    background: #ffb905;
    border-radius: 50%;
    position: absolute;
    transition: transform 0.1s ease-out;
}

/* Stars Animation */
.eye.star-mode {
    animation: shake 0.5s ease-in-out infinite;
}

.eye.star-mode .pupil {
    width: 60px;
    height: 60px;
    background: transparent;
    transform: translate(0, 0) !important;
}

.eye.star-mode .pupil::before {
    content: '★';
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 0;
    top: 0;
    left: 0;
    font-size: 60px;
    color: #ffb905;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateStar 1s linear infinite;
}

@keyframes rotateStar {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

/* Confused Animation */
.eye.confused .pupil {
    /* Animation handled by JS */
}

.contact-item h3 {
    font-family: monospace;
    font-size: 14px;
    font-weight: 700;
    color: #3d2e00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.contact-item p {
    font-family: monospace;
    font-size: 18px;
    color: #252525;
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: rgba(37, 37, 37, 0.92);
    border: 2px solid #111;
    border-radius: 8px;
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: monospace;
    font-size: 16px;
    padding: 16px;
    border: 2px solid #444;
    border-radius: 4px;
    background: #333;
    color: #fff;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffb905;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    font-family: monospace;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    background: #ffb905;
    color: #252525;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #f6a829;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-form {
        padding: 30px;
    }
    
    .eyes-container {
        gap: 30px;
    }
    
    .eye {
        width: 100px;
        height: 100px;
    }
    
    .pupil {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    #contatti {
        padding: 60px 0;
    }

    .contact-container {
        padding: 0 20px;
    }

    .contact-header {
        margin-bottom: 60px;
    }

    .contact-header h2 {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .contact-info {
        gap: 30px;
    }

    .contact-item p {
        font-size: 16px;
    }
    
    .eyes-container {
        gap: 20px;
    }
    
    .eye {
        width: 80px;
        height: 80px;
    }
    
    .pupil {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    #contatti {
        padding: 40px 0;
    }

    .contact-container {
        padding: 0 16px;
    }

    .contact-header h2 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 12px;
    }

    .submit-btn {
        font-size: 14px;
        padding: 14px 24px;
    }
}
