﻿/* CSS Variables for a Premium Outdoors Look */
:root {
    --primary: #00798F;
    --primary-hover: #006071;
    --secondary: #155e75;
    --accent: #facc15;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-white: #ffffff;
    --border: #e2e8f0;
    --surface-dark: #0f172a;
    --font-main: 'Noto Sans', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--secondary);
    font-weight: 800;
    line-height: 1.2;
}

/* Header */
header.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.logo img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2.5rem 2rem;
        gap: 2rem;
        border-bottom: 2px solid var(--primary);
        box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 8rem;
    background-size: cover;
    background-position: center;
    color: white;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: white;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Main Layout */
.main-grid {
    max-width: 1200px;
    margin: -4rem auto 4rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    position: relative;
    z-index: 20;
}



/* Sections */
.section {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.content-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.content-title .material-icons {
    color: var(--primary);
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.highlight-item i {
    color: var(--primary);
    background: rgba(0, 121, 143, 0.1);
    padding: 0.5rem;
    border-radius: 0.75rem;
}

/* Image Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 1rem;
    margin: 2rem 0;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.main-img {
    grid-row: span 2;
}

/* Timeline (Schedule) */
.timeline {
    position: relative;
    padding-left: 3rem;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.day-circle {
    position: absolute;
    left: -3rem;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    z-index: 10;
    box-shadow: 0 0 0 5px var(--bg-white);
}

.timeline-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.timeline-content p {
    color: var(--text-muted);
}

/* Itinerary Accordion Styles */
.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.timeline-item.active .collapsible-content {
    max-height: 2500px;
    /* Increased for mobile wrapping */
    opacity: 1;
    margin-top: 1rem;
    pointer-events: auto;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    /* Increased for touch target */
    margin-top: 0.5rem;
    transition: all 0.2s;
    min-height: 44px;
    /* Standard mobile touch size */
    -webkit-tap-highlight-color: transparent;
}

.read-more-btn:hover {
    color: var(--primary-hover);
}

.read-more-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.timeline-item.active .read-more-btn i {
    transform: rotate(180deg);
}

.route-meta {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Equipment Grid */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}

.equipment-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.equipment-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

/* Sidebar Booking Card */
.sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.booking-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.price-tag {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.price-tag span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.sidebar .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 1.5rem;
}

/* Terms & Conditions Box */
.terms-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    height: 200px;
    overflow-y: scroll;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 1.5rem 0;
    line-height: 1.5;
}

.terms-box h4 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.terms-acceptance {
    background: rgba(0, 121, 143, 0.05);
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 121, 143, 0.1);
    margin-bottom: 1.5rem;
}

.terms-acceptance .checkbox-item {
    font-weight: 700;
    color: var(--secondary);
}

/* Form Styles */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    font-family: inherit;
    font-size: 1rem;
    background: var(--bg-light);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 121, 143, 0.1);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.form-section-title {
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    margin-top: 0.5rem;
}

/* Footer */
footer {
    background: var(--surface-dark);
    color: var(--text-white);
    padding: 6rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    color: #94a3b8;
    margin: 1.5rem 0 2rem;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.footer-socials a {
    color: #94a3b8;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
}

.footer-socials a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 24px;
    height: 24px;
}

.footer-socials .material-icons-round {
    font-size: 26px;
}

.footer-links h4 {
    color: white;
    margin-bottom: 2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 250px);
    }

    .main-img {
        grid-row: auto;
    }
}

@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .sidebar {
        order: -1;
        position: static !important;
        top: auto !important;
    }

    .desktop-only {
        display: none !important;
    }
}