/* Eagle Coy Adventures - Premium Styling */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-main: #0E1513;
    --bg-darker: #090F0E;
    --bg-card: rgba(25, 33, 30, 0.45);
    --border-color: rgba(15, 59, 41, 0.25);
    
    --primary: #0F3B29;
    --primary-light: #254F3B;
    --primary-glow: rgba(15, 59, 41, 0.35);
    
    --accent: #FF7A00;
    --accent-hover: #FF8C00;
    --accent-glow: rgba(255, 122, 0, 0.4);
    
    --text-main: #DDE4E1;
    --text-muted: #9EAEA6;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(15, 59, 41, 0.2);
    
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base resets & theme variables */
body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .display-font {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Selection */
::selection {
    background-color: var(--accent);
    color: #000000;
}

/* --- Navigation & Header --- */
.navbar-custom {
    background: rgba(14, 21, 19, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(15, 59, 41, 0.35);
    padding: 15px 0;
    transition: all 0.3s ease;
    z-index: 1000;
}
.navbar-custom.scrolled {
    padding: 10px 0;
    background: var(--bg-darker);
    border-bottom-color: var(--primary-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #FFFFFF !important;
}
.navbar-brand span {
    color: var(--accent);
}
.nav-link {
    color: var(--text-muted) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    transition: all 0.25s ease;
    border-radius: 6px;
    font-size: 0.95rem;
}
.nav-link:hover, .nav-link.active {
    color: #FFFFFF !important;
    background: rgba(15, 59, 41, 0.25);
}

/* --- Utility Components --- */
.btn-adventure {
    background: var(--accent);
    color: #000000 !important;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.btn-adventure:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--accent-glow);
}
.btn-adventure-outline {
    background: transparent;
    color: #FFFFFF !important;
    border: 2px solid var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.btn-adventure-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.text-gradient {
    background: linear-gradient(135deg, #FFFFFF 30%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-accent-gradient {
    background: linear-gradient(135deg, var(--accent) 0%, #FFB066 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.glass-card:hover {
    border-color: rgba(15, 59, 41, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 15px rgba(15, 59, 41, 0.15);
    transform: translateY(-3px);
}

/* Trek / Event Card Grid styling */
.adventure-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.adventure-card:hover {
    transform: translateY(-5px);
    border-color: rgba(15, 59, 41, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(15, 59, 41, 0.15);
}
.adventure-card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.adventure-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.adventure-card:hover .adventure-card-img {
    transform: scale(1.08);
}
.adventure-card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(7, 9, 8, 0.8);
    backdrop-filter: blur(6px);
    border: 1px solid var(--primary-light);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent) !important;
}
.adventure-card-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--accent);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.adventure-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.adventure-card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.adventure-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
    margin-bottom: 15px;
}
.adventure-card-meta span i {
    color: var(--primary-light);
    margin-right: 5px;
}
.adventure-card-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Section Stylings --- */
.section-padding {
    padding: 100px 0;
}
.bg-darker-section {
    background-color: var(--bg-darker);
}

/* Home Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(11, 14, 13, 0.6), rgba(11, 14, 13, 0.95)), url('https://images.unsplash.com/photo-1501555088652-021faa106b9b?q=80&w=1920') center/cover no-repeat;
    padding-top: 100px;
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Stats Block */
.stats-badge {
    border-left: 3px solid var(--accent);
    padding-left: 15px;
}
.stats-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0;
}
.stats-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Testimonial Card */
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    height: 100%;
}
.testimonial-stars {
    color: var(--accent);
    margin-bottom: 15px;
}
.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

/* --- Call To Action Section --- */
.cta-banner {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg-darker) 100%);
    border: 1px solid var(--primary-light);
    border-radius: 24px;
    padding: 60px;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* --- Detail Pages (Trek & Event) --- */
.detail-header-bg {
    position: relative;
    height: 500px;
    width: 100%;
    background-size: cover !important;
    background-position: center !important;
}
.detail-header-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7, 9, 8, 0.2) 0%, var(--bg-main) 100%);
}
.detail-header-content {
    position: absolute;
    bottom: 50px;
    width: 100%;
}
.detail-badge-difficulty {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 600;
}

/* Custom Nav Tabs */
.custom-nav-tabs {
    border-bottom: 1px solid var(--border-color);
}
.custom-nav-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px !important;
    border-radius: 0 !important;
    border-bottom: 3px solid transparent !important;
}
.custom-nav-tabs .nav-link.active {
    color: var(--accent) !important;
    border-bottom-color: var(--accent) !important;
}

/* Sidebar Info Card */
.sidebar-sticky {
    position: sticky;
    top: 100px;
}
.price-block {
    font-family: var(--font-heading);
}

/* --- Gallery masonry layout --- */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}
@media (max-width: 991px) {
    .gallery-grid {
        column-count: 2;
    }
}
@media (max-width: 575px) {
    .gallery-grid {
        column-count: 1;
    }
}
.gallery-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.05);
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 9, 8, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-title {
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-weight: 600;
    text-align: center;
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}
.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

/* --- Admin Styles --- */
.admin-sidebar {
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    min-height: 100vh;
}
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}
.form-control-custom {
    background-color: #0A0A0A;
    border: 1px solid rgba(15, 59, 41, 0.45);
    color: var(--text-main);
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.2s ease;
}
.form-control-custom:focus {
    background-color: #0A0A0A;
    border-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 0 8px rgba(255, 122, 0, 0.25);
    outline: none;
}
.form-label-custom {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

/* Footer Section */
.footer-main {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
}
.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
}
.footer-link:hover {
    color: var(--accent);
}
