/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --text-dark: #222222;
    --text-medium: #555555;
    --text-light: #777777;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #eeeeee;
    --border-color: #e0e0e0;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 2px;
}

.logo:hover {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-medium);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    background: var(--bg-white);
    text-align: center;
}

.hero-content {
    max-width: 900px;
}

.hero-label {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-line {
    white-space: nowrap;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto 2rem;
}

.hero-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.section:nth-child(even) {
    background: var(--bg-light);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-main p {
    color: var(--text-medium);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-intro {
    font-size: 1.15rem !important;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.traits-box {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.traits-box h3 {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.traits-box ul {
    list-style: none;
}

.traits-box li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    font-size: 0.95rem;
    border-bottom: 1px solid var(--bg-gray);
}

.traits-box li:last-child {
    border-bottom: none;
}

/* Experience Section */
.company-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.company-logo-item {
    width: 75px;
    height: 75px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    letter-spacing: 1px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.company-logo-item svg {
    display: block;
}

.company-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.company-logo-item.logo-dark {
    background: var(--text-dark);
}

/* Logo-specific styles */
.company-logo-item.logo-ubc-rover {
    background: #ffffff;
    border: 2px solid var(--border-color);
}

.company-logo-item.logo-oxygen8 {
    background: #ffffff;
    border: 2px solid var(--border-color);
}

.company-logo-item.logo-microtel {
    background: #ffffff;
    border: 2px solid var(--border-color);
}

.company-logo-item.logo-sfu-rocketry {
    background: #ffffff;
    border: 2px solid var(--border-color);
}

/* Timeline marker logo styles */
.timeline-marker.logo-marker {
    width: 58px;
    height: 58px;
    background: #ffffff;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.timeline-marker.logo-marker svg {
    display: block;
}

.timeline-marker.oxygen8-marker {
    background: #ffffff;
    border: 2px solid var(--border-color);
}

.timeline-marker.microtel-marker {
    background: #ffffff;
    border: 2px solid var(--border-color);
}

.timeline-marker.sfu-marker {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 50%;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    align-items: start;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-top: 0.5rem;
}

.timeline-item.right .timeline-date {
    text-align: right;
    grid-column: 1;
    grid-row: 1;
}

.timeline-item.left .timeline-date {
    text-align: left;
    grid-column: 3;
    grid-row: 1;
}

.timeline-date .date {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
}

.timeline-date .location {
    font-size: 0.9rem;
    color: var(--text-light);
}

.timeline-marker {
    grid-column: 2;
    grid-row: 1;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    color: white;
    letter-spacing: 1px;
    z-index: 1;
    box-shadow: var(--shadow);
    justify-self: center;
}

.timeline-marker.dark {
    background: var(--text-dark);
}

.timeline-card {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.timeline-card h3 {
    margin-bottom: 1rem;
}

.experience-image {
    width: 100%;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.experience-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-brief {
    margin-bottom: 1rem;
}

.read-more-btn {
    display: inline-block;
    color: #ef4444;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.read-more-btn:hover {
    color: #dc2626;
    text-decoration: underline;
}

.timeline-item.right .timeline-card {
    grid-column: 3;
    grid-row: 1;
}

.timeline-item.left .timeline-card {
    grid-column: 1;
    grid-row: 1;
}

.timeline-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.timeline-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.timeline-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

/* Tags */
.tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 380px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-gray) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-placeholder {
    color: var(--primary-color);
    opacity: 0.5;
}

.project-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 0.9rem;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.project-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--bg-gray);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.skill-group {
    text-align: center;
}

.skill-group h3 {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-list span {
    padding: 0.6rem 1rem;
    background: var(--bg-white);
    color: var(--text-medium);
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.skill-list span:hover {
    background: var(--primary-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.education-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.education-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.education-logo {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.education-content h3 {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.education-content .degree {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.education-content .major {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.education-content .details {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.award-card {
    display: flex;
    gap: 1.25rem;
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.award-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.award-content h3 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
}

.award-org {
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.award-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 900px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    text-align: center;
    background: var(--bg-white) !important;
}

.contact-intro {
    color: var(--text-medium);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Footer */
.footer {
    background: var(--text-dark);
    padding: 2rem;
    text-align: center;
}

.footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 1rem 2rem 2rem;
        gap: 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--bg-gray);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 5rem 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-main h2 {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .company-logos {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .company-logo-item {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }

    .timeline {
        padding: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        display: flex;
        flex-direction: column;
        padding-left: 55px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
        width: 40px;
        height: 40px;
        font-size: 0.65rem;
    }

    .timeline-marker.logo-marker {
        width: 40px;
        height: 40px;
    }

    .timeline-marker.logo-marker svg {
        width: 28px;
        height: 28px;
    }

    .timeline-marker.oxygen8-marker svg {
        width: 22px;
        height: 32px;
    }

    .timeline-marker.microtel-marker svg {
        width: 36px;
        height: 36px;
    }

    .timeline-marker.sfu-marker svg {
        width: 32px;
        height: 24px;
    }

    .timeline-date,
    .timeline-item.left .timeline-date,
    .timeline-item.right .timeline-date {
        text-align: left;
        margin-bottom: 0.5rem;
        padding-top: 0;
    }

    .timeline-card,
    .timeline-item.left .timeline-card,
    .timeline-item.right .timeline-card {
        width: 100%;
    }

    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .skills-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .education-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* Detail Pages */
.back-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 1rem;
}

.back-link:hover {
    color: var(--primary-hover);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.detail-layout.reverse {
    direction: rtl;
}

.detail-layout.reverse > * {
    direction: ltr;
}

.detail-text-left,
.detail-text-right {
    padding: 2rem 0;
}

.detail-text-left p,
.detail-text-right p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-image-right img,
.detail-image-left img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-skills {
    margin-top: 6rem;
    text-align: center;
}

.detail-skills h2 {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-size: 2rem;
    letter-spacing: 2px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.skill-badge {
    background: var(--text-dark);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-align: center;
}

.detail-text-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.detail-text-content p {
    color: var(--text-medium);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.detail-layout-stacked {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 4rem;
}

.detail-text-column {
    flex: 1 1 50%;
    min-width: 300px;
}

.detail-text-column p {
    color: var(--text-medium);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.detail-image-column {
    flex: 1 1 40%;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-image-column img {
    width: 100%;
    max-width: 380px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.detail-image-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-image-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.detail-image-grid-2col .grid-col-left img,
.detail-image-grid-2col .grid-col-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.detail-image-grid-2col .grid-col-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .detail-layout.reverse {
        direction: ltr;
    }

    .detail-layout-stacked {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-skills h2 {
        font-size: 1.5rem;
    }

    .detail-text-content {
        margin-bottom: 3rem;
    }

    .detail-image-grid {
        grid-template-columns: 1fr;
    }

    .detail-image-grid-2col {
        grid-template-columns: 1fr;
    }
}
