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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Container - Mobile First */
.container {
    width: 100%;
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header - Fixed for mobile */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 24px;
}

.nav-links.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 16px;
}

.nav-links a:hover,
.nav-links a:focus {
    color: #ff6b35;
}

.mobile-menu {
    display: block;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Section - Mobile Optimized */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    color: white;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    font-size: 14px;
    border: none;
    cursor: pointer;
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.cta-button:hover,
.cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

/* Sections - Mobile spacing */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 2px;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '📸';
    font-size: 40px;
    opacity: 0.5;
}

.image-placeholder.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23667eea" width="1200" height="800"/><text x="600" y="400" text-anchor="middle" fill="white" font-size="60" font-family="Arial">Hero Image</text></svg>');
    background-size: cover;
    background-position: center;
    border-radius: 0;
}

/* About Section */
.about {
    background: #f8f9fa;
}

.about-content {
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.about-image {
    margin: 30px 0;
}

/* Tours Section - Equal Size Cards */
.tours {
    background: white;
}

.tours-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tour-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: auto;
    min-height: 580px;
    display: flex;
    flex-direction: column;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.tour-image {
    height: 180px;
    flex-shrink: 0;
}

.tour-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 24px;
    text-align: center;
    flex-shrink: 0;
}

.tour-header.premium {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.tour-header.luxury {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.tour-duration {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1;
}

.tour-title {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.tour-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.tour-features {
    list-style: none;
    margin-bottom: 24px;
    flex-grow: 1;
}

.tour-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: #666;
}

.tour-features li:last-child {
    border-bottom: none;
}

.tour-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 16px;
}

.tour-price {
    text-align: center;
    font-size: 32px;
    font-weight: 900;
    color: #ff6b35;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.tour-cta {
    margin-top: auto;
}

/* Features Section */
.features {
    background: #333;
    color: white;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
}

.feature p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 100%;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-item h3 {
    margin-bottom: 8px;
    color: #ff6b35;
    font-size: 16px;
    font-weight: 700;
}

.contact-item p {
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 32px 0;
}

footer p {
    font-size: 14px;
    opacity: 0.8;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet Styles - 768px and up */
@media (min-width: 768px) {
    .container {
        padding: 0 32px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero p {
        font-size: 18px;
        max-width: 600px;
    }

    .section-title {
        font-size: 36px;
    }

    .tours-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .contact-info {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .tour-card {
        min-height: 640px;
    }
}

/* Desktop Styles - 1024px and up */
@media (min-width: 1024px) {
    .mobile-menu {
        display: none;
    }

    .nav-links {
        display: flex !important;
        position: static;
        background: none;
        flex-direction: row;
        padding: 0;
        border-top: none;
    }

    .hero h1 {
        font-size: 64px;
    }

    .hero p {
        font-size: 20px;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 42px;
        margin-bottom: 60px;
    }

    .tours-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .tour-card {
        min-height: 680px;
    }

    .about-content {
        font-size: 18px;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .tours-grid {
        gap: 40px;
    }
}

/* iPhone SE and smaller screens */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .tour-duration {
        font-size: 32px;
    }

    .tour-price {
        font-size: 28px;
    }
}

/* High contrast and accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
.cta-button:focus,
.nav-links a:focus,
.mobile-menu:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}