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

body {
    font-family: "freight-sans-pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segue UI Emoji", "Segue UI Symbol";
    background-color: #e1e1be;
    color: #36454F;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

/* Header */
header {
    padding: 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

header h1 {
    color: #36454F;
    font-size: 2.5rem;
    font-weight: 300;
}

/* Main Content */
main {
    flex: 1;
    padding: 0 60px;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Content Sections */
.content-section {
    margin-bottom: 80px;
}

.content-section h2 {
    color: #36454F;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    border-bottom: 3px solid #36454F;
    padding-bottom: 10px;
    display: inline-block;
}

.content-section p {
    color: #36454F;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    max-width: 1200px;
}

#about p {
    font-size: 1.7rem;
}

.content-section ul {
    color: #36454F;
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.content-section a {
    color: #36454F;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

/* Experience Section */
.experience-item {
    margin-bottom: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
}

.experience-header {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 15px;
}

.experience-header h3 {
    color: #36454F;
    font-size: 1.4rem;
    font-weight: 300;
    margin: 0;
}

.experience-header .company {
    color: #36454F;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

.experience-header .period {
    color: #36454F;
    font-size: 1rem;
    opacity: 0.8;
    margin-left: auto;
}

.experience-description p {
    margin-bottom: 15px;
}

.experience-description ul {
    margin-left: 0;
    list-style: none;
}

.experience-description li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.experience-description li:before {
    content: "•";
    color: #36454F;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
}

.skill-category h3 {
    color: #36454F;
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.skill-category ul {
    list-style: none;
    margin-left: 0;
}

.skill-category li {
    color: #36454F;
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.skill-category li:before {
    content: "▸";
    color: #36454F;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.interest-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
}

.interest-item h3 {
    color: #36454F;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 15px;
}

.interest-item p {
    color: #36454F;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: #dad9ae;
    padding: 30px 60px;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.contact-info a {
    color: #36454F;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.contact-info a:hover {
    opacity: 0.7;
}

/* Error Page Styles */
.error-content {
    text-align: center;
    padding: 60px 0;
}

.error-content h2 {
    color: white;
    font-size: 6rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.error-content p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.home-link {
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid white;
    display: inline-block;
    transition: all 0.3s ease;
}

.home-link:hover {
    background-color: white;
    color: #c4c27d;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }
    
    .interests-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 30px 30px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 0 30px;
        padding-bottom: 40px;
    }
    
    .content-section {
        margin-bottom: 60px;
    }
    
    .content-section h2 {
        font-size: 1.7rem;
    }
    
    .experience-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .experience-header .period {
        margin-left: 0;
        opacity: 0.7;
    }
    
    .experience-item {
        padding: 25px 20px;
    }
    
    .skill-category,
    .interest-item {
        padding: 25px 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .interests-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    footer {
        padding: 25px 30px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    main {
        padding: 0 20px;
        padding-bottom: 30px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
    
    .experience-item,
    .skill-category,
    .interest-item {
        padding: 20px 15px;
    }
    
    footer {
        padding: 20px 20px;
    }
    
    .error-content h2 {
        font-size: 4rem;
    }
}