/* Pickleball-specific styles */

/* Navigation active state for pickleball theme */
.nav-link.active {
    color: #F4C430;
    font-weight: 600;
}

/* Navigation hover state for pickleball theme */
.nav-link:hover {
    color: #F4C430;
}

/* Pickleball dropdown styling */
.dropdown-item:hover {
    color: #F4C430;
    border-left-color: #F4C430;
}

/* Pickleball Hero Section */
.pickleball-hero {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    padding: 0;
    color: #333;
    position: relative;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.pickleball-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
}

.pickleball-hero .hero-container {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: stretch;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.pickleball-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    background-color: #ffffff !important;
}

.pickleball-hero .hero-text {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 3rem 4rem;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    align-self: stretch;
}

.pickleball-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #F4C430;
    line-height: 1.2;
}

.pickleball-hero .hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.pickleball-hero .hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #666;
}

.pickleball-hero .hero-image {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    height: 100%;
    align-self: stretch;
    margin-right: 0;
}

.pickleball-hero .hero-image::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 150px;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.55) 0%, 
        rgba(255, 255, 255, 0.35) 30%,
        rgba(255, 255, 255, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.pickleball-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.hero-cta {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Enhanced CTA buttons for pickleball hero section */
.pickleball-hero .cta-button.primary {
    background-color: #F4C430;
    color: #333;
    border: 3px solid #F4C430;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease;
}

.pickleball-hero .cta-button.primary:hover {
    background-color: #e6b129;
    border-color: #e6b129;
}

.pickleball-hero .cta-button.secondary {
    background-color: transparent;
    color: #333;
    border: 3px solid #333;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pickleball-hero .cta-button.secondary:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive Design for Pickleball Hero */
@media (max-width: 968px) {
    .pickleball-hero {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .pickleball-hero .hero-container {
        padding: 1rem;
    }
    
    .pickleball-hero .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-height: none;
        height: auto;
    }
    
    .pickleball-hero .hero-image {
        order: -1;
        height: 400px;
    }
    
    .pickleball-hero .hero-text {
        padding: 2rem;
        height: auto;
    }
    
    .pickleball-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .pickleball-hero .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .pickleball-hero .cta-button {
        width: 100%;
        text-align: center;
    }
}

/* Stats Section - Customized for Pickleball */
.stats-section {
    background-color: #333;
    color: #fff;
    padding: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #F4C430;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    position: relative;
    padding-left: 2rem;
    color: #555;
}

.feature-list li:before {
    content: "🏓";
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Locations Section - Same structure as dodgeball but with green theming */
.locations-section {
    padding: 4rem 0;
    background-color: #fff;
}

.location-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tab-button {
    background: #f8f9fa;
    border: none;
    padding: 1rem 2rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-button.active {
    background-color: #F4C430;
    color: #fff;
}

.tab-button:hover {
    background-color: #F4C430;
    color: #fff;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.location-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.location-card:hover {
    border-color: #ccc;
}

.location-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.location-details p {
    margin-bottom: 0.5rem;
    color: #666;
}

.location-details strong {
    color: #333;
}

.location-card .cta-button {
    margin-top: 1.5rem;
    width: 100%;
    background-color: #F4C430;
}

.location-card .cta-button:hover {
    background-color: #e6b129;
}

/* Reasons Section */
.reasons-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.reason-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.reason-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #F4C430;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.reason-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.reason-content p {
    color: #666;
    margin: 0;
}

/* Equipment Section */
.equipment-section {
    padding: 4rem 0;
    background-color: #fff;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.equipment-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #F4C430;
}

.equipment-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.equipment-card ul {
    list-style: none;
    padding: 0;
}

.equipment-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
}

.equipment-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #F4C430;
    font-weight: bold;
}

/* Community Section */
.community-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.community-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.community-stat {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.community-stat h3 {
    color: #F4C430;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.community-stat p {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

/* CTA Section - Customized for Pickleball */
.cta-section {
    padding: 4rem 0;
    background: #222;
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.cta-buttons .cta-button.primary {
    background-color: #F4C430;
}

.cta-buttons .cta-button.primary:hover {
    background-color: #e6b129;
}

.contact-info {
    margin-top: 2rem;
    text-align: center;
}

.contact-info p {
    margin: 0.5rem 0;
    opacity: 0.9;
}

/* Footer adjustments */
.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #F4C430;
}

/* Override for social media icons */
.social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    font-size: 1.2rem !important;
    margin-bottom: 0 !important;
    color: #fff !important;
    opacity: 0.8 !important;
    transition: all 0.3s ease !important;
}

.social-links a:hover {
    opacity: 1 !important;
    color: #F4C430 !important;
    background-color: rgba(244, 196, 48, 0.2) !important;
}

/* Responsive Design */
@media (min-width: 768px) {
    .pickleball-hero .hero-cta {
        flex-direction: row;
        justify-content: center;
    }

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

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .locations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .community-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .location-card .cta-button {
        width: auto;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .social-links a {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
}

@media (min-width: 1024px) {
    .locations-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Animation for stats counter */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item.animated {
    animation: countUp 0.8s ease-out;
}

/* Loading states for registration buttons */
.cta-button.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.cta-button.loading:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes button-loading-spinner {
    from {
        transform: translate(-50%, -50%) rotate(0turn);
    }
    to {
        transform: translate(-50%, -50%) rotate(1turn);
    }
}

/* Special styling for FREE promotional text */
.contact-info p:last-child {
    background: linear-gradient(45deg, #F4C430, #e6b129);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}