:root {
    --primary-color: #1a5a7a;
    --secondary-color: #4ecdc4;
    --accent-color: #ff8c42;
    --dark-color: #2d3436;
    --light-color: #f7f9f9;
    --overlay-bg: rgba(255, 255, 255, 0.85);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#scene-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
    transform: translateX(calc(100% - 40px)); /* Minimized by default */
    z-index: 2;
    box-shadow: -3px 0 15px rgba(0, 0, 0, 0.2);
}

/* Show full overlay when expanded class is present */
#overlay.expanded {
    transform: translateX(0); /* Fully expanded */
}

/* Remove the pseudo-element since we're using a real element now */
#overlay-handle {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #290050;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    width: 30px;
    height: 50px;
    text-align: center;
    border-radius: 4px 0 0 4px;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 20px;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.contact-info {
    margin-top: 15px;
    font-size: 0.9rem;
}

.navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.nav-link {
    color: var(--primary-color);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    border-bottom: 1px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.experience-item, .education-item, .project-item {
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    cursor: pointer;
}

.experience-item:hover, .education-item:hover, .project-item:hover {
    background-color: rgba(78, 205, 196, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.experience-item h3, .education-item h3, .project-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.experience-item h4, .education-item h4 {
    color: var(--accent-color);
    font-weight: 400;
    margin-bottom: 10px;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.skill-category {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 5px;
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.skill-category ul {
    list-style-type: none;
}

.skill-category li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.skill-category li:before {
    content: "•";
    color: var(--secondary-color);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Remove location info panel - no longer needed */
#location-info {
    display: none;
}

/* Enhanced Neon Signboard */
.neon-signboard {
    position: absolute;
    transform: translateY(-100%);
    background-color: rgba(10, 0, 20, 0.8);
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px #ff00ff, inset 0 0 10px rgba(255, 0, 255, 0.3);
    padding: 15px 20px;
    border-radius: 5px;
    pointer-events: none;
    z-index: 5;
    min-width: 300px;
    max-width: 400px;
}

.signboard-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.neon-text {
    font-family: 'Orbitron', sans-serif;
    margin: 5px 0;
}

.primary-neon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #ff00ff;
}

.secondary-neon {
    font-size: 1.1rem;
    color: #00f2ff;
    text-shadow: 0 0 5px #00f2ff, 0 0 10px #00f2ff;
    margin-top: 8px;
}

.address-neon {
    font-size: 0.9rem;
    color: #ffcc00;
    text-shadow: 0 0 5px #ffcc00;
    margin-top: 8px;
    font-style: italic;
}

.hidden {
    display: none;
}

/* For tablet and mobile */
@media (max-width: 1200px) {
    #overlay {
        width: 50%;
    }
}

@media (max-width: 768px) {
    #overlay {
        width: 100%;
        height: 50%;
        top: 50%;
        right: auto;
    }
    
    .skills-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    #overlay {
        padding: 15px;
    }
}

/* Add cyberpunk styling to the map */
.mapboxgl-popup {
    --neon-pink: #ff00ff;
    --neon-blue: #00f2ff;
}

.mapboxgl-popup-content {
    background-color: rgba(20, 0, 30, 0.8) !important;
    color: white !important;
    border: 1px solid var(--neon-blue) !important;
    box-shadow: 0 0 15px var(--neon-blue), inset 0 0 10px rgba(0, 242, 255, 0.4) !important;
    border-radius: 5px !important;
    padding: 12px !important;
}

.mapboxgl-popup-content h3 {
    color: var(--neon-pink) !important;
    margin-bottom: 5px !important;
    text-shadow: 0 0 5px var(--neon-pink) !important;
}

.mapboxgl-popup-content p {
    color: #fff !important;
    margin-top: 0 !important;
}

.mapboxgl-popup-tip {
    border-top-color: var(--neon-blue) !important;
    border-bottom-color: var(--neon-blue) !important;
}

/* Cyberpunk Markers */
.cyberpunk-marker {
    width: 40px;
    height: 40px;
    background-color: rgba(20, 0, 30, 0.9);
    border-radius: 50%;
    border: 2px solid;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 5;
    box-shadow: 0 0 15px;
}

.work-marker {
    border-color: #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
}

.education-marker {
    border-color: #00f2ff;
    box-shadow: 0 0 15px #00f2ff;
}

.marker-number {
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

.work-marker .marker-number {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff;
}

.education-marker .marker-number {
    color: #00f2ff;
    text-shadow: 0 0 5px #00f2ff;
}

/* Customize the navigation controls for cyberpunk style */
.mapboxgl-ctrl-group {
    background-color: rgba(20, 0, 30, 0.8) !important;
    border: 1px solid #ff00ff !important;
    box-shadow: 0 0 10px #ff00ff !important;
}

.mapboxgl-ctrl-icon {
    filter: hue-rotate(140deg) brightness(1.5) !important;
}

/* Tour UI elements */
#tour-button {
    position: absolute;
    top: 20px;
    left: 85px;
    z-index: 10;
    background-color: rgba(10, 0, 20, 0.8);
    color: #00f2ff;
    border: 2px solid #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
 
}

#tour-button:hover {
    background-color: rgba(41, 0, 80, 0.9);
    box-shadow: 0 0 20px #9900ff, 0 0 10px #ff00ff;
    transform: scale(1.05);
}

#tour-info {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(10, 0, 20, 0.9);
    border: 2px solid #ff00ff;
    box-shadow: 0 0 20px #ff00ff;
    padding: 15px;
    border-radius: 5px;
    z-index: 100;
    width: 90%;
    max-width: 500px;
    text-align: center;
    color: white;
}

.tour-title {
    margin-bottom: 10px;
    color: #00f2ff;
    text-shadow: 0 0 10px #00f2ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
}

.tour-description {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.5;
}

.tour-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#tour-progress {
    background-color: rgba(0, 242, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    color: #00f2ff;
    font-family: 'Orbitron', sans-serif;
}

.tour-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tour-controls button {
    margin: 0 5px;
    min-width: 80px;
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Responsive adjustments for mobile devices */
@media (max-width: 767px) {
    #tour-info {
        bottom: 10px;
        padding: 10px;
        width: 95%;
    }
    
    .tour-title {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .tour-description {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .tour-controls {
        gap: 5px;
    }
    
    .tour-controls button {
        padding: 8px 12px;
        min-width: 70px;
        font-size: 0.8rem;
    }
}

/* iPhone-specific fixes */
@media screen and (max-width: 480px) {
    .tour-controls {
        margin-top: 10px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
    }
    
    .tour-controls button {
        margin: 0;
        width: 100%;
    }
}

/* Neon Vertical Pillar of Light - Removing these styles */
.neon-pillar-container {
    display: none;
}

.neon-pillar-beam {
    display: none;
}

.pillar-particle {
    display: none;
}

.pillar-ring {
    display: none;
}

@keyframes pillar-glow {
    0% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes float-up {
    0% { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes ring-expand {
    0% { opacity: 0; }
    100% { opacity: 0; }
}

/* Music Control Button */
#music-button {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(10, 0, 20, 0.8);
    border: 2px solid #ff00ff;
    box-shadow: 0 0 15px #ff00ff;
    color: #00f2ff;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 0;
}

#music-button i {
    text-shadow: 0 0 10px #00f2ff;
}

#music-button:hover {
    background-color: rgba(41, 0, 80, 0.9);
    box-shadow: 0 0 20px #ff00ff, 0 0 10px #00f2ff;
    transform: scale(1.1);
}

#music-button:active {
    transform: scale(0.95);
}

/* Home button styles removed */
#home-button {
    display: none;
}

#home-button svg {
    display: none;
}

/* Tour navigation buttons disabled state */
#tour-next:disabled, #tour-prev:disabled, #tour-skip:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: rgba(20, 0, 40, 0.5);
    box-shadow: 0 0 5px #9900ff;
}

/* Tour navigation transition visual effect */
.navigation-transition {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, 
                              transparent, 
                              rgba(0, 242, 255, 0.1) 20%, 
                              rgba(0, 242, 255, 0.3) 40%,
                              rgba(0, 242, 255, 0.5) 100%);
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* First-person navigation effects */
#navigation-effects-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 40;
    overflow: hidden;
}

.speed-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.speed-line {
    position: absolute;
    background-color: rgba(0, 242, 255, 0.4);
    height: 1px;
    width: 100px;
    transform-origin: center;
    animation: speed-line-animation 0.8s linear infinite;
}

@keyframes speed-line-animation {
    0% {
        transform: translateX(-50px) translateY(0) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 0.8;
    }
    100% {
        transform: translateX(calc(100vw + 50px)) translateY(0) scale(1.5);
        opacity: 0;
    }
}

/* Cyberpunk Button Styles */
.cyberpunk-button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #00f2ff;
    border: 1px solid #00f2ff;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-shadow: 0 0 5px #00f2ff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.cyberpunk-button:hover {
    background-color: rgba(0, 242, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.8);
}

.cyberpunk-button.small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Hide the resume overlay */
#overlay {
    display: none !important;
}

/* Circular Location Highlight */
.location-highlight {
    position: relative;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.highlight-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border-width: 4px;
    border-style: solid;
    box-shadow: 0 0 20px currentColor;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-out;
}

.highlight-ring-1 {
    width: 100px;
    height: 100px;
    animation-name: pulse-ring-1;
    animation-delay: 0s;
}

.highlight-ring-2 {
    width: 200px;
    height: 200px;
    animation-name: pulse-ring-2;
    animation-delay: 0.5s;
}

.highlight-ring-3 {
    width: 300px;
    height: 300px;
    animation-name: pulse-ring-3;
    animation-delay: 1s;
}

/* Ring pulsing animations */
@keyframes pulse-ring-1 {
    0% {
        width: 50px;
        height: 50px;
        opacity: 0.9;
    }
    70% {
        width: 100px;
        height: 100px;
        opacity: 0.7;
    }
    100% {
        width: 120px;
        height: 120px;
        opacity: 0;
    }
}

@keyframes pulse-ring-2 {
    0% {
        width: 120px;
        height: 120px;
        opacity: 0.7;
    }
    70% {
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }
    100% {
        width: 250px;
        height: 250px;
        opacity: 0;
    }
}

@keyframes pulse-ring-3 {
    0% {
        width: 250px;
        height: 250px;
        opacity: 0.5;
    }
    70% {
        width: 300px;
        height: 300px;
        opacity: 0.3;
    }
    100% {
        width: 350px;
        height: 350px;
        opacity: 0;
    }
}

/* iPhone-specific fixes - larger touch targets */
@media screen and (max-width: 480px) {
    .cyberpunk-button {
        padding: 12px 15px;
        min-height: 44px; /* Apple's recommended minimum touch target size */
    }
    
    .tour-controls button {
        margin: 0;
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Make music button larger on mobile */
    #music-button {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }
    
    /* Make tour button larger on mobile */
    #tour-button {
        padding: 12px 20px;
        min-height: 44px;
        font-size: 1.1rem;
    }
} 