/* Membership Page Styles */

:root {
    --otrc-navy: #212550;
    --otrc-gold: #d4af37;
    --otrc-light: #f8f9fa;
    --otrc-gray: #6c757d;
}

/* Hero Section */
.membership-hero {
    position: relative;
    min-height: 50vh;
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #1a1c3d 100%);
    background-image: url('/images/frontend/slider/slider2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: visible;
    margin-bottom: -1px;
}

.membership-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(33, 37, 80, 0.92) 0%, rgba(26, 28, 61, 0.88) 100%);
    z-index: 1;
}

.membership-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    z-index: 2;
}

.membership-hero .container {
    position: relative;
    z-index: 3;
}

.membership-hero .hero-content {
    text-align: center;
    color: white;
    padding: 3rem 0;
}

.membership-hero .section-label {
    display: inline-block;
    background: rgba(212, 175, 55, 0.2);
    color: var(--otrc-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.membership-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.membership-hero .hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.hero-cta {
    margin-top: 2rem;
}

.membership-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.membership-hero .stat-item {
    text-align: center;
}

.membership-hero .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--otrc-gold);
    margin-bottom: 0.3rem;
}

.membership-hero .stat-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 10;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 120px;
}

.hero-wave path {
    fill: #ffffff;
}

/* Why OTRC Section - Modern Design */
.why-otrc-modern {
    background: white;
    padding: 5rem 0;
}

.feature-alternating {
    margin-top: 3rem;
}

.feature-block {
    position: relative;
}

.feature-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
}

.feature-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.feature-image-wrapper:hover img {
    transform: scale(1.05);
}

.feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--otrc-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(33, 37, 80, 0.3);
    z-index: 2;
}

.feature-badge.badge-gold {
    background: var(--otrc-gold);
    color: var(--otrc-navy);
}

.feature-text-content {
    padding: 1rem;
}

.feature-label {
    display: inline-block;
    color: var(--otrc-gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.feature-heading {
    color: var(--otrc-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-description {
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-points li {
    padding: 0.5rem 0;
    color: #475569;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature-points li i {
    color: var(--otrc-gold);
    margin-right: 0.75rem;
    font-size: 0.9rem;
}

/* Old styles for backward compatibility */
.why-otrc {
    background: white;
    padding: 4rem 0;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.feature-content {
    padding: 1.5rem;
}

.feature-content h4 {
    color: var(--otrc-navy);
    margin-bottom: 0.75rem;
}

.feature-content p {
    color: var(--otrc-gray);
    line-height: 1.6;
}

/* Gallery Showcase - New Design */
.gallery-showcase {
    background: #f8f9fa;
    padding: 4rem 0;
}

.gallery-title {
    color: var(--otrc-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.gallery-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

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

.gallery-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-card:hover .gallery-image-container img {
    transform: scale(1.1);
}

.gallery-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(33, 37, 80, 0) 0%, 
        rgba(33, 37, 80, 0.4) 50%,
        rgba(33, 37, 80, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay-modern {
    opacity: 1;
}

.overlay-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 2rem;
    color: var(--otrc-gold);
    margin-bottom: 0.75rem;
    display: block;
}

.overlay-content h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.overlay-content p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Old Gallery Strip styles for backward compatibility */
.gallery-strip {
    background: var(--otrc-navy);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(33, 37, 80, 0.9) 0%, transparent 100%);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Pathways Section */
.pathways-section {
    background: #f8f9fa;
}

.pathway-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

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

.pathway-card.new-rower .pathway-header {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #2a2f5a 100%);
}

.pathway-card.experienced .pathway-header {
    background: linear-gradient(135deg, var(--otrc-gold) 0%, #b8941f 100%);
}

.pathway-header {
    padding: 2rem;
    text-align: center;
    color: white;
}

.pathway-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.pathway-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.pathway-body {
    padding: 2rem;
}

.pathway-body .lead {
    color: var(--otrc-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.pathway-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pathway-steps li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--otrc-gray);
}

.pathway-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--otrc-gold);
    font-weight: bold;
}

.pathway-image {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.pathway-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.other-pathways {
    background: white;
    border-radius: 16px;
    padding: 2rem;
}

.special-pathway {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.special-pathway:hover {
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.special-pathway i {
    font-size: 2.5rem;
    color: var(--otrc-navy);
    margin-bottom: 1rem;
}

.special-pathway h4 {
    color: var(--otrc-navy);
    margin-bottom: 0.75rem;
}

.special-pathway p {
    color: var(--otrc-gray);
    margin: 0;
}

.section-title {
    color: var(--otrc-navy);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--otrc-gray);
    font-size: 1.1rem;
}

.join-steps {
    margin-top: 3rem;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    position: relative;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--otrc-gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--otrc-navy);
    margin: 1rem 0;
}

.step-card h3 {
    color: var(--otrc-navy);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--otrc-gray);
    margin-bottom: 1.5rem;
}

.join-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Benefits Section */
.benefits-section {
    background: white;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.benefit-icon {
    font-size: 2rem;
    color: white;
    background: var(--otrc-gold);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    color: var(--otrc-navy);
    margin-bottom: 0.5rem;
}

.benefit-content p {
    color: var(--otrc-gray);
    margin: 0;
}

.additional-benefits {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.extra-benefit {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.extra-benefit i {
    color: var(--otrc-gold);
    margin-right: 0.75rem;
}

/* Fees Section */
.fees-section {
    background: #f8f9fa;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--otrc-gold);
}

.pricing-card.featured .pricing-header h3 {
    color: var(--otrc-gold);
}

.pricing-card .pricing-header h3 {
    color: var(--otrc-gold);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-ribbon {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--otrc-gold);
    color: white;
    padding: 0.5rem 2rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.pricing-header {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #2a2f5a 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.pricing-header h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    margin-right: 0.25rem;
    opacity: 0.8;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
}

.period {
    font-size: 1rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.pricing-body {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: var(--otrc-gray);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features i {
    color: var(--otrc-gold);
    margin-right: 0.75rem;
}

.pricing-note {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
    text-align: center;
}

.pricing-footer {
    padding: 2rem;
}

.payment-info {
    margin-top: 3rem;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.info-card h5 {
    color: var(--otrc-navy);
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials-section {
    background: white;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2rem;
    color: var(--otrc-gold);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-content p {
    color: var(--otrc-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    border-top: 2px solid #e5e7eb;
    padding-top: 1rem;
}

.testimonial-author strong {
    color: var(--otrc-navy);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--otrc-gold);
    font-size: 0.9rem;
}

/* CTA Section */
.membership-cta-section {
    background: linear-gradient(135deg, var(--otrc-navy) 0%, #1a1c3d 100%);
    padding: 4rem 0;
}

.membership-cta-section .cta-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.membership-cta-section .cta-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.membership-cta-section .cta-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .membership-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .membership-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .membership-hero .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .membership-hero .stat-number {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    /* Remove curved wave on mobile - make it straight */
    .hero-wave {
        display: none;
    }

    /* New modern design responsive */
    .feature-block {
        margin-bottom: 3rem;
    }
    
    .feature-heading {
        font-size: 1.5rem;
    }
    
    .feature-description {
        font-size: 1rem;
    }
    
    .feature-badge {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-text-content {
        padding: 1rem 0;
    }
    
    /* Old design responsive */
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-image {
        height: 180px;
    }
    
    /* Gallery responsive */
    .gallery-title {
        font-size: 2rem;
    }
    
    .gallery-card {
        margin-bottom: 1rem;
    }
    
    .overlay-content i {
        font-size: 1.5rem;
    }
    
    .overlay-content h5 {
        font-size: 1.1rem;
    }
    
    .overlay-content p {
        font-size: 0.85rem;
    }
    
    /* Old gallery grid responsive */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item:nth-child(5) {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .price .amount {
        font-size: 2.5rem;
    }
    
    .benefit-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .benefit-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .pathway-image img {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .feature-image {
        height: 160px;
    }
    
    .feature-content {
        padding: 1.25rem;
    }
    
    .feature-content h4 {
        font-size: 1.1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
}