/* Shared styles for all Shan Travels pages */
:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --secondary: #F59E0B;
    --secondary-dark: #D97706;
    --secondary-light: #FBBF24;
    --accent: #10B981;
    --accent-dark: #059669;
    --dark: #111827;
    --dark-light: #1F2937;
    --light: #F9FAFB;
    --light-gray: #F3F4F6;
    --gray: #6B7280;
    --gray-dark: #4B5563;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    
    /* Enhanced gradients */
    --gradient-primary: linear-gradient(135deg, #2563EB 0%, #1D4ED8 50%, #1E40AF 100%);
    --gradient-secondary: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%);
    --gradient-accent: linear-gradient(135deg, #10B981 0%, #059669 50%, #047857 100%);
    --gradient-hero: linear-gradient(135deg, #1E40AF 0%, #2563EB 25%, #3B82F6 50%, #60A5FA 100%);
    
    /* Advanced shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Modern spacing scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Typography scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    
    /* Transition timings */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
    
    /* Dynamic font scaling based on viewport */
    @media (max-width: 1200px) {
        font-size: calc(14px + 0.2vw);
    }
    
    @media (max-width: 768px) {
        font-size: calc(13px + 0.5vw);
    }
    
    @media (max-width: 480px) {
        font-size: calc(12px + 0.8vw);
    }
}

body {
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 20px);
}

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--border-light);
}

.top-bar {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: white;
    padding: var(--space-sm) 0;
    font-size: var(--text-sm);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
}

.contact-info i {
    color: var(--secondary);
    font-size: var(--text-sm);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    color: white;
    background: var(--secondary);
    transform: translateY(-2px);
}

.main-header {
    display: flex;
    align-items: center;
    padding: var(--space-lg) 0;
    gap: var(--space-2xl);
    position: relative;
}

/* Navigation Styles */

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.search-trigger {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    transition: all var(--transition-normal);
}

.search-trigger:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--space-2xl);
    margin-left: auto;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
    padding: var(--space-md) var(--space-lg);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(37, 99, 235, 0.05);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
    transform-origin: left;
}

.nav-menu a:hover::before {
    transform: scaleX(1);
}

.nav-menu a:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.nav-menu .active a {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.1);
    box-shadow: inset 0 2px 4px rgba(37, 99, 235, 0.1);
}

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-lg) 0;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.breadcrumb-current {
    color: white;
    font-weight: 600;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--gradient-hero));
    color: white;
    padding: var(--space-5xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header h1 {
    font-size: var(--text-5xl);
    font-weight: 900;
    margin-bottom: var(--space-lg);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: var(--text-xl);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Content Sections */
.content-section {
    padding: var(--space-5xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section-header h2 {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--space-lg);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.card-header {
    padding: var(--space-xl);
    background: var(--gradient-primary);
    color: white;
}

.card-body {
    padding: var(--space-xl);
}

.card-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.card-text {
    color: var(--gray);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--text-lg);
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-back {
    background: var(--gradient-secondary);
    color: white;
    margin-bottom: var(--space-xl);
}

.btn-back:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: var(--space-4xl) 0 var(--space-xl);
    margin-top: var(--space-5xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-column h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-links a:hover {
    color: white;
}

.contact-info-footer {
    list-style: none;
}

.contact-info-footer li {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.contact-info-footer i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
}

.contact-info-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.contact-info-footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-dark);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    /* Tablet landscape adjustments */
    .container {
        padding: 0 var(--space-lg);
    }
    
    .main-header {
        gap: var(--space-lg);
    }
    
    .nav-menu {
        gap: var(--space-lg);
    }
    
    .nav-menu a {
        font-size: clamp(14px, 2vw, 16px);
        padding: var(--space-sm) var(--space-md);
    }
}

@media (max-width: 768px) {
    /* Tablet and mobile devices */
    .container {
        padding: 0 clamp(12px, 3vw, 20px);
    }
    
    /* Hide desktop navigation */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(17, 24, 39, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 999;
        gap: clamp(16px, 4vh, 32px);
        padding: var(--space-2xl);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu a {
        color: white;
        font-size: clamp(18px, 4vw, 24px);
        padding: clamp(12px, 2vh, 20px);
        width: 100%;
        text-align: center;
    }
    
    /* Show mobile menu button */
    .mobile-menu-btn {
        display: block;
        z-index: 1000;
        font-size: clamp(20px, 4vw, 24px);
        padding: clamp(8px, 2vw, 12px);
    }
    
    /* Hide header actions on mobile */
    .header-actions {
        display: none;
    }
    
    /* Make header more compact and flexible */
    .main-header {
        padding: clamp(8px, 2vh, 16px) 0;
        gap: clamp(8px, 2vw, 16px);
        flex-wrap: wrap;
    }
    
    /* Adjust top bar for mobile */
    .top-bar {
        display: none;
    }
    
    /* Dynamic logo sizing */
    .site-logo {
        height: clamp(35px, 8vw, 45px) !important;
        width: clamp(35px, 8vw, 45px) !important;
        max-width: clamp(35px, 8vw, 45px) !important;
    }
    
    .logo-text-main {
        font-size: clamp(1rem, 3.5vw, 1.35rem) !important;
    }
    
    .logo-link {
        gap: clamp(6px, 1.5vw, 10px);
    }
    
    /* Responsive typography with fluid scaling */
    .page-header h1 {
        font-size: clamp(1.75rem, 5vw, 3rem);
        line-height: 1.2;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 4vw, 2.25rem);
        line-height: 1.3;
    }
    
    /* Grid adjustments */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: clamp(16px, 4vw, 24px);
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: clamp(24px, 5vw, 32px);
    }
    
    /* Dynamic button sizing - simplified for mobile */
    .consultation-btn {
        padding: clamp(10px, 2.5vw, 14px) clamp(20px, 5vw, 28px) !important;
        font-size: clamp(13px, 3vw, 15px) !important;
        min-width: auto !important;
        max-width: 200px;
        gap: clamp(6px, 1.5vw, 8px);
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap;
    }
    
    .consultation-btn .btn-text {
        font-weight: 600 !important;
        font-size: clamp(13px, 3vw, 15px) !important;
        line-height: 1 !important;
    }
    
    .consultation-btn i {
        font-size: clamp(14px, 3vw, 16px) !important;
        margin: 0 !important;
    }
    
    .consultation-btn .sparkle {
        font-size: clamp(12px, 2.5vw, 14px) !important;
    }
    
    .consultation-btn strong,
    .consultation-btn small {
        display: none; /* Hide nested text elements */
    }
}

@media (max-width: 480px) {
    /* Small mobile devices - even more compact */
    .container {
        padding: 0 clamp(10px, 2.5vw, 16px);
    }
    
    .site-logo {
        height: clamp(32px, 7vw, 38px) !important;
        width: clamp(32px, 7vw, 38px) !important;
        max-width: clamp(32px, 7vw, 38px) !important;
    }
    
    .logo-text-main {
        font-size: clamp(0.9rem, 3vw, 1.15rem) !important;
    }
    
    .main-header {
        padding: clamp(6px, 1.5vh, 12px) 0;
    }
    
    .page-header {
        padding: clamp(32px, 8vh, 48px) 0;
    }
    
    .content-section {
        padding: clamp(32px, 8vh, 48px) 0;
    }
    
    .consultation-btn {
        padding: clamp(10px, 2.5vw, 14px) clamp(20px, 5vw, 28px);
        font-size: clamp(13px, 2.8vw, 15px);
        min-width: clamp(160px, 35vw, 200px);
        flex-direction: column;
        text-align: center;
    }
    
    .nav-menu a {
        font-size: clamp(16px, 3.5vw, 20px);
    }
}

@media (max-width: 360px) {
    /* Extra small devices - ultra compact */
    .site-logo {
        height: clamp(28px, 6vw, 32px) !important;
        width: clamp(28px, 6vw, 32px) !important;
        max-width: clamp(28px, 6vw, 32px) !important;
    }
    
    .logo-text-main {
        font-size: clamp(0.85rem, 2.8vw, 1rem) !important;
    }
    
    .consultation-btn {
        width: 100%;
        min-width: auto;
    }
}