/* style.css - Portfolio styles */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: auto;
    background: linear-gradient(135deg, #050B1E 0%, #121524 100%) !important;
    color: #C0C9DB !important;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body, main, section, .about, .work, .expertise-section, .contact-section, .resume-button-container {
    background: transparent !important;
    color: #C0C9DB !important;
}

* {
    color: #C0C9DB !important;
    border-color: #C0C9DB;
}

.hero-title-block h2,
.hero-title-block p,
.hero-nav a,
.about-heading,
.about-desc,
.about-menu-item,
.work-heading,
.work-title,
.resume-button,
.contact-header,
.contact-link,
.dropdown-item,
.expertise-heading,
.expertise-highlight,
.highlight-name,
.highlight-info {
    color: #C0C9DB !important;
}

.hero-title-block h2,
.hero-title-block p {
    color: #C0C9DB !important;
    text-shadow: 2px 2px 16px #050B1E, 0 0 8px #000, 0 2px 24px #000;
}

input, textarea, select, button {
    color: #C0C9DB !important;
    background: #121524 !important;
    border-color: #C0C9DB !important;
}

.hero {
    display: flex;
    height: 100vh;
    width: 100vw;
    position: relative;
    /* scroll-snap-align: start; */
}

.hero-left, .hero-right {
    width: 50%;
    height: 100vh;
    position: relative;
}

.hero-left {
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('your-image.jpg') center center/cover no-repeat;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-nav {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-nav a {
    color: #111;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -1px;
    transition: color 0.2s;
}

.hero-nav a:hover {
    color: #666;
}

.hero-right {
    background: #fff;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-content {
    width: 100%;
    padding: 0 40px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-bottom: 6vw;
    z-index: 11;
    position: relative;
    background: transparent;
    transform: translateY(-90px);
}

.hero-title-block {
    margin-bottom: 30px;
}

.hero-title-block h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.hero-title-block p {
    font-size: 1.1rem;
    color: #888;
    margin: 0;
    max-width: 400px;
}

.hero-name {
    font-size: clamp(7vw, 14vw, 18vw);
    font-weight: 900;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    line-height: 1;
    margin: 0;
    padding: 0;
    color: #C0C9DB;
    z-index: 10;
    text-align: center;
    letter-spacing: 0.2vw;
    text-transform: uppercase;
    pointer-events: none;
    filter: grayscale(100%);
    opacity: 0.9;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    text-shadow: 2px 2px 16px #050B1E, 0 0 8px #000, 0 2px 24px #000;
}

.hero-name.animate {
    animation: slideInTextRightToLeft 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInTextRightToLeft {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 0.9;
        transform: translateX(0);
    }
}

.about {
    display: flex;
    width: 100vw;
    margin: 0;
    padding: 0;
}

.about-left, .about-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    padding: 60px 4vw 60px 6vw;
    box-sizing: border-box;
}

.about-heading {
    font-size: 6vw;
    font-weight: 700;
    margin: 0 0 40px 0;
    line-height: 1;
    letter-spacing: -2px;
    max-width: 60%;
}

.about-desc {
    font-size: 1.7rem;
    font-weight: 400;
    margin: 0 0 40px 0;
    line-height: 1.3;
    max-width: 90%;
}

.about-menu {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
    border-top: 2px solid #111;
    padding-top: 18px;
    align-items: center;
    position: relative;
}

.about-menu-item {
    background: none;
    border: none;
    color: #111;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 0 8px;
    transition: color 0.2s;
    position: relative;
    z-index: 2;
}

.about-menu-item:hover {
    color: #666;
}



.about-right {
    justify-content: center;
    align-items: center;
    padding: 60px 6vw 60px 4vw;
}

.about-img {
    width: 90%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

/* Animated skills/location list styles */
.about-animated-list-container {
    width: 100%;
    max-width: 400px;
    height: auto;
    overflow: visible;
    position: relative;
    margin-top: 18px;
    margin-bottom: 0;
}

.about-animated-list {
    display: flex;
    flex-direction: column;
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    transition: none;
}

.about-animated-list-item {
    font-size: 2rem;
    font-weight: bold;
    color: #111;
    background: none;
    padding: 0.4em 0 0.4em 0;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
    border-bottom: 2px solid #111;
    line-height: 1.2;
}

.about-animated-list-item:last-child {
    border-bottom: none;
}

section.hero, section.about {
    /* no scroll-snap-align */
}

section.work {
    /* no scroll-snap-align */
}

.work-heading {
    font-size: 6vw;
    font-weight: 700;
    margin: 0 6vw 40px 0;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-align: right;
}

.work {
    width: 100vw;
    padding: 60px 0 60px 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.work-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 98vw;
    max-width: 1800px;
    margin: 0 auto;
}

.work-row {
    display: flex;
    flex-direction: row;
    gap: 48px;
    width: 100%;
}

.work-slot {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #eee;
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    min-width: 0;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: filter 0.2s;
}

.work-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(0,0,0,0.25);
    pointer-events: none;
    z-index: 2;
    text-align: center;
    width: 90%;
}

.work-slot:hover .work-img {
    filter: brightness(0.7) blur(1px);
}

/* Lightbox preview that follows cursor */
.work-lightbox {
    display: none;
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.10);
    padding: 18px 32px;
    min-width: 220px;
    max-width: 320px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #222;
    transition: opacity 0.18s, transform 0.18s;
    opacity: 0;
}

.work-lightbox.active {
    display: block;
    opacity: 1;
}

.work-lightbox-text {
    font-size: 1.2rem;
    color: #222;
}

/* Modal for enlarged project */
.work-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
    padding: 20px;
}

.work-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.work-modal-content {
    display: flex;
    width: 90vw;
    max-width: 1400px;
    height: 85vh;
    background: #fff;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    gap: 30px;
}

.work-modal-left {
    width: 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 40px 30px;
    border-right: 1px solid #eee;
    position: relative;
}

.work-modal-desc {
    font-size: 1.1rem;
    color: #121524 !important;
    text-align: left;
    line-height: 1.6;
    max-height: calc(85vh - 120px);
    overflow-y: auto;
    padding-right: 15px;
    margin-top: 20px;
    background: transparent;
}

.work-modal-desc::-webkit-scrollbar {
    width: 8px;
}

.work-modal-desc::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.work-modal-desc::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.work-modal-center {
    width: 65%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    padding: 20px;
}

.work-modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.work-modal-right {
    display: none;
}

.work-modal-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    font-weight: bold;
    color: #222;
    cursor: pointer;
    border-radius: 0;
    width: 48px;
    height: 48px;
    box-shadow: none;
    transition: background 0.2s;
    margin-left: 8px;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
}

.work-modal-close:hover {
    background: none;
    color: #000;
}

@media (max-width: 1100px) {
    .work-modal-content {
        width: 96vw;
        height: 60vh;
    }
    .work-modal-left {
        width: 32%;
    }
    .work-modal-center {
        width: 68%;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        height: 100vh;
        position: relative;
    }
    .hero-left, .hero-right {
        width: 100%;
        height: 100vh;
        position: absolute;
        top: 0;
        left: 0;
    }
    .hero-right {
        z-index: 1;
    }
    .hero-left {
        z-index: 2;
        background: transparent;
    }
    .hero-content {
        padding: 20px;
        padding-bottom: 8vw;
        align-items: flex-start;
        justify-content: flex-end;
        transform: translateY(-32px);
        position: relative;
        z-index: 2;
        color: white;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }
    .hero-name {
        font-size: clamp(7vw, 13vw, 16vw);
        letter-spacing: -1px;
    }
    .about {
        flex-direction: column;
    }
    .about-left, .about-right {
        width: 100%;
        padding: 32px 5vw;
    }
    .about-heading {
        font-size: 12vw;
        max-width: 100%;
    }
    .about-desc {
        font-size: 1.2rem;
        max-width: 100%;
    }
    .about-img {
        width: 100%;
        max-height: 40vh;
    }
    .about-menu {
        gap: 16px;
    }
    .about-location-pop {
        left: 120px;
        font-size: 1rem;
        padding: 8px 14px;
    }
    .work-grid {
        width: 98vw;
        gap: 18px;
    }
    .work-row {
        gap: 18px;
    }
    .work-title {
        font-size: 1.2rem;
    }
    .work-modal-content {
        flex-direction: column;
        height: 90vh;
        width: 95vw;
        padding: 20px;
    }
    .work-modal-left {
        width: 100%;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .work-modal-center {
        width: 100%;
        padding: 15px;
    }
    .work-modal-desc {
        max-height: 30vh;
        margin-top: 15px;
    }
    .work-modal-img {
        max-width: 98vw;
        max-height: 40vh;
    }
} 

.contact-section {
    width: 100%;
    padding: 80px 20px 120px 20px;
    overflow: hidden;
    background: #fff;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 60vh;
}

.contact-header-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
}

.contact-header {
    font-size: 7vw;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: left;
    margin: 0 0 24px 24px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
    align-self: flex-start;
}

.contact-dropdown {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    min-width: 320px;
    margin-top: 8px;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    z-index: 20;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border-radius: 0;
    transition: none;
    align-items: flex-start;
    width: 100%;
    max-width: calc(100vw - 48px);
    margin-left: 24px;
    margin-right: 24px;
}

.contact-dropdown.open {
    display: flex;
}

.contact-dropdown .dropdown-item {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111;
    background: none;
    border: none;
    text-align: left;
    padding: 0.6em 0;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 2px solid #111;
    line-height: 1.2;
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s, transform 0.35s;
    margin-left: 0;
    word-wrap: break-word;
    white-space: normal;
}

.contact-dropdown .dropdown-item.show {
    opacity: 1;
    transform: translateY(0);
}

.contact-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.contact-social-bar {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 18px;
    width: 100%;
    justify-content: flex-end;
    margin-top: auto;
    margin-bottom: 0;
}

.contact-social-bar .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f7f7f7;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.18s;
    text-decoration: none;
}

.contact-social-bar .social-icon:hover {
    background: #e0e0e0;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #007bff;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #121524 !important;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.social-icon svg {
    stroke: #C0C9DB !important;
    color: #C0C9DB !important;
    fill: none !important;
    transition: all 0.3s;
}

.social-icon[aria-label="LinkedIn"]:hover svg {
    stroke: #0077b5 !important;
    color: #0077b5 !important;
}
.social-icon[aria-label="X (Twitter)"]:hover svg {
    stroke: #000 !important;
    color: #000 !important;
}
.social-icon[aria-label="Instagram"]:hover svg {
    stroke: #E4405F !important;
    color: #E4405F !important;
}

.social-icon[aria-label="GitHub"] svg {
    stroke: #fff !important;
    color: #fff !important;
}

.social-icon[aria-label="GitHub"]:hover svg {
    stroke: #6e5494 !important;
    color: #6e5494 !important;
}

@media (max-width: 900px) {
    .contact-header {
        font-size: 2rem;
        margin: 0 0 24px 20px;
    }
    .contact-dropdown {
        min-width: 160px;
        max-width: calc(100vw - 40px);
        margin-left: 20px;
        margin-right: 20px;
    }
    .contact-dropdown .dropdown-item {
        font-size: 1.2rem;
    }
    .contact-social-bar {
        gap: 10px;
    }
    .contact-social-bar .social-icon {
        width: 36px;
        height: 36px;
    }
} 

.expertise-section {
    width: 100vw;
    background: #fff;
    padding: 80px 0 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.expertise-heading {
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.expertise-carousel-wrapper {
    width: 100vw;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
    padding: 40px 0;
}

.expertise-carousel {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 20px 40px;
    animation: expertise-scroll 40s linear infinite;
    will-change: transform;
    width: max-content;
}

@keyframes expertise-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); }
}

.expertise-logo {
    flex: 0 0 auto;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.77,0,0.175,1);
    cursor: pointer;
    position: relative;
    z-index: 2;
    background: none;
}

.expertise-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: filter 0.2s, transform 0.3s cubic-bezier(0.77,0,0.175,1);
    filter: grayscale(0.2) brightness(0.95);
    padding: 10px;
    margin: 0 auto;
}

.expertise-logo:hover,
.expertise-logo.active {
    transform: scale(1.25);
    z-index: 3;
}

.expertise-logo:hover img,
.expertise-logo.active img {
    filter: grayscale(0) brightness(1.1);
}

.expertise-carousel.paused {
    animation-play-state: paused;
}

.expertise-highlight {
    display: none;
    position: absolute;
    left: 50%;
    top: 38%;
    transform: translate(-50%, -100%);
    background: #fff;
    border: 2px solid #111;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    padding: 18px 32px;
    min-width: 220px;
    max-width: 340px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #111;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
    white-space: pre-line;
    transition: opacity 0.25s, transform 0.25s;
}

.expertise-highlight.show {
    display: block;
    opacity: 1;
    animation: highlight-reveal 0.5s cubic-bezier(0.77,0,0.175,1) forwards;
}

@keyframes highlight-reveal {
    0% { clip-path: inset(0 100% 0 0); opacity: 0; }
    60% { opacity: 1; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; }
}

.highlight-name {
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    margin-bottom: 6px;
}

.highlight-info {
    font-size: 1.05rem;
    color: #444;
}

@media (max-width: 900px) {
    .expertise-heading {
        font-size: 2rem;
    }
    .expertise-carousel {
        gap: 80px;
    }
    .expertise-logo {
        width: 80px;
        height: 80px;
    }
    .expertise-logo img {
        width: 40px;
        height: 40px;
    }
    .expertise-highlight {
        min-width: 120px;
        max-width: 220px;
        padding: 10px 16px;
        font-size: 1rem;
    }
} 

.resume-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 80px 0;
    background: #fff;
}

.resume-button {
    background: #C0C9DB !important;
    color: #121524 !important;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    padding: 20px 40px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.resume-button:hover {
    background: #F5E9D0 !important;
    color: #050B1E !important;
}

@media (max-width: 900px) {
    .resume-button {
        font-size: 1.2rem;
        padding: 16px 32px;
    }
} 

@media (max-width: 900px) {
    .hero-content,
    .hero-title-block h2,
    .hero-title-block p,
    .hero-nav a {
        color: #F5E9D0 !important;
        text-shadow: 1px 1px 8px #050B1E;
    }
} 

body, html, * {
    font-family: 'Titillium Web', Arial, Helvetica, sans-serif !important;
}

.titillium-web-extralight {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: normal;
}
.titillium-web-light {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: normal;
}
.titillium-web-regular {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.titillium-web-semibold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: normal;
}
.titillium-web-bold {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.titillium-web-black {
  font-family: "Titillium Web", sans-serif;
  font-weight: 900;
  font-style: normal;
}
.titillium-web-extralight-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 200;
  font-style: italic;
}
.titillium-web-light-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 300;
  font-style: italic;
}
.titillium-web-regular-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 400;
  font-style: italic;
}
.titillium-web-semibold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 600;
  font-style: italic;
}
.titillium-web-bold-italic {
  font-family: "Titillium Web", sans-serif;
  font-weight: 700;
  font-style: italic;
}