/* EcoMove Main Styles */

/* CSS Variables - Color Palette */
:root {
    /* Primary Colors - Pastel High-Contrast */
    --eco-green: #4ade80;
    --eco-blue: #3b82f6;
    --eco-yellow: #fbbf24;
    --eco-purple: #a855f7;
    --eco-orange: #fb923c;
    
    /* Light Shades */
    --eco-green-light: #bbf7d0;
    --eco-blue-light: #bfdbfe;
    --eco-yellow-light: #fef3c7;
    --eco-purple-light: #e9d5ff;
    --eco-orange-light: #fed7aa;
    
    /* Dark Shades */
    --eco-green-dark: #166534;
    --eco-blue-dark: #1e40af;
    --eco-yellow-dark: #d97706;
    --eco-purple-dark: #7c2d12;
    --eco-orange-dark: #ea580c;
    
    /* Additional Variables */
    --navbar-height: 76px;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2d3748;
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 600;
    color: var(--eco-green-dark);
}

h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2, .display-5 {
    font-size: 2rem;
    font-weight: 600;
}

h3, h4, h5 {
    font-weight: 600;
}

p, .lead {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Animation Setup - Sal.js */
[data-sal] {
    transition-duration: 0.5s;
    transition-timing-function: ease-out;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    [data-sal] {
        animation: none;
        transition: none;
    }
}

/* Header Styles */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #4a5568;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--eco-green);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--eco-green-light) 0%, var(--eco-blue-light) 100%);
    padding-top: var(--navbar-height);
}

/* Sections */
section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f8fafc !important;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.75rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--eco-green);
    border-color: var(--eco-green);
}

.btn-primary:hover {
    background-color: var(--eco-green-dark);
    border-color: var(--eco-green-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Icons */
.fa-3x {
    font-size: 2.5rem;
}

/* Team Section */
.rounded-circle {
    object-fit: cover;
}

/* Contact Info */
.contact-info {
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-control {
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--eco-green);
    box-shadow: 0 0 0 0.2rem rgba(74, 222, 128, 0.25);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 0.5rem;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Footer - High Contrast Colors Only */
footer {
    background-color: #1a202c;
    color: #ffffff;
}

footer h5, footer h6 {
    color: #ffffff;
}

footer a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--eco-green-light);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* Process Steps */
.process-step {
    width: 60px;
    height: 60px;
    background-color: var(--eco-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Timeline */
.timeline-year {
    color: #718096;
    font-weight: 600;
}

/* Utility Classes */
.text-success {
    color: var(--eco-green) !important;
}

.text-primary {
    color: var(--eco-blue) !important;
}

.text-warning {
    color: var(--eco-yellow) !important;
}

.text-info {
    color: var(--eco-blue-light) !important;
}

.text-danger {
    color: var(--eco-orange) !important;
}

.bg-primary {
    background-color: var(--eco-blue) !important;
}

.bg-success {
    background-color: var(--eco-green) !important;
}

.bg-warning {
    background-color: var(--eco-yellow) !important;
}

.border-primary {
    border-color: var(--eco-blue) !important;
}

.border-success {
    border-color: var(--eco-green) !important;
}

.border-warning {
    border-color: var(--eco-yellow) !important;
}

.border-info {
    border-color: var(--eco-blue-light) !important;
}

.border-danger {
    border-color: var(--eco-orange) !important;
}

/* Custom Grid for Team Section */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Space Page Specific */
#space {
    min-height: calc(100vh - 76px - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--eco-green);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
}

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


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

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

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

.instagram-link:hover {
    background: #d62976;
    border-color: #d62976;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
