@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    /* Black and White Color Palette */
    --bg-main: #000000;
    --bg-surface: #111111;
    --bg-surface-light: #222222;
    --accent-primary: #FFFFFF; /* Pure White */
    --accent-secondary: #CCCCCC; /* Light Gray */
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --text-muted: #888888;
    
    /* Layout */
    --border-radius-lg: 32px;
    --border-radius-md: 20px;
    --border-radius-sm: 12px;
    --section-padding: 100px;
    --glass-background: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.8);
    --shadow-accent: 0 0 40px rgba(255, 255, 255, 0.05);
}

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

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    animation: fadeInUp 1s forwards;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
}

/* Reusable Components */

/* Glassmorphism Card */
.glass-card {
    background: rgba(40, 40, 40, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-premium), var(--shadow-accent);
}

.glass-card:active {
    transform: scale(0.98) translateY(-8px);
}

/* Primary Button */
.btn-primary {
    background-color: var(--accent-primary);
    color: #121212;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #444444;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: #FFFFFF;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), var(--shadow-accent);
}

.btn-primary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.95);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    padding: 1.1rem 3rem;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.btn-secondary:active {
    transform: scale(0.96);
}

/* Section Title */
.section-title-custom, .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 5rem; /* Increased spacing */
    color: var(--text-primary);
    width: 100%;
}

.section-tag {
    color: var(--text-primary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 0.8rem;
    display: block;
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 2rem;
}

/* Utility for high radius images */
.rounded-img {
    border-radius: var(--border-radius-lg);
    object-fit: cover;
}

/* Navigation Overrides */
.header-custom {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Specific Trek Card Layout */
.trek-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.trek-card-custom {
    background: var(--bg-surface);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.trek-card-custom:hover {
    transform: translateY(-15px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-premium), var(--shadow-accent);
}

.trek-card-custom:active {
    transform: scale(0.98) translateY(-10px);
}

.trek-card-custom img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trek-card-custom:hover img {
    transform: scale(1.1);
}

.trek-card-content {
    padding: 2rem;
}

.trek-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.trek-card-price {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Legacy Mapping for Quick Migration */
.trek-card, .blog-card, .review-card, .story-section, .value-card, .team-member {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.trek-card:hover, .blog-card:hover, .review-card:hover, .story-section:hover, .value-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-premium);
}

.more-info, .trip-btn, .blog-read-more {
    background-color: var(--accent-primary);
    color: #121212 !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.search-button, .gallery-arrow, .blogs-arrow, .reviews-arrow {
    background-color: var(--accent-primary);
    color: #121212 !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.search-button svg, .gallery-arrow svg, .blogs-arrow svg, .reviews-arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.search-form {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px 5px 5px 20px;
    gap: 10px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-form:focus-within {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-accent);
}

.search-input {
    background: transparent !important;
    border: none !important;
    color: white !important;
    outline: none !important;
    width: 100%;
    font-family: 'Inter', sans-serif;
}

.search-button:hover, .gallery-arrow:hover, .blogs-arrow:hover, .reviews-arrow:hover {
    background-color: #FFFFFF;
    transform: scale(1.1);
}

.more-info:hover, .trip-btn:hover, .search-button:hover, .blog-read-more:hover {
    background-color: #FFFFFF;
    transform: scale(1.05);
}

.more-info:active, .trip-btn:active, .blog-read-more:active {
    transform: scale(0.95);
}

/* Monochromatic Sweep for badges and labels */
[class*="badge"], [class*="tag"], [class*="price"], .most-popular, .best-for-beginners, .family-friendly {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.rating-stars, .star, [class*="rating"] {
    color: #FFFFFF !important;
}
