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

body {
    background-color: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 80px;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 12px;
    line-height: 1.8;
}

.hero-text .contact-link {
    color: #ffffff;
    text-decoration: underline;
    display: inline-block;
    margin-top: 20px;
    margin-right: 20px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.hero-text .contact-link:hover {
    color: #cccccc;
}

.hero-text .location {
    color: #999999;
    font-size: 1rem;
    margin-top: 25px;
}

.hero-separator {
    width: 100%;
    height: 1px;
    background-color: #333333;
    margin-top: 40px;
}

.hero-text .slashes {
    font-size: 1.2rem;
    color: #666666;
    margin-top: 20px;
    letter-spacing: 2px;
}

.profile-img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Socials */
.socials {
    display: none;
}

/* Content Section */
.content-wrapper {
    background-color: #000000;
    padding: 80px;
}

/* Section Styles */
section {
    margin-bottom: 100px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
    border-bottom: none;
    padding-bottom: 0;
    color: #666666;
    font-weight: 400;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: #ffffff;
}

.section-subtitle {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Skills */
.skills-list {
    list-style: none;
}

.skills-list li {
    padding: 12px 0;
    border-bottom: 1px solid #333333;
    color: #cccccc;
}

.skills-list li:before {
    content: "→ ";
    color: #ffffff;
    font-weight: bold;
    margin-right: 10px;
}

/* Experience */
.experience-item {
    margin-bottom: 50px;
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.experience-date {
    color: #999999;
    font-size: 0.9rem;
}

.experience-role {
    color: #cccccc;
    margin-bottom: 15px;
}

.experience-description {
    color: #aaaaaa;
    font-style: italic;
    margin-bottom: 10px;
    line-height: 1.8;
}

.experience-details {
    list-style: none;
    margin-top: 10px;
}

.experience-details li {
    color: #cccccc;
    padding: 5px 0 5px 20px;
    position: relative;
}

.experience-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ffffff;
}

/* Experience item with 3D model */
.experience-item-3d {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.experience-item-3d .experience-content {
    flex: 1;
    min-width: 0;
}

.experience-item-3d .model-viewer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.experience-item-3d .model-viewer {
    width: 300px;
    height: 300px;
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    flex-shrink: 0;
}

.image-viewer {
    width: 300px;
    height: 300px;
    background-color: #000000;
    border: 1px solid #333333;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-viewer-landscape {
    width: 400px;
    height: 250px;
}

.aircraft-img {
    width: 130%;
    height: 130%;
    object-fit: cover;
    object-position: center 40%;
    border-radius: 8px;
}

#tricycle-canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

/* Projects */
.project-item {
    margin-bottom: 40px;
}

/* 3D Model Project Layout */
.project-item-3d {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    align-items: flex-start;
}

.project-content {
    flex: 1;
    min-width: 0;
}

.project-content h3 {
    margin-bottom: 10px;
}

.model-viewer-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.project-item-3d .experience-date {
    margin-bottom: 10px;
    text-align: right;
}

.model-viewer {
    width: 250px;
    height: 250px;
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 8px;
    flex-shrink: 0;
}

#model-canvas {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 8px;
}

.project-link {
    color: #ffffff;
    text-decoration: underline;
    font-style: italic;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #cccccc;
}

/* Remove italic and underline from links inside headings */
h3 .project-link {
    font-style: normal;
    text-decoration: none;
}

h3 .project-link:hover {
    color: #D4AF37;
}

/* Paper download link styling */
.experience-details .contact-link {
    color: #ffffff;
    text-decoration: underline;
    font-style: normal;
    transition: color 0.3s ease;
    margin-right: 0;
    margin-top: 0;
}

.experience-details .contact-link:hover {
    color: #cccccc;
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: #cccccc;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    background-color: #111111;
    border: 1px solid #333333;
    border-radius: 4px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #666666;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background-color: #333333;
    color: #999999;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.submit-btn:hover {
    background-color: #555555;
}

.form-status {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
    display: none;
}

.form-status.success {
    display: block;
    background-color: #1a4d1a;
    color: #90ee90;
    border: 1px solid #2d6b2d;
}

.form-status.error {
    display: block;
    background-color: #4d1a1a;
    color: #ff6b6b;
    border: 1px solid #6b2d2d;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: left;
        padding: 40px 30px;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .profile-img {
        width: 250px;
        height: 250px;
    }

    .content-wrapper {
        padding: 40px 30px;
    }

    h2 {
        font-size: 1.8rem;
    }

    .experience-header {
        flex-direction: column;
        gap: 5px;
    }

    .experience-item-3d {
        flex-direction: column;
    }

    .experience-item-3d .model-viewer-container {
        align-items: center;
    }

    .experience-item-3d .model-viewer {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .image-viewer {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }

    .image-viewer-landscape {
        width: 100%;
        max-width: 400px;
        height: 250px;
    }

    .project-item-3d {
        flex-direction: column;
    }

    .model-viewer-container {
        align-items: center;
    }

    .model-viewer {
        width: 100%;
        max-width: 250px;
        height: 250px;
    }

    .contact-form-container {
        max-width: 100%;
    }

    .submit-btn {
        width: 100%;
    }
}