/* Membership Page Styles */

/* Header Styles */
.membership-header {
    background: rgba(26, 26, 26, 0.98);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.membership-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.membership-header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.membership-header .logo:hover {
    color: #B8860B;
}

.membership-header .main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.membership-header .main-nav a {
    color: #F5F5F5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.membership-header .main-nav a:hover,
.membership-header .main-nav a.active {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

/* Hero Section */
.membership-hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.7)), 
                url('/static/images/tennis-court-luxury.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.membership-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.6);
}

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

.membership-badge {
    display: inline-block;
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    color: #1A1A1A;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.membership-badge i {
    margin-right: 0.5rem;
}

.membership-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #F5F5F5;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.membership-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: #D4AF37;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 2rem;
}

.membership-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    margin: 0 auto 2rem;
}

.membership-description {
    font-size: 1.1rem;
    color: #F5F5F5;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Overview Section */
.membership-overview {
    padding: 6rem 0;
    background: #F5F5F5;
}

.overview-header {
    text-align: center;
    margin-bottom: 4rem;
}

.overview-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.overview-header p {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Membership Tiers */
.membership-tiers {
    padding: 6rem 0;
    background: #1A1A1A;
}

.tiers-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tiers-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #F5F5F5;
    margin-bottom: 1rem;
}

.tiers-header p {
    font-size: 1.2rem;
    color: #D4AF37;
    font-style: italic;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tier-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 15px;
    padding: 2.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.6);
}

.tier-card.featured {
    border-color: #D4AF37;
    position: relative;
    background: rgba(212, 175, 55, 0.1);
}

.tier-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.tier-badge {
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    color: #1A1A1A;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: inline-block;
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #D4AF37;
    color: #1A1A1A;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tier-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #F5F5F5;
    margin-bottom: 1rem;
}

.tier-ideal {
    color: #D4AF37;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.tier-benefits {
    margin-top: 2rem;
}

.benefit-category {
    margin-bottom: 2rem;
}

.benefit-category h4 {
    color: #D4AF37;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benefit-category ul {
    list-style: none;
    padding: 0;
}

.benefit-category li {
    color: #F5F5F5;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.benefit-category li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

/* Investment Section */
.membership-investment {
    padding: 6rem 0;
    background: #F5F5F5;
}

.investment-header {
    text-align: center;
    margin-bottom: 4rem;
}

.investment-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.investment-header p {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.investment-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.investment-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.investment-card.featured {
    border: 2px solid #D4AF37;
    transform: scale(1.05);
}

.investment-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.investment-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1A1A1A;
    margin-bottom: 1rem;
}

.initiation-fee {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.fee-text {
    font-size: 0.85rem;
    color: #D4AF37;
    font-weight: 500;
    font-style: italic;
}

.price {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: #666;
    vertical-align: top;
}

.amount {
    font-size: 4rem;
    font-weight: 700;
    color: #1A1A1A;
}

.period {
    font-size: 1.2rem;
    color: #666;
    font-weight: 500;
}

.investment-features ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.investment-features li {
    padding: 0.5rem 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.investment-features .fas {
    color: #D4AF37;
}

.membership-cta-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
}

.membership-cta-btn.signature {
    background: linear-gradient(135deg, #B8860B, #D4AF37);
    color: #1A1A1A;
}

.membership-cta-btn.signature:hover {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    transform: translateY(-2px);
}

.membership-cta-btn.platinum {
    background: linear-gradient(135deg, #1A1A1A, #333);
    color: #D4AF37;
    border: 2px solid #D4AF37;
}

.membership-cta-btn.platinum:hover {
    background: linear-gradient(135deg, #D4AF37, #B8860B);
    color: #1A1A1A;
    transform: translateY(-2px);
}

.membership-cta-btn i {
    margin-right: 0.5rem;
}

.investment-note {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
}

.investment-note p {
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.investment-note .fas {
    color: #D4AF37;
}

/* Footer */
.membership-footer {
    background: #1A1A1A;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #D4AF37;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #F5F5F5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4AF37;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: #F5F5F5;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #D4AF37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .membership-title {
        font-size: 2.5rem;
    }
    
    .membership-subtitle {
        font-size: 1.2rem;
    }
    
    .tiers-grid {
        grid-template-columns: 1fr;
    }
    
    .investment-cards {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-header h2,
    .tiers-header h2,
    .investment-header h2 {
        font-size: 2rem;
    }
    
    .membership-header .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tier-card,
    .investment-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .membership-hero-content {
        padding: 0 1rem;
    }
    
    .membership-title {
        font-size: 2rem;
    }
    
    .tier-card,
    .investment-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 3rem;
    }
}

/* Apply Button Styles */
.membership-apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    margin-top: 1rem;
    background: transparent;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.membership-apply-btn:hover {
    background: #1A1A1A;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
}

/* Enhanced Responsive Design */
/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .tiers-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .investment-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}