
/* ===== CSS Variables ===== */
:root {
    /* Colors from reference site */
    --primary-color: #2C5530;       /* Dark green */
    --secondary-color: #D4A96A;     /* Golden brown */
    --accent-color: #8B4513;        /* Brown */
    --light-color: #F8F5F0;         /* Light cream */
    --dark-color: #1A1A1A;          /* Dark text */
    --text-color: #333333;          /* Regular text */
    --light-text: #666666;          /* Light text */
    --border-color: #E0D6C9;        /* Border color */
    --success-color: #4CAF50;       /* Success green */
    --warning-color: #FF9800;       /* Warning orange */
    --danger-color: #F44336;        /* Danger red */
    --info-color: #2196F3;          /* Info blue */
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-round: 50%;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.1);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

body {
    font-family: var(--font-primary);
    line-height: var(--line-height-base);
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== Accessibility ===== */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-sm);
    text-decoration: none;
    z-index: 1001;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== Reading Progress Bar ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}

.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-normal);
}

/* ===== Header & Navigation ===== */
.main-header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all var(--transition-normal);
}

.main-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-tagline {
    font-size: 0.875rem;
    color: var(--light-text);
    font-weight: 400;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    height: 2px;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
}

.btn-contact {
    background: var(--primary-color);
    color: white !important;
    padding: var(--spacing-xs) var(--spacing-lg) !important;
    border-radius: var(--radius-md);
}

.btn-contact:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1000;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-header {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-list {
    list-style: none;
    padding: var(--spacing-md);
}

.mobile-nav-list li {
    margin-bottom: var(--spacing-sm);
}

.mobile-nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-sm);
    display: block;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-nav-list a:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.btn-consultation {
    background: var(--primary-color);
    color: white !important;
    text-align: center;
}

/* ===== Main Content ===== */
main {
    min-height: 60vh;
    padding: var(--spacing-xl) 0;
}

/* ===== Footer ===== */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-title {
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.footer-about p {
    margin-bottom: var(--spacing-sm);
    opacity: 0.9;
}

.footer-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.expertise-tag {
    background: rgba(212, 169, 106, 0.2);
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    border: 1px solid rgba(212, 169, 106, 0.3);
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.newsletter-form {
    margin: var(--spacing-md) 0;
}

.newsletter-form p {
    margin-bottom: var(--spacing-xs);
    opacity: 0.9;
}

.newsletter-form-inner {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.newsletter-form-inner input {
    flex: 1;
    padding: var(--spacing-sm);
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: var(--radius-sm);
}

.newsletter-form-inner input::placeholder {
    color: rgba(255,255,255,0.6);
}

.btn-newsletter {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-newsletter:hover {
    background: white;
    transform: translateY(-2px);
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: var(--radius-round);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright p {
    opacity: 0.8;
    margin-bottom: var(--spacing-xs);
}

.copyright a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-credits p {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-round);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* ===== WhatsApp Floating Button ===== */

     .whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 99;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}
            

       

/* ===== Utility Classes ===== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title h2 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    color: var(--light-text);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        padding: var(--spacing-sm) 0;
    }
    
    .logo-name {
        font-size: 1.25rem;
    }
    
    .logo-tagline {
        font-size: 0.75rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    main {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 1.25rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .main-header,
    .main-footer,
    .back-to-top,
    .whatsapp-float,
    .mobile-menu-toggle {
        display: none;
    }
    
    body {
        color: black;
        background: white;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}
/* ===== MOBILE CLICK FIX - ADD TO END OF style.css ===== */

/* Fix for mobile/tablet screens */
@media (max-width: 992px) {
    /* The mobile overlay is blocking everything - force hide it when not active */
    .mobile-nav-overlay:not(.active) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        z-index: -1 !important;
    }
    
    /* Force mobile nav to be hidden when not active */
    .mobile-nav:not(.active) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        z-index: -1 !important;
    }
    
    /* Make ALL links and buttons clickable */
    a:not(.mobile-nav a), 
    button, 
    .btn, 
    .btn-primary, 
    .btn-secondary, 
    .btn-large,
    .btn-contact,
    .btn-newsletter,
    .btn-consultation,
    .pillar-link,
    .read-more,
    .article-read-more,
    .related-read-more,
    .cluster-item-link,
    .author-link,
    .view-all-link,
    .trek-book-btn,
    .whatsapp-float,
    .back-to-top,
    .footer-links a,
    .social-links a,
    .footer-links li a,
    .copyright a,
    .footer-credits a,
    .pagination a,
    .category-list a,
    .popular-posts a,
    .tag,
    .share-button {
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 9999 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Fix for icons */
    i[class*="fa-"], 
    .fa, 
    .fas, 
    .far, 
    .fab {
        pointer-events: none !important; /* Let parent handle clicks */
    }
    
    /* Fix for footer */
    .main-footer {
        position: relative !important;
        z-index: 1 !important;
    }
    
    .main-footer a,
    .footer-links a,
    .social-links a,
    .copyright a {
        pointer-events: auto !important;
        cursor: pointer !important;
        color: inherit !important;
    }
    
    .footer-links a:hover,
    .social-links a:hover {
        color: var(--secondary-color) !important;
    }
    
    /* Fix for CTA buttons */
    .cta-section a,
    .hero-actions a,
    .pillar-cta a,
    .about-cta a,
    .article-cta a {
        pointer-events: auto !important;
        cursor: pointer !important;
    }
    
    /* Debug - shows clickable areas (remove after fixing) */
    a:active, 
    button:active, 
    .btn:active {
        background-color: rgba(255, 0, 0, 0.2) !important;
    }
}