@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    color: #000;
    background-color: #fff;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

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

/* Header - Hero Section */
.header {
    padding: 80px 0 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    margin-bottom: 80px;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    flex-direction: row-reverse;
}

.hero-photo {
    flex-shrink: 0;
}

.hero-photo img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #000;
    transition: opacity 0.3s ease;
}

.hero-photo img:hover {
    opacity: 0.8;
}

.hero-text {
    flex: 1;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 300;
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin-bottom: 60px;
    color: #000;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
    color: #000;
    max-width: 600px;
}

/* Navigation */
.nav {
    position: relative;
    align-self: flex-start;
}

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

.hamburger {
    width: 28px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.mobile-menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.nav-links {
    display: flex;
    gap: 60px;
}

.nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link:hover {
    opacity: 0.5;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Sections */
.section {
    padding: 100px 0;
    border-top: 1px solid #000;
}

.section:first-of-type {
    border-top: none;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    margin-bottom: 80px;
    color: #000;
}

/* About Section */
.about-content {
    max-width: 800px;
}

.about-text {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #000;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    margin-top: 80px;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 300;
    color: #000;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #000;
    font-weight: 300;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #000;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-top: 40px;
    padding-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

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

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 45px;
    width: 9px;
    height: 9px;
    background-color: #000;
    border-radius: 50%;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: #000;
}

.timeline-company {
    font-size: 1.1rem;
    color: #000;
    font-weight: 300;
    margin-bottom: 10px;
}

.timeline-period {
    font-size: 1rem;
    color: #000;
    margin-bottom: 20px;
    font-weight: 300;
}

.timeline-description {
    list-style: none;
    padding: 0;
}

.timeline-description li {
    font-size: 1rem;
    color: #000;
    margin-bottom: 8px;
    font-weight: 300;
    padding-left: 0;
}

.timeline-description li::before {
    content: '— ';
    margin-right: 10px;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
    margin-bottom: 80px;
}

.portfolio-item {
    border: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    opacity: 0.7;
    transform: translateY(0);
    box-shadow: none;
}

.portfolio-image {
    aspect-ratio: 4/3;
    background-color: #f5f5f5;
    margin-bottom: 30px;
    position: relative;
}

.portfolio-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: #000;
    font-weight: 300;
    text-align: center;
}

.portfolio-content {
    padding: 0;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #000;
}

.portfolio-description {
    font-size: 1rem;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 300;
}

.portfolio-year {
    font-size: 0.9rem;
    color: #000;
    font-weight: 300;
}

.portfolio-links {
    display: flex;
    gap: 40px;
    padding-top: 60px;
    border-top: 1px solid #000;
    justify-content: flex-start;
}

.portfolio-link {
    color: #000;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.portfolio-link:hover {
    opacity: 0.5;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.service-card {
    padding: 0;
    border: none;
    transition: opacity 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    cursor: pointer;
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    opacity: 0.7;
    transform: translateY(0);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #000;
}

.service-description {
    font-size: 1rem;
    color: #000;
    line-height: 1.6;
    font-weight: 300;
}

/* Contact */
.contact-content {
    max-width: 600px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-weight: 400;
    color: #000;
    font-size: 1.1rem;
}

.contact-value {
    color: #000;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.contact-value:hover {
    opacity: 0.5;
}

.phone {
    cursor: pointer;
}

.contact-note {
    font-size: 1rem;
    color: #000;
    margin-bottom: 40px;
    font-weight: 300;
}

.contact-links {
    display: flex;
    gap: 40px;
}

.contact-link {
    color: #000;
    text-decoration: none;
    font-weight: 300;
    font-size: 1.1rem;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.5;
}

/* Footer */
.footer {
    border-top: 1px solid #000;
    padding: 60px 0;
    margin-top: 100px;
}

.footer-text {
    color: #000;
    font-size: 1rem;
    font-weight: 300;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 60px;
    max-width: 90%;
    width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    line-height: 1;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.5;
}

.modal-actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: 1px solid #000;
    background: none;
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    color: #000;
}

.btn-primary {
    background-color: #000;
    color: white;
}

.btn-primary:hover {
    background-color: white;
    color: #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: white;
}

/* Copy notification */
.copy-notification {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #000;
    color: white;
    padding: 20px 30px;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1003;
    font-weight: 300;
}

.copy-notification.show {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        gap: 40px;
    }
    
    .hero-photo img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 900px) {
    .hero-photo img {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header {
        padding: 40px 0 40px;
        min-height: auto;
    }
    
    .hero-section {
        margin-bottom: 60px;
    }
    
    .hero-content {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .hero-photo img {
        width: 90px;
        height: 90px;
    }
    
    .hero-name {
        font-size: 3rem;
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 30px;
        right: 20px;
        z-index: 1001;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 40px;
        transition: right 0.3s ease;
        z-index: 1000;
        align-items: flex-start;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
        padding: 20px 0;
        border-bottom: 1px solid #000;
        width: 100%;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 60px;
    }
    
    .timeline::before {
        left: 12px;
    }
    
    .timeline-item {
        padding-left: 45px;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    
    .timeline-marker {
        left: 8px;
        top: 35px;
        width: 8px;
        height: 8px;
    }
    
    .portfolio-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .portfolio-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 20px;
    }
    
    .modal-content {
        margin: 20px;
        padding: 40px;
        width: calc(100% - 40px);
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .copy-notification {
        left: 20px;
        right: 20px;
        bottom: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-photo img {
        width: 80px;
        height: 80px;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .nav-links {
        padding: 80px 20px 40px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item {
        padding-left: 35px;
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    .timeline-marker {
        left: 6px;
        top: 30px;
        width: 7px;
        height: 7px;
    }
    
    .about-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Touch device enhancements */
.touch-device .portfolio-item:active,
.touch-device .service-card:active {
    opacity: 0.7;
}

/* Keyboard navigation */
.keyboard-navigation *:focus {
    outline: 2px solid #000;
    outline-offset: 4px;
} 