/* Smart Irrigation System Template - Main Styles */
/* Bootstrap 5 Compatible - No Overrides */

:root {
    /* Primary Color Palette - Pastel High Contrast */
    --primary-green: #4CAF50;
    --primary-blue: #2196F3;
    --primary-earth: #8D6E63;
    --primary-water: #00BCD4;
    --primary-sun: #FFC107;
    
    /* Light/Dark Shades */
    --light-green: #C8E6C9;
    --dark-green: #2E7D32;
    --light-blue: #BBDEFB;
    --dark-blue: #0D47A1;
    --light-earth: #D7CCC8;
    --dark-earth: #5D4037;
    --light-water: #B2EBF2;
    --dark-water: #00695C;
    --light-sun: #FFF9C4;
    --dark-sun: #F57F17;
    
    /* Typography */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-h1: 2.2rem;
    --font-size-h2: 1.8rem;
    --font-size-h3: 1.5rem;
    --font-size-navbar-brand: 1.4rem;
    
    /* Spacing */
    --section-padding: 4rem 0;
    --section-padding-small: 2rem 0;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Conservative Typography */
h1 {
    font-size: var(--font-size-h1);
    font-weight: 600;
    color: var(--primary-green);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 500;
    color: var(--primary-blue);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 500;
    color: var(--primary-earth);
}

.navbar-brand {
    font-size: var(--font-size-navbar-brand);
    font-weight: 600;
    color: var(--primary-green);
}

/* Section Styling */
.section-padding {
    padding: var(--section-padding);
}

.section-padding-small {
    padding: var(--section-padding-small);
}

/* Hero Section */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-decorative {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--light-water);
    opacity: 0.3;
    z-index: 1;
}

.hero-decorative:nth-child(1) {
    top: 10%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.hero-decorative:nth-child(2) {
    bottom: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

/* Services Cards */
.service-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Review Cards */
.review-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 1.5rem;
    height: 100%;
}

/* FAQ Cards */
.faq-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.faq-question {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #666;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
}

/* Footer */
#footer {
    background: var(--dark-green);
    color: white;
    padding: 3rem 0 1rem;
}

#footer a {
    color: var(--light-green);
    text-decoration: none;
}

#footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
    
    .hero-decorative {
        animation: none;
    }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Process Steps */
.process-step {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 2rem;
    text-align: center;
    position: relative;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
} 


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
