.bio-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    margin: 30px 0;
    opacity: 0.7;
}

.bio-english, .bio-spanish {
    margin-bottom: 15px;
}

.bio-spanish {
    font-style: italic;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.social-icon {
    width: 24px;
    height: 24px;
}/* Color palette options */

:root {
    --primary-color: #4a4a4a; /* Dusty blue */
    --secondary-color: #4a4a4a; /* Warm copper */
    --neutral-light: #f4f7fa; /* Cool white */
    --neutral-dark: #0f0d0d; /* Soft black */
    --accent-light: #edf2f7; /* Light blue tint */
    --font-main: 'Avenir Light', 'Avenir Next', 'Segoe UI', sans-serif;
    --font-accent: 'Caudex', serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    scroll-behavior: smooth;
}

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

header {
    padding: 30px 0;
    text-align: center;
}

header h1 {
    font-size: 4.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: normal;
}

header p {
    font-style: italic;
    color: var(--secondary-color);
}

.navigation {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: center;
}

.nav-tabs {
    display: flex;
    list-style: none;
}

.nav-tabs li {
    padding: 15px 30px;
}

.nav-tabs li a {
    text-decoration: none;
    color: var(--neutral-dark);
    font-family: var(--font-accent);
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
}

.nav-tabs li a:hover,
.nav-tabs li a.active {
    color: var(--primary-color);
}

.nav-tabs li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-tabs li a:hover:after,
.nav-tabs li a.active:after {
    width: 100%;
}

.content-section {
    padding: 100px 0 60px;
   /* min-height: calc(100vh - 200px); */
    scroll-margin-top: 70px; /* For smooth scrolling with fixed header */
}

#about {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.profile-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.profile-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bio {
    flex: 1;
    min-width: 300px;
}

.bio h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: normal;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

.bio p {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#writing {
    max-width: 800px;
    margin: 0 auto;
}

#writing h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: normal;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

.writing-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.writing-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: normal;
}

.writing-item p {
    margin-bottom: 10px;
}

.writing-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.writing-item a:hover {
    text-decoration: underline;
}

#contact {
    max-width: 800px;
    margin: 0 auto;
}

#contact h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: normal;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 30px;
    padding: 20px;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: normal;
}

.contact-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Contact Form Styles */
.hidden {
    display: none;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 74, 74, 0.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.submit-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.form-status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.form-status.success {
    background-color: #e7f7e7;
    color: #2e7d32;
}

.form-status.error {
    background-color: #ffebee;
    color: #c62828;
}

footer {
    background-color: var(--neutral-dark);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .nav-tabs li {
        padding: 15px 15px;
    }

    #about {
        flex-direction: column;
    }

    .profile-image {
        max-width: 100%;
    }
    
    /* Mobile responsive form */
    .form-group input,
    .form-group textarea {
        padding: 12px 10px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px 20px;
    }
}