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

body, html {
    height: 100%;
    overflow: auto;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Video Background */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.background-video::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

/* Layout Styles */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
 
    border-radius: 10px;
  
}

.header {
    margin-top: 100px;
    padding-left: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.header-content {
    flex: 1;
}

/* Flight Info Styles */
.flight-info {
    flex: 0 0 300px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    border: 1px solid rgb(20, 44, 253);
}

.flight-duration {
    text-align: center;
    margin-bottom: 20px;
}

.flight-duration h2 {
    color: #eaff00;
    margin: 0;
    font-size: 1.5em;
}

.flight-duration p {
    color: #00ff11;
    margin: 5px 0;
    font-size: 1.2em;
}

.flight-route {
    position: relative;
    height: 2px;
    background: #ffffff;
    margin: 30px 0;
}

.flight-route::before,
.flight-route::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: #ae00ff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.flight-route::before {
    left: 0;
}

.flight-route::after {
    right: 0;
}

.route-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.route-labels span {
    color: #00ffdd;
    font-size: 1.2em;
}

/* Text Styles */
.welcome {
    font-size: 6.5em;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    line-height: 1.2;
    font-weight: 1200;
    -webkit-text-stroke: 1px #ffffff;
    letter-spacing: 2px;
}

.caption {
    font-size: 2em;
    color: #33ff00;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(0, 206, 209, 0.5);
}

/* Navigation Styles */
.nav-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-button {
    padding: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-button i {
    font-size: 10em;
}

.nav-button i.fa-globe-americas {
    animation: colorChange1 5.2s infinite;
}

.nav-button i.fa-clock {
    animation: colorChange2 6.7s infinite;
}

@keyframes colorChange1 {
    0% {
        color: #ff25c1;
        text-shadow: 0 0 20px rgba(255, 37, 193, 0.8);
    }
    15% {
        color: #00ffff;
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
    30% {
        color: #ae00ff;
        text-shadow: 0 0 20px rgba(174, 0, 255, 0.8);
    }
    45% {
        color: #ff0000;
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
    60% {
        color: #00ff00;
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    }
    75% {
        color: #ffff00;
        text-shadow: 0 0 20px rgba(255, 255, 0, 0.8);
    }
    90% {
        color: #ff00ff;
        text-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    }
    100% {
        color: #ff25c1;
        text-shadow: 0 0 20px rgba(255, 37, 193, 0.8);
    }
}

@keyframes colorChange2 {
    0% {
        color: #00ffff;
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
    20% {
        color: #ff00ff;
        text-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
    }
    35% {
        color: #ffff00;
        text-shadow: 0 0 20px rgba(255, 255, 0, 0.8);
    }
    50% {
        color: #00ff00;
        text-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
    }
    65% {
        color: #ff0000;
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
    }
    80% {
        color: #ae00ff;
        text-shadow: 0 0 20px rgba(174, 0, 255, 0.8);
    }
    95% {
        color: #ff25c1;
        text-shadow: 0 0 20px rgba(255, 37, 193, 0.8);
    }
    100% {
        color: #00ffff;
        text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
    }
}

.nav-button:hover {
    transform: translateY(-2px) scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.journey-text {
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 2.5em;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(125, 238, 242, 0.548);
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 20px;
    font-weight: 700;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    overflow: visible;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, 
        #ff6b00 0%, 
        #00ff88 20%, 
        #ff00aa 40%, 
        #00ffff 60%, 
        #ff00ff 80%, 
        #00ff00 100%
    );
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 40px;
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid currentColor;
    position: relative;
    backdrop-filter: blur(5px);
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px currentColor;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    right: -56px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -56px;
}

.timeline-item:nth-child(1) .timeline-year,
.timeline-item:nth-child(1) .timeline-title,
.timeline-item:nth-child(1) .timeline-description,
.timeline-item:nth-child(1) .timeline-content::after {
    color: #ff6b00;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.timeline-item:nth-child(2) .timeline-year,
.timeline-item:nth-child(2) .timeline-title,
.timeline-item:nth-child(2) .timeline-description,
.timeline-item:nth-child(2) .timeline-content::after {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.timeline-item:nth-child(3) .timeline-year,
.timeline-item:nth-child(3) .timeline-title,
.timeline-item:nth-child(3) .timeline-description,
.timeline-item:nth-child(3) .timeline-content::after {
    color: #ff00aa;
    text-shadow: 0 0 10px rgba(255, 0, 170, 0.5);
}

.timeline-item:nth-child(4) .timeline-year,
.timeline-item:nth-child(4) .timeline-title,
.timeline-item:nth-child(4) .timeline-description,
.timeline-item:nth-child(4) .timeline-content::after {
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.timeline-item:nth-child(5) .timeline-year,
.timeline-item:nth-child(5) .timeline-title,
.timeline-item:nth-child(5) .timeline-description,
.timeline-item:nth-child(5) .timeline-content::after {
    color: #ff00ff;
    text-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

.timeline-item:nth-child(6) .timeline-year,
.timeline-item:nth-child(6) .timeline-title,
.timeline-item:nth-child(6) .timeline-description,
.timeline-item:nth-child(6) .timeline-content::after {
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.timeline-year {
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

.timeline-title {
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

.timeline-description {
    line-height: 1.6;
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
}

/* Map Styles */
.map-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px 20px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid #ff00e6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#map {
    height: 600px;
    width: 90%;
    margin: 5px auto;
    border-radius: 10px;
    border: 2px solid #ffffff;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.search-container {
    display: flex;
    justify-content: flex-end;
    margin: 5px 0 5px auto;
    gap: 10px;
    max-width: 400px;
    padding: 5px;
    width: 60%;
}

/* Form Elements */
input {
    padding: 10px;
    width: 70%;
    max-width: 400px;
    background: rgba(0, 206, 209, 0.1);
    border: 1px solid #ffffff;
    color: #fff;
    border-radius: 5px;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

button {
    padding: 10px 20px;
    margin-left: 10px;
    background: rgba(0, 206, 209, 0.2);
    border: 1px solid #ffffff;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: rgba(0, 206, 209, 0.4);
    transform: translateY(-2px);
}

/* Animations */
@keyframes rotateEarth {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes floatEarth {
    0% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px) scale(1.02);
    }
    100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
}

@keyframes pulseGlow {
    0% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes twinkleStars {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        opacity: 0.3;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .header {
        width: 100%;
        padding: 10px;
    }

    .nav-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .nav-button {
        width: 100%;
        padding: 12px 20px;
    }

    .search-container {
        padding: 10px;
    }

    button {
        margin-top: 10px;
        margin-left: 0;
        width: 70%;
    }

    .footer {
        padding: 10px;
    }

    .welcome {
        font-size: 2rem;
    }

    .caption {
        font-size: 1rem;
    }

    .journey-text {
        font-size: 1.2rem;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
    }

    .timeline::after {
        left: 20px;
    }

    .timeline-content::after {
        left: -36px !important;
    }
}

/* Map Page Styles */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 30px 0 30px 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 2em;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link i.fa-home {
    font-size: 1.7em;
}

.nav-link:hover {
    transform: translateY(-2px) scale(1.1);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

#cityInput {
    padding: 10px;
    border: 2px solid #00CED1;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    width: 300px;
}

#searchButton {
    padding: 10px 20px;
    background: rgba(0, 206, 209, 0.2);
    border: 2px solid #00CED1;
    color: #00CED1;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

#searchButton:hover {
    background: rgba(0, 206, 209, 0.4);
}

/* Timeline Page Background */
.timeline-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid #33ff00;
    overflow: visible;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

/* Map Intro Styles */
.map-intro {
    text-align: left;
    margin: 5px 0 5px 0;
    padding: 5px 20px 5px 20px;
    max-width: 1000px;
    margin-left: 0;
    width: 90%;
}

.map-intro h1 {
    color: #00ffff;
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    font-weight: bold;
    max-width: 1000px;
}

.map-intro h1 br + span {
    color: #ae00ff;
    text-shadow: 0 0 10px rgba(174, 0, 255, 0.5);
}

.map-intro p {
    color: #ffffff;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    max-width: 500px;
}

.safety-icons {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: -10px;
    padding-right: 20px;
    position: absolute;
    right: 50%;
    transform: translateX(600px);
}

.safety-icons i {
    font-size: 3em;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.safety-icons i.fa-globe {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.safety-icons i.fa-smoking-ban {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.small-plane-container {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.small-plane {
    position: absolute;
    font-size: 1.5em;
    color: #ffffff;
    opacity: 0;
    animation: flySmallPlane 20s infinite;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes flySmallPlane {
    0% {
        opacity: 0;
        transform: translate(5vw, 95vh) rotate(45deg);
    }
    5% {
        opacity: 1;
    }
    15% {
        transform: translate(15vw, 80vh) rotate(120deg);
    }
    30% {
        transform: translate(35vw, 60vh) rotate(200deg);
    }
    45% {
        transform: translate(55vw, 40vh) rotate(280deg);
    }
    60% {
        transform: translate(75vw, 20vh) rotate(350deg);
    }
    70% {
        transform: translate(85vw, 5vh) rotate(420deg);
    }
    75% {
        transform: translate(65vw, 2vh) rotate(450deg);
    }
    80% {
        transform: translate(45vw, 1vh) rotate(500deg);
    }
    85% {
        transform: translate(25vw, 3vh) rotate(550deg);
    }
    90% {
        opacity: 1;
        transform: translate(15vw, 10vh) rotate(580deg);
    }
    95% {
        opacity: 0;
        transform: translate(5vw, 95vh) rotate(720deg);
    }
    100% {
        opacity: 0;
        transform: translate(5vw, 95vh) rotate(720deg);
    }
}

.timeline-item:nth-child(1) .timeline-content {
    border-color: #ff6b00;
}

.timeline-item:nth-child(2) .timeline-content {
    border-color: #00ff88;
}

.timeline-item:nth-child(3) .timeline-content {
    border-color: #ff00aa;
}

.timeline-item:nth-child(4) .timeline-content {
    border-color: #00ffff;
}

.timeline-item:nth-child(5) .timeline-content {
    border-color: #ff00ff;
}

.timeline-item:nth-child(6) .timeline-content {
    border-color: #00ff00;
} 