/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 3rem 0 4rem;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
}

.hero-content h2 {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #0f172a;
}

.hero-content p {
    font-size: 1.25rem;
    color: #475569;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.hero-search {
    display: flex;
    gap: 1rem;
    max-width: 480px;
}

.hero-search input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    min-width: 0;
}

.hero-search input:focus {
    outline: none;
    border-color: #06b6d4;
}

.search-btn {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: white;
    border: none;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-pool-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(6, 182, 212, 0.15);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Search Filters */
.search-filters {
    padding: 3rem 0;
    background: #fafafa;
    text-align: center;
}

.search-filters h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #0f172a;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.filter-item {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    border: 2px solid transparent;
}

.filter-item:hover {
    border-color: #06b6d4;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
}

.filter-item span {
    font-weight: 500;
    color: #1e293b;
}

/* Featured Pools */
.featured-pools {
    padding: 4rem 0;
    text-align: center;
}

.featured-pools h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.pools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pool-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

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

.pool-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 16px 16px 0 0;
}

.pool-info {
    padding: 1.5rem;
}

.pool-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.pool-info p {
    color: #64748b;
    margin-bottom: 1rem;
}

.pool-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating {
    background: #06b6d4;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
}

.reviews {
    color: #64748b;
    font-size: 0.875rem;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: #fafafa;
}

.how-it-works h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0f172a;
}

.step p {
    color: #64748b;
    line-height: 1.5;
}

/* Pool Categories */
.pool-categories {
    padding: 4rem 0;
    text-align: center;
}

.pool-categories h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
}

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

.category-icon {
    margin-bottom: 1.5rem;
}

.category-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0f172a;
}

.category-card p {
    color: #64748b;
    line-height: 1.5;
}

/* Reviews Section */
.reviews {
    padding: 4rem 0;
    background: #fafafa;
}

.reviews h3 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.review-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.review-card p {
    color: #374151;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.6;
}

.reviewer {
    color: #64748b;
    font-weight: 500;
}

/* Premium Services */
.premium-services {
    padding: 4rem 0;
    text-align: center;
}

.premium-services h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #e2e8f0;
    text-align: center;
}

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

.service-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0f172a;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #06b6d4;
    margin-bottom: 1.5rem;
}

.cta-button {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
    background: #fafafa;
    text-align: center;
}

.why-choose-us h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #0f172a;
}

.feature p {
    color: #64748b;
    line-height: 1.5;
}

/* Contacts */
.contacts {
    padding: 4rem 0;
    text-align: center;
}

.contacts h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #0f172a;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.contact-icon {
    flex-shrink: 0;
    padding: 0.75rem;
    background: #f0f9ff;
    border-radius: 12px;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.contact-item p {
    color: #64748b;
    line-height: 1.5;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.5;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: #06b6d4;
}

.footer-section .logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-section .brand-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h2 {
        font-size: 2.25rem;
    }
    
    .hero-search {
        flex-direction: column;
    }
    
    .search-btn {
        padding: 1rem;
    }
    
    .filter-grid,
    .pools-grid,
    .steps-grid,
    .categories-grid,
    .reviews-grid,
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero,
    .search-filters,
    .featured-pools,
    .how-it-works,
    .pool-categories,
    .reviews,
    .premium-services,
    .why-choose-us,
    .contacts {
        padding: 2rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}