/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

header {
    text-align: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

header h1 {
    color: white;
    margin: 0;
    font-size: 2.5em;
    font-weight: 300;
}

/* Profile Section Styles */
#profile {
    padding: 60px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.profile-headshot {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-headshot:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.profile-info {
    text-align: center;
}

.profile-name {
    font-size: 3.5em;
    font-weight: 700;
    margin: 0 0 20px 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.profile-subtitle {
    font-size: 1.8em;
    font-weight: 300;
    margin: 0;
    color: #666;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#typed-subtitle {
    color: #764ba2;
    font-weight: 400;
}

/* Typed.js cursor styling */
.typed-cursor {
    opacity: 1;
    animation: typedjsBlink 0.7s infinite;
    color: #667eea;
}

@keyframes typedjsBlink {
    50% { opacity: 0; }
}

/* Call to Action Section */
#call-to-action {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

#call-to-action h2 {
    color: white;
    font-size: 2em;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-group-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.btn-group-vertical a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 35px;
    background-color: #4a4a4a;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.4em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    gap: 15px;
}

.btn-group-vertical a i {
    font-size: 1.3em;
}

.btn-group-vertical a:hover {
    background-color: #5a5a5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-group-vertical a:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 15px 20px 0 0;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #667eea;
}

.container {
    padding: 30px 40px 40px 40px;
}

.container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 2em;
    font-weight: 300;
}

.container label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 1.1em;
}

.container input,
.container textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.container input:focus,
.container textarea:focus {
    outline: none;
    border-color: #667eea;
}

.container textarea {
    height: 120px;
    resize: vertical;
}

.container button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    width: 100%;
    transition: all 0.3s ease;
    font-weight: 500;
}

.container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.container button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form validation styles */
.error-text {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: -15px;
    margin-bottom: 15px;
    display: block;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.container input.error,
.container textarea.error {
    border-color: #e74c3c;
}

.container input:invalid {
    border-color: #e74c3c;
}

.container input:valid {
    border-color: #27ae60;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-content .footer-subtitle {
    font-style: italic;
    color: #b8c5d1;
}

/* Footer Social Media Icons */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Individual social media platform colors on hover */
.social-link:hover .bi-envelope-fill {
    color: #ea4335;
}

.social-link:hover .bi-linkedin {
    color: #0077b5;
}

.social-link:hover .bi-github {
    color: #333;
}

.social-link:hover .bi-reddit {
    color: #ff4500;
}

.social-link:hover .bi-journal-text {
    color: #28a745;
}

/* Responsive Design */
@media (min-width: 768px) {
    .profile-container {
        flex-direction: row;
        text-align: left;
        gap: 50px;
    }
    
    .profile-info {
        text-align: left;
    }
    
    .profile-subtitle {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .profile-name {
        font-size: 2.5em;
    }
    
    .profile-subtitle {
        font-size: 1.4em;
    }
    
    .profile-headshot {
        width: 150px;
        height: 150px;
    }
    
    .profile-container {
        padding: 30px 20px;
    }
}
