/* EcoTech Template - Main CSS */

/* Color Variables */
:root {
    --eco-primary: #4CAF50;
    --eco-primary-light: #81C784;
    --eco-primary-dark: #2E7D32;
    
    --eco-secondary: #2196F3;
    --eco-secondary-light: #64B5F6;
    --eco-secondary-dark: #1565C0;
    
    --eco-success: #8BC34A;
    --eco-success-light: #AED581;
    --eco-success-dark: #689F38;
    
    --eco-warning: #FF9800;
    --eco-warning-light: #FFB74D;
    --eco-warning-dark: #F57C00;
    
    --eco-info: #00BCD4;
    --eco-info-light: #4DD0E1;
    --eco-info-dark: #0097A7;
    
    --eco-neutral-light: #F5F5F5;
    --eco-neutral: #9E9E9E;
    --eco-neutral-dark: #424242;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding-top: 80px;
    overflow-x: hidden;
}

@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;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--eco-primary) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--eco-primary) !important;
}

.navbar-nav .nav-link.active {
    color: var(--eco-primary) !important;
    font-weight: 600;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--eco-neutral-light) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.shape-blob-1 {
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: var(--eco-primary-light);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.1;
    z-index: 1;
}

.shape-blob-2 {
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: var(--eco-secondary-light);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    opacity: 0.1;
    z-index: 1;
}

/* Buttons */
.btn-primary {
    background-color: var(--eco-primary);
    border-color: var(--eco-primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--eco-primary-dark);
    border-color: var(--eco-primary-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Cards */
.card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Icons */
.fas, .far {
    color: inherit;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Background Sections */
.bg-light {
    background-color: var(--eco-neutral-light) !important;
}

/* Text Colors */
.text-success {
    color: var(--eco-success) !important;
}

.text-primary {
    color: var(--eco-primary) !important;
}

.text-warning {
    color: var(--eco-warning) !important;
}

.text-info {
    color: var(--eco-info) !important;
}

.text-secondary {
    color: var(--eco-secondary) !important;
}

/* Forms */
.form-control {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--eco-primary);
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}

/* Footer */
#footer {
    background-color: #1a1a1a !important;
}

#footer h5 {
    color: var(--eco-primary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

#footer .text-muted {
    color: #ccc !important;
}

#footer a.text-muted:hover {
    color: var(--eco-primary-light) !important;
}

/* Gallery */
.gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumb {
    background-color: transparent;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: filter 0.3s ease;
}

.breadcrumb-item img:hover {
    filter: opacity(1);
}

/* Team Images */
.rounded-circle {
    object-fit: cover;
}

/* Price Cards */
.border-primary {
    border-color: var(--eco-primary) !important;
    border-width: 2px !important;
}

.bg-primary {
    background-color: var(--eco-primary) !important;
}

/* Animations - Conservative */
@media (prefers-reduced-motion: no-preference) {
    .card,
    .btn,
    .form-control,
    .navbar-nav .nav-link {
        transition: all 0.3s ease;
    }
    
    .hero-shapes .shape-blob-1,
    .hero-shapes .shape-blob-2 {
        animation: float 6s ease-in-out infinite alternate;
    }
    
    .shape-blob-1 {
        animation-delay: 0s;
    }
    
    .shape-blob-2 {
        animation-delay: 3s;
    }
}

@keyframes float {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-20px);
    }
}

/* Custom Utilities */
.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.rounded-3 {
    border-radius: 12px !important;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Star Ratings */
.text-warning {
    color: #ffc107 !important;
}

/* Custom Badge */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
} 


/* 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;
    }
}
