/* Home Page Specific Styles */

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding-left: 32px;
    padding-right: 32px;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1a472a, #dc2626);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #1a472a;
}

.service-item h3 {
    color: #1a472a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-item p {
    color: #666;
    line-height: 1.7;
}

/* Facility Section */
.facility-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.facility-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    font-style: italic;
}

.facility-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.facility-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.6;
}

.facility-item:last-child {
    border-bottom: none;
}

.facility-item strong {
    color: #1a472a;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.facility-item:hover {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 1rem;
    margin: 0 -1rem;
    transition: all 0.3s ease;
}

/* Calendar and Race Section */
.calendar-widget {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.calendar-header {
    text-align: center;
    margin-bottom: 1rem;
}

.calendar-header h3 {
    color: #1a472a;
    font-size: 1.3rem;
    margin: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 1rem;
}

.calendar-day-header {
    background: #1a472a;
    color: white;
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
}

.calendar-day {
    background: white;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #e9ecef;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.calendar-day.race-day {
    background: #dc2626;
    color: white;
    font-weight: bold;
}
.race-list  {
    padding-left: 32px;
    padding-right: 32px;
}

.race-list h3 {
    color: #1a472a;
    margin-bottom: 1rem;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 0.5rem;
}

.race-event {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #dc2626;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.race-date {
    font-weight: bold;
    color: #1a472a;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.race-info h4 {
    color: #333;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.race-time {
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 500;
}

.race-location {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.race-description p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0.5rem 0 0 0;
    font-style: italic;
}

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        padding-left: 1rem;
        padding-right: 1rem;
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.5rem;
    }
    
    .facility-section {
        padding: 1.5rem;
    }
    
    .facility-item {
        padding: 0.8rem 0;
    }
    
    .facility-item:hover {
        margin: 0 -0.5rem;
        padding: 0.8rem 0.5rem;
    }
    
    .calendar-widget {
        padding: 1rem;
    }
    
    .calendar-grid {
        gap: 1px;
    }
    
    .calendar-day-header,
    .calendar-day {
        padding: 0.3rem;
        font-size: 0.8rem;
        min-height: 30px;
    }
    
    .race-list {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .race-event {
        padding: 0.8rem;
    }
}