/**
 * Wine Club Benefits Section Styles
 * Elegant, minimalist design inspired by Josetta Saffirio with animations
 */

/* Main section container */
.wine-club-benefits {
    padding: 8rem 0;
    background-color: #000000;
    color: #FFFFFF;
}

/* Benefits header section */
.benefits-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
    animation: fadeIn 1.5s ease-out;
}

/* Section title */
.benefits-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

/* Introduction text */
.benefits-intro {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    color: #CCCCCC;
}

/* Benefits container */
.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Benefit rows */
.benefit-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

/* Individual benefit item */
.benefit-item {
    flex: 0 0 30%;
    position: relative;
    transition: all 0.5s ease;
}

.benefit-item.centered {
    flex: 0 0 60%;
    margin: 0 auto;
}

/* Two items per row */
.benefit-row.two-items .benefit-item {
    flex: 0 0 48%;
}

/* Benefit content */
.benefit-content {
    padding: 2.5rem;
    border: 1px solid #333333;
    height: 100%;
    transition: all 0.4s ease;
    background-color: #111111;
}

.benefit-item:hover .benefit-content {
    transform: translateY(-10px);
    border-color: #D4AF37;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Benefit title */
.benefit-content h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: #D4AF37;
    line-height: 1.3;
}

/* Benefit description */
.benefit-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #CCCCCC;
    margin-bottom: 0;
    font-weight: 300;
}

/* Benefits footer */
.benefits-footer {
    text-align: center;
    margin-top: 5rem;
    padding: 0 2rem;
}

/* CTA section */
.benefits-cta {
    display: inline-block;
    animation: fadeIn 1.5s ease-out;
}

/* CTA button */
.benefits-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.4s ease;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.benefits-button:hover {
    background-color: #D4AF37;
    color: #000000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Welcome message for logged-in users - elegant signature style */
.benefits-cta .welcome-back {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.benefits-cta .welcome-back::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.7), transparent);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .benefits-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .benefit-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
    
    .benefit-item {
        flex: 0 0 45%;
    }
    
    .benefit-item.centered {
        flex: 0 0 80%;
    }
    
    .benefit-row.two-items .benefit-item {
        flex: 0 0 45%;
    }
}

@media (max-width: 768px) {
    .wine-club-benefits {
        padding: 5rem 0;
    }
    
    .benefits-header {
        margin-bottom: 4rem;
    }
    
    .benefits-title {
        font-size: 2.5rem;
    }
    
    .benefits-intro {
        font-size: 1.1rem;
    }
    
    .benefit-row {
        flex-direction: column;
        margin-bottom: 2rem;
    }
    
    .benefit-item,
    .benefit-item.centered {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }
    
    .benefit-row.two-items .benefit-item {
        flex: 0 0 100%;
    }
}

@media (max-width: 576px) {
    .benefits-title {
        font-size: 2rem;
    }
    
    .benefits-intro {
        font-size: 1rem;
    }
    
    .benefit-content {
        padding: 1.5rem;
    }
    
    .benefit-content h3 {
        font-size: 1.3rem;
    }
    
    .benefits-button {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }
}
