/* Wine List Nav */
.winelist-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.winelist-nav-link {
    padding: 12px 24px;
    background: #f4f4f4;
    color: #683802;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.winelist-nav-link:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.winelist-nav-link.active {
    background: #c9a96e;
    color: white;
}

/* Wine Page Styles */
.wine-section {
    margin-bottom: 60px;
}

.wine-section h2 {
    color: #683802;
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2.5rem;
}

.wine-section h3 {
    color: #683802;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.0rem;
}

.wine-subsection {
    margin-bottom: 30px;
}

.wine-subsection h3 {
    color: #683802;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2rem;
}

.wine-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wine-item {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    gap: 30px;
    padding: 20px;
    background: #f9f5e9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wine-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.wine-image {
    flex: 0 0 150px;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.wine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wine-info {
    flex: 1;
}

.wine-info h3 {
    color: #683802;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    text-align: left;
}

.wine-info p {
    color: #683802;
    text-align: left;
    line-height: 1.6;
    margin: 0;
}

/* Wine Delivery Section */
.wine-delivery-section {
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.wine-delivery-section h2 {
    color: #683802;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 2rem;
}

.delivery-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.delivery-info {
    flex: 1;
}

.delivery-info p {
    text-align: left;
    margin-bottom: 15px;
    color: #683802;
    line-height: 1.6;
}

.qr-code {
    flex: 0 0 200px;
    text-align: center;
    padding: 20px;
    background: #f9f5e9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
}

.qr-code p {
    color: #683802;
    font-weight: bold;
    margin: 0;
}

/* Adaptability for Wine Page */
@media (max-width: 768px) {
    .winelist-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .winelist-nav-link {
        width: 200px;
        text-align: center;
    }
    
    .wine-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .wine-image {
        flex: 0 0 auto;
        width: 150px;
        height: 200px;
    }
    
    .wine-info p {
        text-align: center;
    }
    
    .delivery-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .qr-code {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .wine-section h2,
    .wine-delivery-section h2 {
        font-size: 1.6rem;
    }
    
    .wine-info h3 {
        font-size: 1.3rem;
    }
    
    .wine-image {
        width: 120px;
        height: 160px;
    }
    
    .qr-code {
        flex: 0 0 180px;
    }
    
    .qr-code img {
        width: 120px;
        height: 120px;
    }
}