/*
=====================================
AQUIBON WEBSITE - WATER PRODUCTS PAGE CSS
=====================================
Project: Aquibon Water & Solar Solutions
Developer: Blaxium Hub
Author: Brian Guvava
Version: 1.0.0
=====================================
*/

/* ===== WATER PRODUCTS HERO SECTION ===== */
.water-products-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
}

.water-products-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.water-products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(46, 125, 50, 0.8) 0%,
        rgba(21, 101, 192, 0.7) 50%,
        rgba(33, 33, 33, 0.6) 100%
    );
    z-index: 2;
}

.water-products-hero-content {
    position: relative;
    z-index: 3;
    color: white;
    padding: 2rem 0;
}

.water-products-hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: var(--font-bold);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title__black {
    color: #ffffff;
}

.hero-title__orange {
    color: var(--accent-orange);
}

.hero-title__blue {
    color: var(--info-blue);
}

.water-products-hero-subtitle {
    font-size: 1.25rem;
    font-weight: var(--font-regular);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: var(--font-semibold);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.hero-cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-cta-buttons .btn:hover::before {
    left: 100%;
}

.water-products-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-indicator:hover {
    color: var(--accent-orange);
    transform: translateY(-5px);
}

.scroll-indicator i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

.scroll-indicator p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== PRODUCT CATEGORIES SECTION ===== */
.product-categories-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.product-category-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.product-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.product-category-card:hover::before {
    transform: scaleX(1);
}

.product-category-card.featured {
    border: 2px solid var(--accent-orange);
    position: relative;
}

.category-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.product-category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--accent-orange), var(--primary-green));
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.product-category-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-semibold);
    color: var(--primary-black);
    margin-bottom: 1rem;
    text-align: center;
}

.product-category-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.category-features li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.category-features li i {
    color: var(--success-green);
    margin-right: 0.75rem;
    width: 16px;
    flex-shrink: 0;
}

.product-category-card .btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-weight: var(--font-medium);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-category-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.product-category-card .btn:hover::before {
    left: 100%;
}

/* ===== PRODUCT SPECIFICATIONS SECTION ===== */
.product-specs-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.specs-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.specs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.specs-header {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-blue));
    padding: 2rem;
    text-align: center;
    color: white;
}

.specs-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.specs-header h3 {
    font-size: 1.5rem;
    font-weight: var(--font-semibold);
    margin: 0;
}

.specs-content {
    padding: 2rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: var(--font-medium);
    color: var(--text-color);
}

.spec-value {
    font-weight: var(--font-semibold);
    color: var(--primary-green);
}

/* ===== PRODUCT CALCULATOR SECTION ===== */
.product-calculator-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.calculator-info {
    padding-right: 2rem;
}

.calculator-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-item h5 {
    font-size: 1.125rem;
    font-weight: var(--font-semibold);
    color: var(--primary-black);
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: var(--text-muted);
    margin: 0;
}

.calculator-form {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calculator-form-container {
    padding: 2.5rem;
}

.form-title {
    font-size: 1.5rem;
    font-weight: var(--font-semibold);
    color: var(--primary-black);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    font-weight: var(--font-medium);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.1);
    background-color: white;
}

.calculator-results {
    background: #f8f9fa;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
    margin-top: 1rem;
}

.calculator-results h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: var(--font-semibold);
}

/* ===== WATER PRODUCTS CTA SECTION ===== */
.water-products-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-blue) 100%);
    position: relative;
    overflow: hidden;
}

.water-products-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.cta-buttons .btn {
    padding: 1rem 2.5rem;
    font-weight: var(--font-semibold);
    border-radius: 50px;
    font-size: 1.125rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
    .water-products-hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    
    .calculator-info {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .product-category-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 767.98px) {
    .water-products-hero-section {
        min-height: 80vh;
    }
    
    .water-products-hero-content {
        padding: 1rem 0;
    }
    
    .water-products-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .product-categories-section,
    .product-specs-section,
    .product-calculator-section,
    .water-products-cta-section {
        padding: 3rem 0;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
    
    .specs-header {
        padding: 1.5rem;
    }
    
    .specs-header i {
        font-size: 2rem;
    }
    
    .calculator-form-container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .water-products-hero-title {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-category-card {
        padding: 2rem 1.5rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
        font-size: 1rem;
        padding: 0.875rem 2rem;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .product-category-card,
    .specs-card,
    .scroll-indicator,
    .btn,
    .category-icon {
        transition: none;
    }
    
    .scroll-indicator i {
        animation: none;
    }
    
    .water-products-cta-section::before {
        animation: none;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .water-products-hero-section,
    .water-products-cta-section,
    .scroll-indicator {
        display: none;
    }
    
    .product-category-card,
    .specs-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
