/* EcoClean Pro - Main CSS */

/* CSS Variables for Color Palette */
:root {
    --primary-color: #3eaa49;
    --primary-light: #8dc193;
    --primary-dark: #2b902b;
    --secondary-color: #1499f9;
    --secondary-light: #4ab4e1;
    --secondary-dark: #1164d8;
    --accent-color: #f2b81a;
    --accent-light: #ffca58;
    --accent-dark: #efae00;
    --success-color: #4fc051;
    --success-light: #b3d1b1;
    --info-color: #00bcba;
    --info-light: #9fdada;
    --warning-color: #e77203;
    --warning-light: #eddaa6;
    --danger-color: #e43122;
    --danger-light: #f1afb5;
    --light-bg: #F8F9FA;
    --dark-bg: #131417;
    --text-primary: #262626;
    --text-secondary: #545050;
    --border-color: #f8e6e6;
    --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 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;
    }
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Typography - Conservative Sizes */
.navbar-brand {
    font-size: 1.27rem;
    font-weight: 600;
    color: var(--primary-color);
}

h1 {
    font-size: 2.62rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.97rem;
}

h3 {
    font-size: 1.52rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.70rem;
}

h4 {
    font-size: 1.39rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.72rem;
}

h5 {
    font-size: 1.23rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--success-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

/* Cards */
.card {
    border: none;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.19rem;
}

/* Navigation */
.navbar {
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Icon Styling */
.fa-3x {
    font-size: 2.57rem;
}

.text-success {
    color: var(--success-color);
}

.text-primary {
    color: var(--primary-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--info-color);
}

.text-danger {
    color: var(--danger-color);
}

/* Forms */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(85, 194, 105, 0.25);
}

.form-select {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(89, 193, 91, 0.25);
}

/* Contact Info */
.contact-info h5 {
    color: var(--text-primary);
    margin-bottom: 0.63rem;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 1.64rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
}

footer h5 {
    color: #ffffff;
    margin-bottom: 1rem;
}

footer p {
    color: #ded1d0;
    margin-bottom: 0.57rem;
}

footer a {
    color: #c1c1c1;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-light);
}

/* Team Section */
.team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

/* Gallery */
#gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Process Steps */
.rounded-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Breadcrumb */
.breadcrumb-icon {
    width: 24px;
    height: 24px;
    opacity: 0.7;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-light);
}

.shadow {
    box-shadow: var(--shadow-medium);
}

.shadow-lg {
    box-shadow: var(--shadow-heavy);
}

/* Space Page Specific */
#space {
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
    color: white;
}

#space h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Text Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.81rem;
    }
    
    h3 {
        font-size: 1.26rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .navbar-brand {
        font-size: 1.17rem;
    }
}

/* Animation Support */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Eco-friendly accent elements */
.eco-accent {
    position: relative;
}

.eco-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 2px;
}

/* Price styling */
.fw-bold {
    font-weight: 600;
    color: var(--primary-color);
}

/* List styling */
ul li {
    margin-bottom: 0.47rem;
    color: var(--text-secondary);
}

/* Ensure consistent spacing */
.mb-4 {
    margin-bottom: 1.63rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding: 3rem 0;
} 

.hero-section h1 {
    padding-top: 225px;
}


/* 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;
}

.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;
    }
}
