/**
 * Layout: HOMEPAGE
 * Unique layout for the homepage only
 * Full-screen hero, floating tiles, service cards, stats, events
 */

/* Hero Section - Full Screen with Floating Elements */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--light-coral) 0%, #FFFFFF 50%, var(--light-green) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 62px;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out;
    line-height: 1.1;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero .btn-group {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

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

/* Floating Animated Shapes */
.hero-floater {
    position: absolute;
    border-radius: 30px;
    animation: floatSlow 8s ease-in-out infinite;
    pointer-events: none;
}

.hero-floater.float-1 {
    top: 10%;
    right: 8%;
    width: 280px;
    height: 350px;
    background: var(--gradient-coral);
    opacity: 0.12;
    animation-delay: 0s;
}

.hero-floater.float-2 {
    bottom: 15%;
    right: 15%;
    width: 220px;
    height: 280px;
    background: var(--gradient-green);
    opacity: 0.12;
    animation-delay: 2s;
}

.hero-floater.float-3 {
    top: 50%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--taupe) 0%, var(--gray-blue) 100%);
    opacity: 0.08;
    animation-delay: 4s;
    border-radius: 50%;
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(2deg);
    }
    66% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

/* Services Section */
.services-section {
    padding: 80px 20px;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F9F9F9 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: block;
}

.benefit-item h4 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--brown);
}

.benefit-item p {
    font-size: 15px;
    color: var(--gray-blue);
}

/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: var(--gradient-coral);
    color: white;
    text-align: center;
}

.stats-section h2 {
    color: white;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    font-family: var(--font-display);
    display: block;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* Events Section */
.events-section {
    padding: 80px 20px;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--gradient-green);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, white 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, white 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

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

.cta-section h2 {
    font-size: 52px;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 21px;
    opacity: 0.95;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-floater {
        display: none;
    }
    
    .services-grid,
    .benefits-grid,
    .stats-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 42px;
    }
}
