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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-dates {
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255,255,255,0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    opacity: 0.7;
}

/* Floating Elements */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    font-size: 3rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-element:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.floating-element:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 4s;
}

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3c72;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #1e3c72;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

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

.nav-link:hover {
    color: #1e3c72;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3c72;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Section Styles */
.section-content {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3c72;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Overview Section */
.overview {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.overview-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Timeline Styles */
.itinerary {
    background: white;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 100px;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    text-align: center;
}

.day-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 0.5rem;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.day-date {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.day-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

.day-location {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.day-activities {
    display: grid;
    gap: 0.8rem;
}

.activity {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8f9ff;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.activity:hover {
    background: #e8edff;
}

.time {
    font-weight: 600;
    color: #667eea;
    min-width: 80px;
    font-size: 0.9rem;
}

.activity-text {
    color: #333;
    flex: 1;
}

/* Highlights Section */
.highlights {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.highlights .section-title {
    color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
    background: rgba(255,255,255,0.2);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.highlight-card p {
    opacity: 0.9;
    line-height: 1.6;
}


/* Footer */
.footer {
    background: #1e3c72;
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-text p {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Mobile-First Responsive Design */

/* Base mobile styles (320px and up) */
@media (max-width: 767px) {
    /* Hero Section Mobile */
    .hero {
        height: 100vh;
        min-height: 600px;
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-dates {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    /* Navigation Mobile */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .nav-logo {
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        background: rgba(30, 60, 114, 0.1);
        border-radius: 25px;
        transition: all 0.3s ease;
        min-width: 200px;
        text-align: center;
    }
    
    .nav-link:hover {
        background: rgba(30, 60, 114, 0.2);
        transform: translateY(-2px);
    }
    
    /* Section Content Mobile */
    .section-content {
        padding: 2rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        line-height: 1.3;
    }
    
    /* Overview Grid Mobile */
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .overview-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .overview-card h3 {
        font-size: 1.3rem;
    }
    
    /* Timeline Mobile */
    .timeline {
        padding: 1rem 0;
    }
    
    .timeline::before {
        left: 25px;
        width: 3px;
    }
    
    .timeline-item {
        padding-left: 60px;
        margin-bottom: 2rem;
    }
    
    .timeline-marker {
        width: 60px;
    }
    
    .day-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .day-date {
        font-size: 0.8rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .day-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .day-location {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .day-activities {
        gap: 0.6rem;
    }
    
    .activity {
        padding: 0.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .time {
        font-size: 0.8rem;
        min-width: auto;
        background: rgba(102, 126, 234, 0.1);
        padding: 0.2rem 0.5rem;
        border-radius: 10px;
        align-self: flex-start;
    }
    
    .activity-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    /* Highlights Mobile */
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .highlight-icon {
        font-size: 2.5rem;
    }
    
    .highlight-card h3 {
        font-size: 1.3rem;
    }
    
    
    /* Footer Mobile */
    .footer {
        padding: 2rem 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-text h3 {
        font-size: 1.3rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile (320px - 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-content {
        padding: 1.5rem 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .timeline-item {
        padding-left: 50px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        width: 50px;
    }
    
    .day-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 1.2rem;
    }
    
    .day-title {
        font-size: 1.3rem;
    }
    
    .activity {
        padding: 0.5rem;
    }
    
    .time {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
    
    .activity-text {
        font-size: 0.85rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Large Mobile (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-marker {
        width: 70px;
    }
    
    .day-number {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .timeline-item {
        padding-left: 90px;
    }
    
    .timeline::before {
        left: 40px;
    }
    
    .timeline-marker {
        width: 90px;
    }
    
    .day-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .timeline-content:hover {
        transform: none;
    }
    
    .overview-card:hover {
        transform: none;
    }
    
    .highlight-card:hover {
        transform: none;
    }
    
    .activity:hover {
        background: #e8edff;
        transform: none;
    }
    
    /* Make clickable areas larger on touch devices */
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .day-number {
        min-width: 44px;
        min-height: 44px;
    }
    
    .social-link {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Add touch feedback for mobile */
    .activity:active {
        transform: scale(0.98);
        background: #e8edff;
    }
    
    .day-number:active {
        transform: scale(0.95);
    }
    
    .nav-link:active {
        transform: scale(0.98);
    }
}

/* Mobile-specific improvements */
@media (max-width: 767px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    /* Improve text readability on mobile */
    .activity-text {
        line-height: 1.5;
    }
    
    .day-title {
        line-height: 1.3;
    }
    
    /* Better spacing for mobile */
    .timeline-item {
        margin-bottom: 2.5rem;
    }
    
    /* Mobile-friendly floating elements */
    .floating-element {
        font-size: 2rem;
        opacity: 0.05;
    }
    
    /* Optimize hero section for mobile */
    .hero {
        padding: 2rem 1rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    /* Mobile scroll indicator */
    .scroll-indicator {
        bottom: 1rem;
    }
    
    .scroll-indicator i {
        font-size: 1.5rem;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        height: -webkit-fill-available;
    }
    
    .nav {
        -webkit-backdrop-filter: blur(10px);
    }
}

/* Android Chrome specific fixes */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .timeline::before {
        -webkit-transform: translateZ(0);
    }
    
    .floating-element {
        -webkit-transform: translateZ(0);
    }
}
