/**
 * Common CSS for shared styles across templates
 * Consolidates inline styles into proper CSS classes
 */

/* FAQ Content Styles */
.faq-content {
    display: none;
}

.faq-content.active {
    display: block;
}

/* Floating Elements for Homepage */
.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Animation Delays for Homepage Elements */
.animate-fade-in-up.delay-02 {
    animation-delay: 0.2s;
}

.animate-fade-in-up.delay-04 {
    animation-delay: 0.4s;
}

/* Background Pattern for Footer and Single Pages */
.bg-pattern {
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23f3f4f6" fill-opacity="0.4"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* Calculator Archive Icons */
.archive-calc-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.archive-calc-icon.cost {
    background: #bbf7d0;
    color: #16a34a;
}

.archive-calc-icon.water {
    background: #bae6fd;
    color: #2563eb;
}

.archive-calc-icon.maintenance {
    background: #fef9c3;
    color: #eab308;
}

.archive-calc-icon.pipe {
    background: #ede9fe;
    color: #7c3aed;
}

/* Water Calculator Specific Styles */
.water-calc-card {
    align-items: stretch;
}

.water-calc-results {
    align-items: stretch;
}

/* Schema.org Hidden Elements */
.schema-hidden {
    display: none;
}

/* Table of Contents Styles */
.toc-item {
    transition: all 0.2s ease;
}

.toc-item:hover {
    color: #3b82f6;
    transform: translateX(4px);
}

/* Hero Section Styles (from front-page.php) */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Advanced Search Styles */
.advanced-search {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.search-tab {
    flex: 1;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.search-tab.active {
    border-bottom-color: #3b82f6;
    background: #f8fafc;
    color: #3b82f6;
    font-weight: 600;
}

.search-tab:hover {
    background: #f8fafc;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--service-color), var(--service-color-light));
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-card.repair::before { --service-color: #3b82f6; --service-color-light: #60a5fa; }
.service-card.irrigation::before { --service-color: #10b981; --service-color-light: #34d399; }
.service-card.timer::before { --service-color: #8b5cf6; --service-color-light: #a78bfa; }
.service-card.landscaping::before { --service-color: #f59e0b; --service-color-light: #fbbf24; }

/* Statistics */
.stats-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    color: #e5e7eb;
    font-family: serif;
    line-height: 1;
}

/* Location Grid */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.location-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
}

.location-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

/* CTA Sections */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

/* Single Post Styles (from single.php) */
.hero-gradient { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.post-card { 
    transition: all 0.3s ease; 
}

.post-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); 
}

.toc-link { 
    transition: all 0.2s ease; 
}

.toc-link:hover { 
    transform: translateX(4px); 
}

.share-btn { 
    transition: all 0.2s ease; 
}

.share-btn:hover { 
    transform: scale(1.05); 
}

/* Enhanced Hero Styles */
.hero-pattern {
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.1"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #c7d2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-indicator {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-element {
        display: none;
    }
    
    .archive-calc-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .search-tabs {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .page-header { 
        padding: 40px 0; 
    }
    
    .search-box { 
        margin: 20px; 
    }
    
    .stats-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    /* Consolidated mobile styles for better performance */
    .main-content-container {
        gap: 1rem;
    }
    
    .services-grid,
    .services-grid-large {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-content-container {
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Archive Page Styles (from archive-sprinkler-repair.php) */
.page-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    position: relative;
}

.page-header::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"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.search-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.business-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.rating-stars { 
    display: inline-flex; 
}

.filter-sidebar {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.service-badge {
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.emergency-badge {
    background: #ef4444;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.btn-primary {
    background: #3b82f6;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #374151;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #d1d5db;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #374151;
}

.pagination a:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pagination .current {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Single Sprinkler Repair Styles (from single-sprinkler-repair.php) */
.business-image { 
    max-height: 400px; 
    object-fit: cover; 
    width: 100%; 
}

.map-container { 
    height: 300px; 
}

.contact-btn { 
    transition: background-color 0.3s; 
}

.contact-btn:hover { 
    background-color: #1d4ed8; 
}

.faq-toggle[aria-expanded="true"] .fa-chevron-down { 
    transform: rotate(180deg); 
}

/* About Page Styles (from about.php) */
.hero-gradient { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.stats-card { 
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
}

.feature-card { 
    transition: all 0.3s ease; 
}

.feature-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); 
}

.team-card { 
    transition: all 0.3s ease; 
}

.team-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
}

.timeline-item { 
    position: relative; 
}

.timeline-item::before { 
    content: ''; 
    position: absolute; 
    left: -20px; 
    top: 0; 
    width: 2px; 
    height: 100%; 
    background: linear-gradient(to bottom, #667eea, #764ba2); 
}

/* Contact Page Styles (from contact.php) */
.contact-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.form-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.contact-card {
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.floating-label {
    transition: all 0.3s ease;
}

.form-input:focus + .floating-label,
.form-input:not(:placeholder-shown) + .floating-label {
    transform: translateY(-1.5rem) scale(0.85);
    color: #3b82f6;
}

/* City Sprinkler Repair Styles (from city-sprinkler-repair.php) */
.filter-btn { 
    transition: all 0.2s ease; 
}

.filter-btn:hover { 
    transform: scale(1.05); 
}

/* State Sprinkler Repair Styles (from state-sprinkler-repair.php) */
.city-card { 
    transition: all 0.3s ease; 
}

.city-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
}

/* Category Page Styles (from category.php) */
.category-card { 
    transition: all 0.3s ease; 
}

.category-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
}

/* Tag Page Styles (from tag.php) */
.tag-card { 
    transition: all 0.3s ease; 
}

.tag-card:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); 
}

/* Add Business Page Styles (from add-business.php) */
.form-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.service-checkbox {
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.service-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.benefit-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Report Page Styles (from report.php) */
.radio-option {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.radio-option:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.radio-option input[type="radio"]:checked + label {
    background-color: #3b82f6;
    color: white;
}

.radio-option input[type="radio"]:checked + label .icon {
    color: white;
}

.info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Calculator Archive Styles (from calculators/archive-calculators.php) */
.archive-calc-hero {
    background: linear-gradient(120deg, #e0f2fe 0%, #f0fdf4 100%);
    border-radius: 1.5rem;
    padding: 3rem 1.5rem 2.5rem 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(59,130,246,0.07), 0 1.5px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.archive-calc-hero:before {
    content: '';
    position: absolute;
    top: -60px; 
    left: -60px;
    width: 180px; 
    height: 180px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
}

.archive-calc-hero:after {
    content: '';
    position: absolute;
    bottom: -60px; 
    right: -60px;
    width: 180px; 
    height: 180px;
    background: radial-gradient(circle, #4ade80 0%, transparent 70%);
    opacity: 0.12;
    z-index: 0;
}

.archive-calc-hero-content {
    position: relative;
    z-index: 1;
}

.archive-calc-cta {
    margin-top: 2.5rem;
    text-align: center;
    background: linear-gradient(90deg, #f0fdf4 0%, #e0f2fe 100%);
    border-radius: 1rem;
    padding: 2rem 1rem;
    box-shadow: 0 2px 12px rgba(59,130,246,0.06);
}

.archive-calc-btn {
    display: inline-block;
    margin-top: 1.25rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    text-decoration: none;
}

.archive-calc-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
    transform: translateY(-2px) scale(1.03);
}

.archive-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.archive-calc-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(59,130,246,0.07), 0 1.5px 4px rgba(0,0,0,0.04);
    padding: 2.25rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid #e5e7eb;
}

.archive-calc-card:hover {
    box-shadow: 0 8px 32px rgba(59,130,246,0.13), 0 3px 8px rgba(0,0,0,0.07);
    transform: translateY(-4px) scale(1.03);
    border-color: #3b82f6;
}

.archive-calc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.archive-calc-desc {
    font-size: 1.02rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.archive-calc-card .archive-calc-btn {
    margin-top: auto;
    font-size: 1rem;
    padding: 0.6rem 1.25rem;
}

/* Mobile responsive styles for calculator archive */
@media (max-width: 600px) {
    .archive-calc-hero {
        padding: 2rem 0.5rem 1.5rem 0.5rem;
    }
    .archive-calc-grid {
        gap: 1.25rem;
    }
    .archive-calc-card {
        padding: 1.25rem 0.75rem 1rem 0.75rem;
    }
}

/* Water Calculator Styles (from calculators/water-usage-calculator.php) */
.water-hero {
    background: linear-gradient(120deg, #bae6fd 0%, #bbf7d0 100%);
    border-radius: 1.5rem;
    padding: 3rem 1.5rem 2.5rem 1.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(59,130,246,0.07), 0 1.5px 4px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.water-hero:before {
    content: '';
    position: absolute;
    top: -60px; 
    left: -60px;
    width: 180px; 
    height: 180px;
    background: radial-gradient(circle, #38bdf8 0%, transparent 70%);
    opacity: 0.15;
    z-index: 0;
}

.water-hero:after {
    content: '';
    position: absolute;
    bottom: -60px; 
    right: -60px;
    width: 180px; 
    height: 180px;
    background: radial-gradient(circle, #4ade80 0%, transparent 70%);
    opacity: 0.12;
    z-index: 0;
}

.water-hero-content {
    position: relative;
    z-index: 1;
}

.water-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.water-calc-card {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 16px rgba(59,130,246,0.07), 0 1.5px 4px rgba(0,0,0,0.04);
    padding: 2.25rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 1px solid #e5e7eb;
}

.water-calc-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.water-calc-desc {
    font-size: 1.02rem;
    color: #6b7280;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.water-calc-btn {
    display: inline-block;
    margin-top: 1.25rem;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
    text-decoration: none;
}

.water-calc-btn:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
    transform: translateY(-2px) scale(1.03);
}

.water-calc-results .result-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.water-calc-results .result-label {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.water-calc-results .result-description {
    font-size: 0.97rem;
    color: #9ca3af;
    margin-bottom: 1.25rem;
}

.water-calc-results .result-breakdown {
    margin-top: 1.5rem;
    background: #f0fdf4;
    border-radius: 0.75rem;
    padding: 1.25rem;
    font-size: 1rem;
    color: #166534;
}

.water-calc-info {
    background: #f9fafb;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(59,130,246,0.04);
    padding: 2rem 1.5rem;
    margin-top: 2.5rem;
}

.water-calc-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 1rem;
}

.water-calc-info ul {
    margin-left: 1.5rem;
    color: #2563eb;
}

.water-calc-related {
    margin-top: 2.5rem;
    text-align: center;
}

.water-calc-related .related-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.water-calc-related .related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.water-calc-related .related-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(59,130,246,0.07);
    padding: 1.25rem 1rem;
    min-width: 200px;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.18s, transform 0.18s;
    text-decoration: none;
}

.water-calc-related .related-card:hover {
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
    transform: translateY(-2px) scale(1.03);
    border-color: #2563eb;
}

.water-calc-related .related-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Mobile responsive styles for water calculator */
@media (max-width: 900px) {
    .water-calc-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Debug Information */
.debug-info {
    background: #f0f0f0;
    padding: 20px;
    margin: 20px;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-family: monospace;
    font-size: 0.875rem;
} 