/* ===================================
   CSS Reset & Base Styles
   =================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #030712;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3 {
    font-weight: 600;
    color: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* ===================================
   Navigation
   =================================== */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 24px 32px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 32px;
    height: 32px;
    background-color: #44B8D1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-text {
    font-size: 12px;
    font-weight: 600;
    color: #030712;
    line-height: 1;
}

.nav-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.43;
}

/* ===================================
   Main Content & Container
   =================================== */

.main-content {
    min-height: 100vh;
}

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

/* ===================================
   Hero Section
   =================================== */

.hero {
    padding: 80px 0 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 408px;
    gap: 56px;
    align-items: start;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #44B8D1;
    line-height: 1.5;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.title-primary {
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.title-secondary {
    font-size: 60px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.5px;
    color: rgba(68, 184, 209, 0.55);
}

.hero-description {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 448px;
}

.hero-image {
    width: 408px;
    height: 477px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(68, 184, 209, 0.08) 0%, rgba(68, 184, 209, 0.03) 100%);
    border: 1px solid rgba(68, 184, 209, 0.3);
}

.hero-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

/* ===================================
   Work Section
   =================================== */

.work-section {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #44B8D1;
    line-height: 1.5;
    margin-bottom: 40px;
}

.work-items {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.work-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    transition: transform 0.3s ease;
}

.work-item:hover {
    transform: translateY(-2px);
}

.work-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.work-period {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.43;
    color: rgba(255, 255, 255, 0.55);
}

.work-company {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.14;
    color: rgba(255, 255, 255, 0.55);
}

.work-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.work-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    color: #ffffff;
    padding-top: 8px;
}

.work-image-container {
    margin-top: 8px;
}

.work-image {
    width: 100%;
    height: 224px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(68, 184, 209, 0.08) 0%, rgba(68, 184, 209, 0.03) 100%);
    border: 1px solid rgba(68, 184, 209, 0.3);
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.work-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.work-image-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background: rgba(4, 18, 38, 0.9);
}

.work-image-2 img {
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
}

.work-image-3 {
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.work-image-3 img {
    width: auto;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.work-image:hover {
    transform: scale(1.02);
    border-color: rgba(68, 184, 209, 0.5);
}

.work-description {
    font-size: 14px;
    line-height: 2;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 8px;
}

/* ===================================
   Info Section (Education & Contact)
   =================================== */

.info-section {
    padding: 64px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
}

.info-column {
    display: flex;
    flex-direction: column;
}

.education-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.education-item {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.education-degree {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.education-focus {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.education-school {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
}

.contact-link {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.43;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #44B8D1;
    opacity: 1;
}

/* ===================================
   Footer
   =================================== */

.footer {
    padding: 32px 0;
}

.copyright {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.14;
    color: rgba(255, 255, 255, 0.4);
}

/* ===================================
   Responsive Design - Tablet
   =================================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav-container {
        padding: 20px 24px;
    }

    .hero-content {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }

    .hero-image {
        width: 350px;
        height: 410px;
    }

    .title-primary,
    .title-secondary {
        font-size: 48px;
    }

    .work-item {
        grid-template-columns: 160px 1fr;
        gap: 32px;
    }

    .info-columns {
        gap: 48px;
    }
}

/* ===================================
   Responsive Design - Mobile
   =================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 16px 20px;
    }

    .hero {
        padding: 48px 0 48px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-image {
        width: 100%;
        height: 400px;
        order: -1;
    }

    .hero-text {
        gap: 24px;
    }

    .title-primary,
    .title-secondary {
        font-size: 36px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 15px;
        max-width: 100%;
    }

    .work-section {
        padding: 48px 0;
    }

    .work-items {
        gap: 48px;
    }

    .work-item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .work-meta {
        gap: 4px;
    }

    .work-title {
        font-size: 18px;
        padding-top: 0;
    }

    .work-image {
        height: 200px;
    }

    .work-description {
        font-size: 14px;
        line-height: 1.75;
    }

    .info-section {
        padding: 48px 0;
    }

    .info-columns {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        padding: 24px 0;
    }
}

@media (max-width: 480px) {
    .title-primary,
    .title-secondary {
        font-size: 32px;
    }

    .hero-image {
        height: 350px;
    }

    .work-image {
        height: 180px;
    }

    .logo {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 11px;
    }

    .nav-name {
        font-size: 13px;
    }
}

/* ===================================
   Animations & Transitions
   =================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero,
.work-section,
.info-section {
    animation: fadeIn 0.6s ease-out;
}

.work-item {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

.work-item:nth-child(1) { animation-delay: 0.1s; }
.work-item:nth-child(2) { animation-delay: 0.2s; }
.work-item:nth-child(3) { animation-delay: 0.3s; }
.work-item:nth-child(4) { animation-delay: 0.4s; }

/* ===================================
   Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #44B8D1;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===================================
   Print Styles
   =================================== */

@media print {
    body {
        background-color: white;
        color: black;
    }

    .nav {
        position: static;
        border-bottom: 1px solid #ccc;
    }

    .hero,
    .work-section,
    .info-section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }

    .work-image {
        border: 1px solid #ccc;
    }
}

/* Made with Bob */
