/* Homepage Custom Styling */

/* Hero Section - Swimming Pool */
.hero-section-swimming {
    position: relative;
    background: 
        linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #15803d 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 10px solid #10b981;
}

@keyframes waterShimmer {
    0%, 100% { 
        background-position: 0% 50%;
    }
    50% { 
        background-position: 100% 50%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(0, 200, 255, 0.15) 0%, transparent 40%);
    pointer-events: none;
    animation: shimmer 10s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.min-vh-70 {
    min-height: 70vh;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-item {
    padding: 1rem;
}

.hero-stats .stat-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.hero-image-wrapper {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

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

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Product Cards Modern */
.product-card-modern {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    border-radius: 1rem !important;
}

.product-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2) !important;
}

.product-card-modern .card-header {
    transition: all 0.3s ease;
    border-radius: 1rem 1rem 0 0 !important;
}

.product-card-modern:hover .card-header {
    background: var(--elderink-secondary) !important;
}

.product-card-modern .card-header i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Feature Boxes Modern */
.feature-box-modern {
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.feature-box-modern:hover {
    transform: translateY(-5px);
    background: #f8f9fa;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-box-modern:hover .icon-circle {
    transform: rotate(5deg) scale(1.1);
    transition: transform 0.3s ease;
}

/* Content Section */
.content-section {
    padding: 2rem;
}

.benefit-item {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.image-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, #1a73e8 0%, #0066cc 50%, #004999 100%);
    overflow: hidden;
    padding: 5rem 0;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.contact-info-quick {
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section-swimming {
        min-height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .floating-card {
        padding: 2rem;
    }
}
