/* EcoCompost Smart - Main CSS */

/* Color Variables */
:root {
    --primary-green: #28a745;
    --primary-green-light: #34ce57;
    --primary-green-dark: #1e7e34;
    --secondary-blue: #17a2b8;
    --secondary-blue-light: #20c997;
    --secondary-blue-dark: #138496;
    --accent-orange: #fd7e14;
    --accent-orange-light: #ff8c42;
    --accent-orange-dark: #e8590c;
    --neutral-gray: #6c757d;
    --neutral-gray-light: #adb5bd;
    --neutral-gray-dark: #495057;
    --background-light: #f8f9fa;
    --background-dark: #343a40;
    --text-dark: #212529;
    --text-light: #ffffff;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.125rem;
    font-weight: 300;
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--background-light) 0%, #e8f5e8 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%2328a745" stroke-width="0.5" opacity="0.1"/></svg>');
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Button Styles */
.btn {
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-width: 2px;
}

.btn-success {
    background: linear-gradient(45deg, var(--primary-green), var(--primary-green-light));
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(45deg, var(--primary-green-dark), var(--primary-green));
    border-color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Service Cards */
.services .card {
    height: 100%;
}

.services .card-body {
    padding: 2rem;
}

.services .card-title {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.services .list-unstyled li {
    padding: 0.25rem 0;
}

.services .list-unstyled i {
    margin-right: 0.5rem;
}

/* Team Section */
.team img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-green-light);
    transition: all 0.3s ease;
}

.team img:hover {
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* Reviews Section */
.reviews .card {
    border-left: 4px solid var(--primary-green);
}

.reviews .fas.fa-star {
    font-size: 1.2rem;
}

/* FAQ Section */
.faq .card {
    border-left: 4px solid var(--secondary-blue);
    margin-bottom: 1rem;
}

.faq .card-title {
    color: var(--primary-green);
    font-size: 1.1rem;
}

/* Gallery Section */
.gallery img {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--background-light) 0%, #f0f8f0 100%);
}

.contact-section .form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.contact-section .form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, #2d3436 100%);
}

footer h5 {
    color: var(--primary-green-light);
    margin-bottom: 1.5rem;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-green-light) !important;
}

/* Pricing Cards */
.priceplan .card {
    position: relative;
    overflow: visible;
}

.priceplan .card.border-success {
    transform: scale(1.05);
    z-index: 2;
}

.priceplan .card.border-success::before {
    content: 'Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Features Section */
.features .fas {
    color: var(--primary-green);
}

/* Process Steps */
.process .badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Utility Classes */
.text-success {
    color: var(--primary-green) !important;
}

.bg-success {
    background-color: var(--primary-green) !important;
}

.border-success {
    border-color: var(--primary-green) !important;
}

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
    border-radius: 15px;
}

/* Icon Styles */
.fas, .far, .fab {
    transition: all 0.3s ease;
}

.text-success .fas:hover,
.text-success .far:hover,
.text-success .fab:hover {
    transform: scale(1.1);
}

/* Breadcrumb */
nav.breadcrumb-nav {
    background-color: var(--background-light);
    border-bottom: 1px solid #dee2e6;
}

/* Additional Page Styles */
.additional-page section {
    scroll-margin-top: 80px;
}

.additional-page .card-body h4 {
    color: var(--primary-green);
}

.additional-page .badge {
    background: linear-gradient(45deg, var(--primary-green), var(--primary-green-light));
}

/* Form Enhancements */
.form-check-input:checked {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid var(--text-dark);
    }
    
    .btn {
        border-width: 3px;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        break-inside: avoid;
    }
} 

.hero-section h1 {
    padding-top: 175px;
}


/* 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;
    }
}
