@import 'base.css';
@import 'header.css';
@import 'hero.css';
@import 'timeline.css';
@import 'social.css';
@import 'pdf-viewer.css';
@import 'mobile.css';
@import 'detailPage.css';

/* Contact Page Styles */
.contact-section {
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    gap: 0;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Below header */
}

.contact-image {
    flex: 1.2;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-30px);
}

.contact-image.animate {
    animation: contactImageFade 1.5s ease-out forwards;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
    transform: scale(1.1);
}

.contact-image.animate img {
    animation: contactImageZoom 2.5s ease-out forwards;
}

@keyframes contactImageFade {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes contactImageZoom {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.contact-container {
    flex: 0.8;
    max-width: 500px;
    margin: 0 60px;
    align-self: center;
    text-align: center;
    padding: 60px 40px;
    max-height: 85vh;
    overflow-y: hidden;
}

.contact-container h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.profile-picture {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 30px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-intro {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.contact-info {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #fff;
}

/* Social media styles for contact page */
.contact-container .social-media {
    margin-top: auto;
    background: none;
    padding: 40px 0 0;
}

/* Special style for contact page body */
body.contact-page {
    overflow: hidden;
    height: 100vh;
}

/* Force desktop layout when not in mobile view */
body.contact-page:not(.mobile-view) .contact-section {
    position: fixed !important;
    height: 100vh !important;
    flex-direction: row !important;
    padding: 0 !important;
    gap: 0 !important;
}

body.contact-page:not(.mobile-view) .contact-image {
    flex: 1.2 !important;
    height: 100% !important;
    min-height: 0 !important;
    transform: translateX(-30px) !important;
}

body.contact-page:not(.mobile-view) .contact-container {
    flex: 0.8 !important;
    margin: 0 60px !important;
    max-height: 85vh !important;
    overflow-y: hidden !important;
    padding: 60px 40px !important;
}

/* Force mobile layout when in mobile view */
body.contact-page.mobile-view .contact-section {
    position: relative !important;
    height: auto !important;
    min-height: 100vh !important;
    flex-direction: column !important;
}

body.contact-page.mobile-view .contact-image {
    transform: translateY(-30px) !important;
}

/* Make the name in header clickable */
.name {
    text-decoration: none;
    cursor: pointer;
}

@media (max-width: 900px) {
    body.contact-page {
        overflow-y: auto;
        height: auto;
    }
    
    .contact-section {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
        position: relative;
        padding: 80px 20px;
        gap: 30px;
    }

    .contact-image {
        flex: none;
        height: 40vh;
        min-height: 300px;
        width: 100%;
        transform: translateY(-30px);
    }

    .contact-image.animate {
        animation: contactImageFadeMobile 1.5s ease-out forwards;
    }

    @keyframes contactImageFadeMobile {
        0% {
            opacity: 0;
            transform: translateY(-30px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .contact-container {
        flex: none;
        margin: 0 auto 40px;
        width: 90%;
        max-width: 500px;
        max-height: none;
        padding: 40px 30px;
        overflow-y: visible;
    }
    
    .contact-container .social-media {
        padding-top: 30px;
    }

    .contact-container h1 {
        font-size: 2.5rem;
    }

    .contact-intro {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .contact-info {
        gap: 30px;
        margin-bottom: 40px;
    }

    .profile-picture {
        width: 120px;
        height: 120px;
        margin-bottom: 25px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 70px 15px;
    }
    
    .contact-image {
        height: 35vh;
        min-height: 250px;
    }

    .contact-container {
        padding: 35px 25px;
    }

    .contact-container h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .contact-info {
        gap: 25px;
        margin-bottom: 30px;
    }

    .profile-picture {
        width: 110px;
        height: 110px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 10px;
    }
    
    .contact-image {
        height: 30vh;
        min-height: 200px;
    }
    
    .contact-container {
        padding: 30px 20px;
    }
    
    .contact-container h1 {
        font-size: 1.8rem;
    }

    .contact-intro {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .contact-item h3 {
        font-size: 1.2rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 25px;
    }
    
    .contact-container .social-media {
        padding-top: 25px;
    }

    .profile-picture {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
} 

/* Navigation dot on contact image */
.nav-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #4CAF50;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 0 0 rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Allows clicks to pass through */
    cursor: pointer;
}

/* Pulse animation for the dot */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.6);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Make the dot clickable */
.nav-dot-hitbox {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 9;
    cursor: pointer;
}

/* Location tooltip */
.location-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    transform: translateY(-100%) translateX(-50%);
    margin-top: -15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 11;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Arrow for tooltip */
.location-tooltip:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.75);
}

/* Show tooltip on hover */
.nav-dot-hitbox:hover + .nav-dot + .location-tooltip,
.nav-dot-hitbox:focus + .nav-dot + .location-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-100%) translateX(-50%) translateY(5px);
}

/* Detail Page Styles */
.detail-page .detail-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.detail-page .detail-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
}

.detail-page .back-button {
    margin-bottom: 30px;
}

.detail-page .back-button a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.detail-page .back-button a:hover {
    color: #333;
}

.detail-page .detail-content {
    min-height: 400px;
}

.detail-page .detail-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    color: #888;
    font-style: italic;
}

.detail-page .detail-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.detail-page .detail-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.detail-page .detail-header .detail-date {
    color: #888;
    font-size: 1rem;
}

.detail-page .detail-media {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 30px 0;
}

.detail-page .detail-media .video-container,
.detail-page .detail-media .image-container,
.detail-page .detail-media .gif-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.detail-page .detail-media .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.detail-page .detail-media .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.detail-page .detail-media .image-container img,
.detail-page .detail-media .gif-container img {
    width: 100%;
    height: auto;
    display: block;
}

.detail-page .detail-media .additional-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.detail-page .detail-media .additional-images .image-container {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.detail-page .detail-media .additional-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-page .detail-description {
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.detail-page .detail-link {
    margin-top: 30px;
}

.detail-page .detail-link a {
    display: inline-block;
    padding: 12px 24px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.detail-page .detail-link a:hover {
    background-color: #555;
}

/* Media Queries for Detail Page */
@media (max-width: 768px) {
    .detail-page .detail-section {
        padding: 60px 15px;
    }
    
    .detail-page .detail-container {
        padding: 25px;
    }
    
    .detail-page .detail-header h1 {
        font-size: 2rem;
    }

    .detail-page .detail-media {
        gap: 20px;
    }
    
    .detail-page .detail-media .additional-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .detail-page .detail-section {
        padding: 40px 10px;
    }
    
    .detail-page .detail-container {
        padding: 20px;
    }
    
    .detail-page .detail-header h1 {
        font-size: 1.8rem;
    }
} 

/* Resume page styles */
.resume-page {
    background-color: #050505;
    color: #fff;
    min-height: 100vh;
}

.resume-section {
    padding-top: 120px;
    padding-bottom: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.resume-container {
    padding: 0 40px;
}

.resume-container h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.resume-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
} 
