/* EcoFest - Main Stylesheet */
:root {
    /* Primary Color Palette - 5 colors with light/dark shades */
    --color-primary: #2d7dd2;
    --color-primary-light: #5ba3e8;
    --color-primary-dark: #1e5a9c;
    
    --color-success: #28a745;
    --color-success-light: #5cb85c;
    --color-success-dark: #1e7e34;
    
    --color-info: #17a2b8;
    --color-info-light: #46b8ce;
    --color-info-dark: #117a8b;
    
    --color-warning: #ffc107;
    --color-warning-light: #ffcd39;
    --color-warning-dark: #e0a800;
    
    --color-danger: #dc3545;
    --color-danger-light: #e57373;
    --color-danger-dark: #c82333;
    
    /* Additional shades */
    --color-light: #f8f9fa;
    --color-dark: #343a40;
    --color-muted: #6c757d;
}

/* Global Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.25rem;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.75rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.1rem;
}

p {
    font-size: 1rem;
}

.lead {
    font-size: 1.1rem;
}

/* Header Styles */
#header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--color-light) 0%, #e3f2fd 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    opacity: 0.1;
    border-radius: 50% 30% 70% 40%;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: var(--color-success);
    opacity: 0.1;
    border-radius: 40% 60% 50% 80%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

#hero .container {
    position: relative;
    z-index: 2;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Team Section */
#team .card-img-top {
    transition: transform 0.3s ease;
}

#team .card:hover .card-img-top {
    transform: scale(1.05);
}

/* Gallery Section */
#gallery img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(45, 125, 210, 0.25);
}

/* Footer */
#footer {
    background: var(--color-dark);
}

#footer a {
    transition: color 0.2s ease;
}

#footer a:hover {
    color: var(--color-primary-light);
}

/* Utility Classes */
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-success); }
.text-info { color: var(--color-info); }
.text-warning { color: var(--color-warning); }
.text-danger { color: var(--color-danger); }

.bg-primary { background-color: var(--color-primary); }
.bg-success { background-color: var(--color-success); }
.bg-info { background-color: var(--color-info); }
.bg-warning { background-color: var(--color-warning); }
.bg-danger { background-color: var(--color-danger); }

/* Border Colors */
.border-primary { border-color: var(--color-primary); }
.border-success { border-color: var(--color-success); }
.border-info { border-color: var(--color-info); }
.border-warning { border-color: var(--color-warning); }
.border-danger { border-color: var(--color-danger); }

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-shapes {
        display: none;
    }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom Badge Styles */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
}

/* Timeline Cards */
.border-start {
    border-width: 4px;
}

/* Process Steps */
#process .bg-primary {
    font-size: 1.5rem;
}

/* Services Grid */
#services .card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Team Images */
#team .card-img-top {
    object-fit: cover;
    border: 3px solid var(--color-light);
}

/* Breadcrumb */
.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: grayscale(50%);
    transition: filter 0.2s ease;
}

.breadcrumb-item:hover img {
    filter: grayscale(0%);
} 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
