/* Contact Section */
.contact {
    background-color: var(--background-color);
    padding: 5rem 0;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-info {
    margin-bottom: 2rem;
}


/* Social Media Buttons */
.social-media-buttons {
    display: flex; 
    justify-content: center; 
    gap: 20px; 
    margin: 2rem 0; 
}

/* Light Mode Buttons */
.social-media-button {
    background: none;
    border: 2px solid black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    position: relative;
    overflow: visible;
}

.social-media-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0;
}

.social-media-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-color); 
    stroke-width: 1;
    transition: all 0.3s ease;
}

/* Dark mode adjustments */
body.dark-mode .social-media-button {
    background: none;
    border: 2px solid white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    position: relative;
    overflow: visible;
}

body.dark-mode .social-media-button::before {
    filter: brightness(1.2);
}

body.dark-mode .social-media-button svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 1;
    transition: all 0.3s ease;
}

/* GitHub hover state */
.social-media-button.github:hover {
    background-color: #333;
    border-color: #333;
}

.social-media-button.github:hover svg {
    fill: white;
    stroke: white;
}

/* LinkedIn hover state */
.social-media-button.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}

.social-media-button.linkedin:hover svg {
    fill: white;
    stroke: white;
}

/* Email hover state */
.social-media-button.email:hover {
    background-color: #EA4335;
    border-color: #EA4335;
}

.social-media-button.email:hover svg {
    fill: white;
    stroke: white;
}

/* GitHub glow */
.social-media-button.github:hover::before {
    box-shadow: 0 0 20px #333,
                0 0 30px #333;
    opacity: 0.7;
}

/* LinkedIn glow */
.social-media-button.linkedin:hover::before {
    box-shadow: 0 0 20px #0077b5,
                0 0 30px #0077b5;
    opacity: 0.7;
}

/* Email glow */
.social-media-button.email:hover::before {
    box-shadow: 0 0 20px #EA4335,
                0 0 30px #EA4335;
    opacity: 0.7;
}

/* Contact Form */
.contact-form {
    max-width: 500px;
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.btn-primary {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}
