/* AquaHarvest - Rainwater Harvesting Systems */
/* Main CSS - Bootstrap 5 Compatible */

:root {
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-light: #34d399;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --neutral-color: #6b7280;
    --neutral-light: #9ca3af;
    --neutral-dark: #374151;
    --light-bg: #f8fafc;
    --dark-bg: #1e293b;
}

/* Base Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
}

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

h4, h5, h6 {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--neutral-color);
}

/* Header Styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background-color: rgba(248, 250, 252, 0.95) !important;
    backdrop-filter: blur(10px);
}

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

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

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

#hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
}

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

#hero h1 {
    color: var(--primary-dark);
}

#hero h2 {
    color: var(--secondary-color);
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

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

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

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Section Styles */
.py-5 {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--light-bg) !important;
}

/* Icon Styles */
.fa-2x {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.fa-3x {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

/* Team Section */
.rounded-circle {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--light-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Process Section Circles */
.bg-primary.rounded-circle {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

footer h5, footer h6 {
    color: var(--accent-light);
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-light) !important;
    text-decoration: none;
}

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

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

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

/* Responsive Design Considerations */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile-specific styles */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .py-5 {
        padding: 2.5rem 0;
    }
    
    .card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    #hero {
        min-height: 100vh;
        padding-top: 5rem;
    }
}

/* Additional utility classes */
.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.border-success {
    border-color: var(--secondary-color) !important;
}

/* Hero decorative shapes */
.hero-shape {
    position: absolute;
    opacity: 0.1;
    z-index: 1;
}

.hero-shape-1 {
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
}

.hero-shape-2 {
    bottom: 20%;
    left: 5%;
    width: 150px;
    height: 80px;
    background: var(--secondary-color);
    border-radius: 40px;
}

/* Loading animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Price highlighting */
.price-highlight {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Service cards special styling */
.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.service-card:hover {
    border-color: var(--primary-color);
}

/* Feature icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

/* Custom spacing */
.mb-6 {
    margin-bottom: 3.5rem;
}

.py-6 {
    padding: 3.5rem 0;
}

/* No overrides of Bootstrap core - all custom classes and variables */ 


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