/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff5722;
    --secondary-color: #ffc107;
    --accent-color: #2196f3;
    --dark-color: #212121;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333;
    --text-light: #666;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, #ff5722 0%, #ff9800 100%);
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* Global link styles - red/brownish color */
a {
    color: #a0522d;
    text-decoration: none;
}

a:hover {
    color: #8b4513;
}

a:visited {
    color: #a0522d;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.transparent {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 2px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgb(250, 48, 48);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-icon {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item.has-mega-menu:hover .dropdown-icon {
    transform: rotate(180deg);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: calc(100% + 3vh);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 600px;
    max-width: 90vw;
    z-index: 1000;
    overflow: hidden;
}

.nav-item.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 2.5vh);
}

.mega-menu-container {
    padding: 20px;
    width: 80vw;
    max-width: 80vw;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
}

.mega-menu-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.mega-menu-column h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mega-menu-list a:hover {
    background: #f8f8f8;
    color: var(--primary-color);
    padding-left: 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.header.transparent .mobile-menu-btn span {
    background: white;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ============================================
   TOPBAR (LEGACY - Keep for backward compatibility)
   ============================================ */
.topbar {
    position: sticky;
    top: 0;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0.75rem 0;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn-book {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-book:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-book::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
    height: 40vh;
    min-height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(37, 99, 235, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-cta {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    background-color: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

/* ============================================
   MAIN CONTENT GRID
   ============================================ */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 75% 25%;
    gap: 2.5rem;
    align-items: start;
}

/* Left Column - Tour Description */
.tour-description {
    background-color: var(--bg-white);
}

.tour-description h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    font-weight: 800;
}

.tour-description h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tour-description h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 0.875rem;
    font-weight: 600;
}

.tour-description p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* Right Column - Contact Box */
.contact-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 100px;
}

.contact-box h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-white);
    border-radius: 8px;
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.contact-item h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.booking-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.booking-info h3 {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.booking-info p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.contact-cta {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet - 1024px */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 70% 30%;
        gap: 2rem;
    }
    
    .contact-box {
        padding: 1.5rem;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    .topbar-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-white);
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Stack grid to single column */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-box {
        position: static;
        order: 1;
    }
    
    .main-content {
        padding: 3rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .brand {
        font-size: 1.25rem;
    }
    
    .hero-banner {
        min-height: 250px;
    }
    
    .hero-cta {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .main-content {
        padding: 2rem 1rem;
    }
    
    .contact-box {
        padding: 1.25rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-section {
        padding: 3rem 0;
    }
}

/* Small Mobile - 360px */
@media (max-width: 360px) {
    .topbar-container {
        padding: 0 0.75rem;
    }
    
    .brand {
        font-size: 1.125rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 1.5rem 0.75rem;
    }
    
    .contact-box {
        padding: 1rem;
    }
}

/* Print Styles */
/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 968px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link {
        color: #333;
        padding: 15px 20px;
        width: 100%;
        justify-content: space-between;
    }

    .nav-link::after {
        display: none;
    }

    /* Mobile Mega Menu */
    .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
        max-width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .nav-item.has-mega-menu.active .mega-menu {
        max-height: 1000px;
    }

    .nav-item.has-mega-menu:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        top: auto;
    }

    .mega-menu-container {
        padding: 15px 20px;
        max-height: none;
        background: #f9f9f9;
        width: 100%;
        max-width: 100%;
    }

    .mega-menu-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mega-menu-column h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .mega-menu-list a {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

@media print {
    .topbar,
    .hero-banner,
    .gallery-section,
    .footer {
        display: none;
    }
    
    .main-content {
        max-width: 100%;
        padding: 0;
    }
    
    .content-grid {
        display: block;
    }
    
    .contact-box {
        page-break-before: always;
    }
}
