/* Product Page Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #2c2c2c;
    background-color: #fcfaf5;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Futura', 'Trebuchet MS', 'Arial', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #2c2c2c;
}

/* Go Back Button */
.go-back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.back-button {
    background: rgba(249, 240, 202, 0.9);
    border: 2px solid #2c2c2c;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #2c2c2c;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-button:hover {
    background: #2c2c2c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.arrow {
    font-size: 18px;
    font-weight: bold;
}

/* Product Hero Section */
.product-hero {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.product-hero img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Remove specific hero backgrounds as we use cover images */

/* Product Details Section */
.product-details {
    padding: 80px 0;
    background: #fcfaf5;
    position: relative;
    z-index: 1;
}

.product-content {
    max-width: 1200px;
    margin: 0 auto;
}

.product-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c2c2c;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Futura', 'Trebuchet MS', 'Arial', sans-serif;
}

.product-info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start; /* Changed from center to start */
}

.product-image-section {
    text-align: center;
}

.product-bottle-image {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.product-text-section {
    padding: 2rem;
}

.product-description h2 {
    font-size: 1.8rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.product-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.spec-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-weight: 600;
    color: #2c2c2c;
    font-size: 0.9rem;
}

.spec-value {
    font-weight: 500;
    color: #2c2c2c;
    font-size: 1rem;
}

/* CTA Section */
.product-cta {
    padding: 80px 0;
    background: white;
    text-align: center;
}

.product-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c2c2c;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.cta-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-btn.primary {
    background: #2c2c2c;
    color: white;
    border: 2px solid #2c2c2c;
}

.cta-btn.primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-2px);
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .go-back-btn {
        top: 20px;
        left: 20px;
    }
    
    .back-button {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .product-hero {
        height: 50vh;
        min-height: 300px;
        padding-top: 60px;
    }
    
    .hero-bottle-image {
        max-width: 200px;
    }
    
    .product-title {
        font-size: 2.2rem;
        margin-bottom: 2rem;
    }
    
    .product-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-text-section {
        padding: 1rem;
    }
    
    .product-description h2 {
        font-size: 1.5rem;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 250px;
        margin-bottom: 1rem;
    }
    
    .product-cta h2 {
        font-size: 2rem;
    }

    .artist-info {
        align-items: flex-start;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .product-info-grid {
        grid-template-columns: 1fr 1.5fr;
        gap: 3rem;
    }
    
    .product-title {
        font-size: 2.5rem;
    }
}
.artist-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.artist-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.artist-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.artist-avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.tasting-notes-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Product Image Gallery */
.product-image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-image {
    margin-bottom: 1rem;
    text-align: center;
}

.main-image img {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-images img:hover,
.thumbnail-images img.active {
    border-color: #2c2c2c;
}
