/* contact.css */

#contact-container {
    justify-content: center;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
}

.contact-title {
    font-size: 3em;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0px 4px 10px rgba(0,0,0,0.8);
}

.contact-subtitle {
    font-size: 1.2em;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 100%;
}

.single-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Specific interactive hovers for links */
a.single-contact:hover {
    transform: translateY(-8px);
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0px 10px 25px rgba(106, 13, 173, 0.3), 0px 4px 10px rgba(0,0,0,0.6);
    border-color: rgba(106, 13, 173, 0.5);
}

/* The phone visually reacts slightly to feel alive even as a static block */
div.single-contact:hover {
    transform: translateY(-4px);
    background: rgba(25, 25, 25, 0.6);
}

.contact-icon {
    font-size: 3em;
    color: #bd93f9;
    margin-bottom: 20px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a.single-contact:hover .contact-icon {
    color: #ffffff;
    text-shadow: 0px 0px 15px rgba(189, 147, 249, 0.8);
}

.single-contact h3 {
    font-size: 1.5em;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.single-contact p {
    color: #bbbbbb;
    font-size: 1em;
    margin: 0;
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2.5em;
    }
    .contact-subtitle {
        font-size: 1em;
        padding: 0 10px;
    }
    .single-contact {
        padding: 30px 15px;
    }
    .contact-icon {
        font-size: 2.5em;
    }
}
