/* EcoStore - Main CSS */

:root {
    /* Primary Colors - Pastel High-Contrast */
    --color-primary: #2d5a27;      /* Deep Forest Green */
    --color-secondary: #7cb342;    /* Fresh Lime Green */
    --color-accent: #4caf50;       /* Material Green */
    --color-neutral: #81c784;      /* Light Green */
    --color-highlight: #a5d6a7;    /* Pale Green */
    
    /* Light/Dark Shades */
    --color-light: #e8f5e8;        /* Very Light Green */
    --color-dark: #1b3b15;         /* Very Dark Green */
    --color-white: #ffffff;
    --color-gray-light: #f8f9fa;
    --color-gray-medium: #6c757d;
    --color-gray-dark: #343a40;
    
    /* Typography */
    --font-size-base: 1rem;
    --font-size-small: 0.875rem;
    --font-size-large: 1.125rem;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

/* Respect reduced 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;
    }
}

/* Base Typography */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-gray-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Conservative font sizes */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
}

h1, .display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

h2, .h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 500;
}

h6, .h6 {
    font-size: 1rem;
    font-weight: 500;
}

p.lead {
    font-size: var(--font-size-large);
    font-weight: 400;
    color: var(--color-gray-medium);
}

/* Header Styles */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(45, 90, 39, 0.1);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--color-gray-dark);
    transition: color 0.3s ease;
}

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

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(124, 179, 66, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 1;
}

/* Button Styles */
.btn-success {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-outline-success {
    color: var(--color-accent);
    border-color: var(--color-accent);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    border: 1px solid rgba(45, 90, 39, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 90, 39, 0.15);
}

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

/* Services Section */
#services .card-title {
    color: var(--color-primary);
}

#services .card-text {
    color: var(--color-gray-medium);
}

#services .list-unstyled li {
    padding: 0.25rem 0;
    font-size: var(--font-size-small);
}

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

.fa-2x {
    font-size: 1.75rem;
}

.text-success {
    color: var(--color-accent);
}

/* Form Styles */
.form-control {
    border: 2px solid rgba(45, 90, 39, 0.1);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

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

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

/* Team Section */
#team img {
    border: 3px solid var(--color-highlight);
    transition: all 0.3s ease;
}

#team img:hover {
    border-color: var(--color-accent);
    transform: scale(1.1);
}

/* Pricing Cards */
.border-success {
    border-color: var(--color-accent);
}

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

.text-success {
    color: var(--color-accent);
}

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

#footer h5, #footer h6 {
    color: var(--color-highlight);
    margin-bottom: var(--spacing-sm);
}

#footer a {
    transition: color 0.3s ease;
}

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

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Badge Styles */
.badge.bg-success {
    background-color: var(--color-accent);
}

.badge.bg-light {
    background-color: var(--color-white);
    color: var(--color-primary);
}

/* Process Steps */
.rounded-circle {
    background-color: var(--color-accent);
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    margin-bottom: var(--spacing-sm);
}

/* Animations for ScrollReveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(45, 90, 39, 0.1);
}

.shadow {
    box-shadow: 0 4px 8px rgba(45, 90, 39, 0.15);
}

/* Contact Info Styles */
#contacts .card {
    background-color: var(--color-light);
    border: none;
}

#contacts .fa {
    width: 20px;
    text-align: center;
}

/* FAQ Cards */
#faq .card-title {
    color: var(--color-primary);
    font-size: 1.1rem;
}

#faq .card-text {
    color: var(--color-gray-medium);
    line-height: 1.6;
}

/* Blog Section */
#Blog .card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Star Ratings */
.fa-star.text-warning {
    color: #ffc107;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    h1, .display-4 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    .hero-decoration {
        display: none;
    }
    
    #hero {
        min-height: 80vh;
    }
    
    .card:hover {
        transform: none;
    }
    
    #team img:hover {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
} 


/* 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;
    }
}
