/* ================================
   EcoCamp Gear - Main CSS
   Eco-Friendly Camping Gear Rentals
   Bootstrap 5 Compliant Styles
   ================================ */

/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-green: #2d5016;
    --primary-forest: #4a7c59;
    --primary-sage: #87a96b;
    --primary-mint: #b8d4a8;
    --primary-cream: #f4f7f0;
    
    /* Secondary Colors */
    --secondary-earth: #8b5a3c;
    --secondary-stone: #7d8471;
    --secondary-water: #5b9bd5;
    
    /* Neutral Colors */
    --neutral-dark: #2c3e50;
    --neutral-medium: #5a6c7d;
    --neutral-light: #ecf0f1;
    --white: #ffffff;
    
    /* Status Colors */
    --success: var(--primary-forest);
    --info: var(--secondary-water);
    --warning: #f39c12;
    --danger: #e74c3c;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-secondary: 'Merriweather', Georgia, serif;
    
    /* Spacing */
    --section-padding: 5rem 0;
    --element-padding: 2rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--neutral-dark);
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
}

/* Respect Motion Preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.3;
    color: var(--neutral-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.25rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary-forest);
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--neutral-medium);
}

/* Header & Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-green);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--neutral-dark);
    transition: var(--transition-base);
    padding: 0.75rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-forest);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-cream) 0%, var(--primary-mint) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(141, 169, 107, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 0.875rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-forest);
    border-color: var(--primary-forest);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(77, 124, 89, 0.3);
}

.btn-outline-primary {
    color: var(--primary-forest);
    border-color: var(--primary-forest);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-forest);
    border-color: var(--primary-forest);
    color: var(--white);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition-base);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Feature Box Styles */
.feature-box {
    padding: 2rem;
    border-radius: 15px;
    transition: var(--transition-base);
    height: 100%;
}

.feature-box:hover {
    background-color: var(--primary-cream);
    transform: translateY(-3px);
}

.feature-box i {
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.feature-box:hover i {
    transform: scale(1.1);
    color: var(--primary-forest);
}

/* Process Numbers */
.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-forest), var(--primary-sage));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 15px rgba(77, 124, 89, 0.3);
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding: 2rem;
}

.timeline-year {
    background: var(--primary-forest);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Impact Numbers */
.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-forest);
    margin-bottom: 1rem;
    display: block;
}

/* Principle Numbers */
.principle-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-forest);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-top: 0.25rem;
}

/* Goal Items */
.goal-item {
    padding: 2rem;
    border-left: 4px solid var(--primary-forest);
    margin-bottom: 2rem;
    background-color: var(--primary-cream);
    border-radius: 0 15px 15px 0;
}

.goal-year {
    background: var(--primary-forest);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 700;
    font-size: 0.875rem;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Form Styles */
.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-control:focus {
    border-color: var(--primary-forest);
    box-shadow: 0 0 0 0.2rem rgba(77, 124, 89, 0.25);
}

/* Background Sections */
.bg-light {
    background-color: var(--primary-cream);
}

/* Footer */
#footer {
    background-color: var(--neutral-dark);
}

#footer h5, #footer h6 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

#footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: var(--transition-base);
}

#footer a:hover {
    color: var(--primary-sage);
}

#footer .social-links i {
    cursor: pointer;
    transition: var(--transition-base);
}

#footer .social-links i:hover {
    transform: translateY(-3px);
}

/* Breadcrumbs */
.breadcrumbs {
    padding-top: 120px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-forest);
}

.bg-primary {
    background-color: var(--primary-forest);
}

.border-primary {
    border-color: var(--primary-forest);
}

/* Badge Styles */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
}

.badge.bg-success {
    background-color: var(--success);
}

.badge.bg-warning {
    background-color: var(--warning);
}

/* List Styles */
ul li {
    margin-bottom: 0.5rem;
}

ul li i {
    margin-right: 0.5rem;
}

/* Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Animation Support */
.sal-animate {
    transition: var(--transition-smooth);
}

/* Ensure no Bootstrap overrides */
.container,
.row,
[class*="col-"] {
    /* Bootstrap grid system used as-is */
}

/* Custom spacing for sections */
section {
    padding: var(--section-padding);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    border-radius: 10px;
}

/* Team Member Images */
.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 0 auto;
}

/* Contact Info Styles */
.contact-info {
    text-align: center;
}

.contact-info i {
    color: var(--primary-forest);
}

/* Services Card List */
.card-body ul {
    padding-left: 0;
    list-style: none;
}

.card-body ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.card-body ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-forest);
    font-weight: bold;
}

/* Gallery Styles */
#gallery img {
    transition: var(--transition-base);
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Mobile-specific styles for no animations */
@media (max-width: 768px) {
    /* Disable hover effects on mobile */
    .card:hover,
    .feature-box:hover,
    #gallery img:hover {
        transform: none;
    }
    
    /* Ensure animations are disabled on mobile */
    .sal-animate {
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}


.hero-section h1 {
    padding-top: 150px;
}


/* Team Social Links - Gradient Style */
.team-social-links {
    margin-top: 20px;
    padding: 18px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    border-radius: 20px;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.social-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: inherit;
    border-radius: inherit;
    z-index: -1;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.linkedin-link {
    background: linear-gradient(135deg, #2196f3 0%, #21cbf3 100%);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #21cbf3 0%, #2196f3 100%);
}

.instagram-link {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.instagram-link:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
}

.x-link {
    background: linear-gradient(135deg, #232526 0%, #414345 100%);
    position: relative;
}

.x-link::after {
    content: '✦';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: linear-gradient(135deg, #414345 0%, #232526 100%);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
