/* Hero Section Styling */
.hero {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    z-index: 1;
}

.hero .container {
    height: 100%;
    position: relative;
}

.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slides {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 15px 15px 25px 15px;
    box-sizing: border-box;
}

.slides img,
.slides > a > img {
    display: flex;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100% - 60px);
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.slides > a:only-child,
.slides > img:only-child {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.slides > a:only-child > img,
.slides > img:only-child {
    width: 100%;
    height: 100%;
}

.slides > img:only-child.pickleball-hero-img {
    width: 85% !important;
    height: auto !important;
    max-width: 85% !important;
    max-height: 75% !important;
}

.slides > a {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

/* Navigation Arrows */
.prev, .next {
    position: absolute;
    top: 50%;
    padding: 5px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 2;
}

.prev {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Dots/Indicators */
.dots-container {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 2;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.active, .dot:hover {
    background-color: #717171;
}

/* Animation for Fade */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Individual Hero Image Styling - Force SVG sizing */
.slides .pickleball-hero-img {
    width: 85% !important;
    height: auto !important;
    max-width: 85% !important;
    max-height: 75% !important;
    object-fit: contain !important;
}

/* Mission Section Styling */
#mission {
    margin-top: 40px;
}

#mission h2 {
    margin-bottom: 20px;
    color: #5F07B3;
}

#mission p {
    font-size: 1.1em;
    line-height: 1.6;
}

/* Locations Section Styling */
#locations {
    margin-top: 40px;
}

#locations h2 {
    color: #5F07B3;
    margin-bottom: 20px;
}

.locations-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.office {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.office:hover {
    transform: translateY(-5px);
}

.office h3 {
    color: #5F07B3;
    margin-bottom: 15px;
}

.office p {
    line-height: 1.5;
}

.office a {
    color: #008DBB;
    text-decoration: none;
    transition: color 0.3s ease;
}

.office a:hover {
    color: #5F07B3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        height: 400px;
    }
    
    .locations-container {
        flex-direction: column;
    }
    
    .office {
        margin: 10px 0;
        min-width: 100%;
    }
    
    .prev, .next {
        padding: 8px;
        font-size: 16px;
    }
    
    .dot {
        height: 12px;
        width: 12px;
        margin: 0 4px;
    }
} 

.holiday-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
}

.holiday-popup.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.holiday-popup-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.holiday-popup h2 {
    color: #5F07B3;
    margin-bottom: 15px;
}

.holiday-popup p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.holiday-popup a {
    color: #5F07B3;
    text-decoration: none;
}

.holiday-popup a:hover {
    text-decoration: underline;
}

.holiday-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #5F07B3;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 768px) {
    .holiday-popup-content {
        width: 95%;
        margin: 20px;
    }
} 

#donations-embed {
    margin-top: 2.5rem; /* or 40px, adjust as needed */
} 