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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 2px dashed #333;
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
}

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

.nav-links:first-child {
    justify-content: flex-end;
    margin-right: 60px;
}

.nav-links:last-child {
    justify-content: flex-start;
    margin-left: 60px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    text-decoration: underline;
    color: #0000FF;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon.large {
    width: 120px;
    height: 120px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
}

.logo-text.large {
    font-size: 72px;
    font-weight: 700;
    color: #333;
    letter-spacing: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f8f9fa;
    padding-top: 100px;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    z-index: 1;
    overflow: hidden;
}

.hero-img {
    width: 40%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    /* Performance optimizations */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-img-left {
    left: -15%;
    object-position: right center;
}

.hero-img-right {
    right: -15%;
    object-position: left center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: transparent;
    padding: 80px 60px;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
    max-width: 700px;
    margin: 0 20px;
    border: none;
}

.hero-greeting {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 400;
}

.hero-greeting em {
    font-style: italic;
    color: #333;
    font-weight: 500;
}

.hero-title {
    font-size: 56px;
    font-weight: 400;
    margin-bottom: 40px;
    color: #333;
    letter-spacing: -1px;
    font-style: italic;
    transition: all 0.3s ease;
}

/* Rotating text styles */
.hero-title.creative-designer {
    font-family: "Times New Roman", Times, serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: -1px;
}

.hero-title.vibe-coder {
    font-family: "Courier New", monospace;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-title.startup-founder {
    font-family: "Comic Neue", cursive;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0;
}

.hero-title.tshape-developer {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 700;
    letter-spacing: -2px;
}

.hero-title.product-engineer {
    font-family: "Barrio", cursive;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: #333;
    font-weight: 400;
}

.hero-desc-mobile {
    display: none;
}

.hero-desc-desktop {
    display: inline;
}

.hero-cta p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 400;
}

.hero-email {
    color: #333;
    text-decoration: underline;
    font-size: 18px;
    margin-bottom: 25px;
    display: inline-block;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
}

.social-links a {
    display: inline-block;
    width: 28px;
    height: 28px;
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Portfolio Section */
.portfolio {
    padding: 2% 0 4%;
    background: #fff;
    border-top: 2px dashed #333;
}

.section-title {
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
    font-style: normal;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #333;
    margin-bottom: 80px;
    font-style: italic;
    line-height: 1.6;
    font-weight: 400;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    flex: 0 0 33.33%;
    padding: 0 15px;
}

.portfolio-card {
    background: #fff;
    border: 2px dashed #333;
    padding: 20px;
    text-align: center;
}

.portfolio-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.portfolio-card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
}

.portfolio-card-description {
    font-size: 16px;
    color: #333;
    font-style: italic;
    margin-bottom: 20px;
}

.portfolio-card-button {
    display: inline-block;
    background: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.portfolio-card-button:hover {
    background: #0000FF;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 2px dashed #333;
    color: #333;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 100;
}

.prev-button {
    left: -50px;
}

.next-button {
    right: -50px;
}

/* Education Section */
.education {
    padding: 2% 0 3%;
    background: #f8f9fa;
    border-top: 2px dashed #333;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1000px;
    margin: 0 auto;
}

.education-column h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 25px;
    color: #333;
}

.education-timeline {
    list-style: none;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    gap: 25px;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 2%;
}

.timeline-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 1%;
    color: #333;
}

.timeline-subtitle {
    font-size: 18px;
    color: #333;
    font-style: italic;
    margin-bottom: 1%;
    display: block;
    font-weight: 400;
}

.timeline-date {
    font-size: 18px;
    color: #767676;
}

.certifications {
    list-style: none;
}

.cert-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 25px;
}

.cert-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: 2%;
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-content h4 {
    font-size: 18px;
    font-weight: 100;
    margin-bottom: 1%;
    color: #333;
}

.cert-content p {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
    font-style: italic;
}

.cert-date {
    font-size: 18px;
    color: #767676;
}

/* Notes Section */
.notes {
    padding: 2% 0 5%;
    background: #fff;
    border-top: 2px dashed #333;
}

.notes-content p {
    text-align: center;
    margin-bottom: 50px;
    font-size: 18px;
    color: #333;
}

.notes-content a {
    color: #333;
    text-decoration: underline;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.notes-column ol {
    list-style: none;
    counter-reset: note-counter;
}

.notes-column ol[start="6"] {
    counter-reset: note-counter 5;
}

.notes-column ol[start="11"] {
    counter-reset: note-counter 10;
}

.notes-column li {
    counter-increment: note-counter;
    margin-bottom: 20px;
    position: relative;
    padding-left: 35px;
}

.notes-column li::before {
    content: counter(note-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
    font-size: 18px;
    font-weight: 400;
}

.note-link {
    color: #333;
    text-decoration: underline;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
}

.note-link:hover {
    color: #0000FF;
    text-decoration: underline;
}

/* Contact Section */
.contact {
    padding: 2% 0 5%;
    background: #f8f9fa;
    border-top: 2px dashed #333;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-logo {
    flex-shrink: 0;
}

.contact-info {
    text-align: left;
}

.contact-location {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 400;
}

.contact-email {
    color: #333;
    text-decoration: underline;
    font-size: 18px;
    display: block;
    margin-bottom: 25px;
    font-style: italic;
}

.contact-social {
    display: flex;
    gap: 20px;
}

.contact-social a {
    display: inline-block;
    width: 28px;
    height: 28px;
}

.contact-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Thank You Section */
.thank-you-section {
    padding: 2% 0 3%;
    background: #fff;
    border-top: 2px dashed #333;
    text-align: center;
}

.thank-you-title {
    font-size: 48px;
    font-weight: 400;
    color: #333;
    font-style: italic;
}

/* Footer */
.footer {
    padding: 50px 0;
    background: #fff;
    color: #333;
    text-align: center;
    font-size: 18px;
    border-top: 2px dashed #333;
}

.footer p {
    font-style: italic;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 25px !important;
        gap: 20px !important;
        min-height: 60px;
    }
    
    .nav-links {
        gap: 30px !important;
        flex: 0.4;
    }
    
    .nav-links:first-child {
        margin-right: 0 !important;
        justify-content: flex-start;
    }
    
    .nav-links:last-child {
        margin-left: 0 !important;
        justify-content: flex-end;
    }
    
    .nav-link {
        font-size: 15px !important;
        margin: 0 !important;
    }
    
    .nav-logo {
        flex: 0.2;
        position: relative !important;
        left: auto !important;
        transform: none !important;
        padding: 8px 0;
    }
    
    .logo-icon {
        width: 38px !important;
        height: 38px !important;
    }
    
    .hero-content {
        padding: 40px 20px;
        margin: 0 15px;
    }
    
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 30px;
    }
    
    .hero-desc-mobile {
        display: inline;
    }
    
    .hero-desc-desktop {
        display: none;
    }
    
    .hero-greeting {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .hero-cta p,
    .hero-email {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 18px;
        margin-bottom: 60px;
    }
    
    .portfolio-grid,
    .education-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-social {
        justify-content: center;
    }
    
    .logo-icon.large {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
        min-height: 50px;
    }
    
    .nav-links {
        gap: 20px;
        flex: 0.45;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .nav-logo {
        flex: 0.1;
        padding: 5px 0;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .hero-content {
        padding: 30px 15px;
        margin: 0 10px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-greeting,
    .hero-description,
    .hero-cta p,
    .hero-email {
        font-size: 14px;
    }
    
    .hero-description {
        line-height: 1.4;
        margin-bottom: 25px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .timeline-item,
    .cert-item {
        gap: 15px;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
    }
    
    .cert-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon.large {
        width: 80px;
        height: 80px;
    }
}
