/**
 * Wine Club Collection Styles
 * Design Apple-style minimalistico per la collezione vini esclusiva
 */

/* ===== HERO SECTION ===== */
.hero {
    background-image: url('../images/hero_.wine_club_collection.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay nero leggerissimo per migliorare il contrasto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 1;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title h1 {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #FFFFFF;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.hero-title span {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* ===== COLLECTION CONTAINER ===== */
.collection-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== COLLECTION INTRO ===== */
.collection-intro {
    padding: 40px 0 20px 0;
    text-align: center;
}

.intro-text {
    max-width: 600px;
    margin: 0 auto 30px;
}

.intro-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
}

.access-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e9ecef;
}

.access-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #A39067;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.access-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.access-text p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== FEATURED WINES ===== */
.featured-wines {
    padding: 80px 0;
}

.featured-wines h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.wines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.wine-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(163, 144, 103, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.wine-card.premium-card {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 0 30px rgba(163, 144, 103, 0.1);
}

.wine-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(163, 144, 103, 0.2);
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(163, 144, 103, 0.4);
}

/* Premium Badge con Stelle */
.premium-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.premium-stars {
    color: #C9A961;
    font-size: 1.125rem;
    letter-spacing: 3px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(201, 169, 97, 0.4);
    display: block;
}

/* Header Card con Annata */
.wine-card-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(163, 144, 103, 0.15);
    background-color: rgba(163, 144, 103, 0.02);
    background-image: linear-gradient(to bottom, rgba(163, 144, 103, 0.03), rgba(255, 255, 255, 0.8));
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
}

.wine-card:hover .wine-card-header {
    background-color: rgba(163, 144, 103, 0.05);
}

.wine-card-header::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(163, 144, 103, 0.1), transparent);
    opacity: 0;
    transition: all 0.8s ease;
}

.wine-card:hover .wine-card-header::before {
    top: 0;
    opacity: 0.1;
}

.vintage-year {
    font-size: 3rem;
    font-weight: 300;
    color: #A39067;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    line-height: 1;
    transition: all 0.5s ease;
}

.wine-card:hover .vintage-year {
    transform: translateY(-5px);
    color: #C9A961;
}

.wine-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.01em;
    transition: all 0.5s ease;
}

.wine-card:hover .wine-card-title {
    transform: translateY(-3px);
    color: #A39067;
}

/* Rimossa sezione immagine - non più necessaria */

.wine-bottle {
    width: 80px;
    height: 200px;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border-radius: 8px 8px 20px 20px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.wine-bottle.magnum {
    width: 100px;
    height: 240px;
}

.bottle-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 80px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.label-content {
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.2;
    color: #333;
}

.wine-name {
    font-weight: 700;
    font-size: 0.6rem;
    margin-bottom: 2px;
}

.wine-year {
    font-weight: 600;
    color: #A39067;
    margin-bottom: 2px;
}

.wine-origin {
    font-size: 0.5rem;
    color: #666;
}

.wine-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #A39067;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wine-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wine-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.wine-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.detail-item {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #666;
    border: 1px solid #e9ecef;
}

.wine-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.price-label {
    color: #666;
    font-size: 0.9rem;
}

.price-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

.wine-btn {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wine-btn.primary {
    background: #A39067;
    color: white;
}

.wine-btn.primary:hover {
    background: #8B7A5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(163, 144, 103, 0.3);
}

/* ===== VINTAGE WINES ===== */
.vintage-wines {
    padding: 80px 0;
    background: #f8f9fa;
    border-radius: 24px;
    margin: 40px 0;
}

.vintage-wines h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.vintage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.vintage-item {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.vintage-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.vintage-year {
    font-size: 2rem;
    font-weight: 700;
    color: #A39067;
    margin-bottom: 8px;
}

.vintage-wine {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.vintage-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.vintage-availability {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.vintage-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* ===== SPECIAL FORMATS ===== */
.special-formats {
    padding: 80px 0;
}

.special-formats h2 {
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.format-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.format-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.format-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #A39067, #8B7A5A);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.format-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.format-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.format-availability {
    color: #A39067;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== COLLECTION CTA ===== */
.collection-cta {
    padding: 80px 0;
    text-align: center;
    background: white;
    border-radius: 24px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 18px 36px;
    background: #A39067;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #8B7A5A;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(163, 144, 103, 0.3);
}

/* ===== GUEST/PENDING/PAUSED STATES ===== */
.wine-collection-guest,
.wine-collection-pending,
.wine-collection-paused {
    padding: 120px 0;
    text-align: center;
}

.guest-message,
.pending-message,
.paused-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 60px 40px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.guest-icon,
.pending-icon,
.paused-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #f8f9fa;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.pending-icon {
    background: #fff3cd;
    color: #856404;
}

.paused-icon {
    background: #f8d7da;
    color: #721c24;
}

.guest-message h2,
.pending-message h2,
.paused-message h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.guest-message p,
.pending-message p,
.paused-message p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.guest-actions,
.pending-actions,
.paused-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.guest-btn,
.pending-btn,
.paused-btn {
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.guest-btn.primary,
.pending-btn,
.paused-btn {
    background: #A39067;
    color: white;
}

.guest-btn.primary:hover,
.pending-btn:hover,
.paused-btn:hover {
    background: #8B7A5A;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(163, 144, 103, 0.3);
}

.guest-btn.secondary {
    background: transparent;
    color: #A39067;
    border: 2px solid #A39067;
}

.guest-btn.secondary:hover {
    background: #A39067;
    color: white;
    transform: translateY(-2px);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-title h1 {
        font-size: 3.5rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .collection-intro {
        padding: 60px 0;
    }
    
    .access-message {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .wines-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .wine-card {
        padding: 0;
    }
    
    .wine-card-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .vintage-year {
        font-size: 2.5rem;
    }
    
    .wine-content {
        padding: 1.5rem;
    }
    
    .premium-badge {
        top: 15px;
        right: 15px;
    }
    
    .premium-stars {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .vintage-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .formats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guest-actions,
    .pending-actions,
    .paused-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .guest-btn,
    .pending-btn,
    .paused-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .collection-container {
        padding: 0 15px;
    }
    
    .wine-card {
        padding: 20px;
    }
    
    .guest-message,
    .pending-message,
    .paused-message {
        padding: 40px 20px;
    }
}

/* Stili aggiuntivi per card premium */
.wine-characteristics {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(163, 144, 103, 0.03);
    border-radius: 8px;
    border-left: 3px solid #A39067;
}

.wine-price {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(163, 144, 103, 0.1);
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: #86868b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}

.wine-btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wine-btn.primary {
    background: linear-gradient(135deg, #A39067, #8B7A5A);
    color: white;
    box-shadow: 0 4px 15px rgba(163, 144, 103, 0.3);
}

.wine-btn.primary:hover {
    background: linear-gradient(135deg, #8B7A5A, #A39067);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(163, 144, 103, 0.4);
}
