:root {
    --primary-color: #8b0000;
    --secondary-color: #f8f8f8;
    --transition-speed: 0.3s;
    --pink: #ff69b4;
    --orange: #ff6b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#site-header{
    display: none;
}

#colophon{
 display: none;
}

h2, h3, h4, h5, h6{
    color: #ffffff !important;
}
/* Add gradient background animation */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Add floating animation */
@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.35;
    }
    50% {
        transform: translateY(-200px) rotate(180deg) scale(1.4);
        opacity: 0.45;
    }
    90% {
        opacity: 0.35;
    }
    100% {
        transform: translateY(-400px) rotate(360deg) scale(1);
        opacity: 0;
    }
}

/* Add fly away animation */
@keyframes flyAway {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100vw, -100vh) rotate(360deg); }
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(-45deg, var(--pink), var(--orange), #ff4d6d, #ff758f);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    width: 100%;
    padding: 1rem 4rem; 
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: normal;
    transition: color 0.3s ease;
    letter-spacing: 2px;
    font-size: 1.1em;
    line-height:90%;
}

.main-nav a:hover {
    color: #f9ff43;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

/* Hero Section Layout */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Add background image with opacity */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bkg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.67;
    z-index: 2;
}

/* Add gradient overlay with rotation */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #5400bb 0%, #ff4b93 100%);
    opacity: 0.85;
    z-index: 1;
    background-size: 400% 400%;
    animation: gradientRotate 15s ease infinite;
}

/* Add gradient rotation animation */
@keyframes gradientRotate {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Update z-index for other elements to appear above background */
.hero-content {
    z-index: 4;
}

.hero-images {
    z-index: 5;
}

.floating-rings {
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: #fff;
    transform: translateY(-25vh); /* Starting position */
}

.hero-content h1 {
    font-family: 'Bebas Neue';
    font-size: 7.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 1);
    text-shadow: 
        2px 2px 8px rgba(0,0,0,0.8),
        4px 4px 20px rgba(0,0,0,0.6),
        6px 6px 30px rgba(0,0,0,0.4);
    line-height: 0.8;
}

.animated-word {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
    animation-play-state: running;
}

/* Hero images container */
.hero-images {
    min-width: 380px;
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2rem;
    z-index: 5;
    opacity: 1;
    visibility: visible;
}

.hero-product {
    height: 400px;
    width: auto;
    opacity: 0;
    transform: scale(0.9);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75))
           drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-images {
        min-width: unset;
        width: 90%;
        top: 35%;
        gap: 0rem !important; /* Reduce gap between bottles */
    }

    .hero-product {
        height: auto; /* Let height adjust automatically */
        width: 24%; /* Each bottle takes 25% of container width */
        max-width: 150px; /* Maximum width for each bottle */
        object-fit: contain; /* Maintain aspect ratio */
    }

    /* Disable floating rings on mobile */
    .hero-section .floating-rings {
        display: none; /* Hide rings completely */
    }

    /* Or if you prefer to keep them but stop animation */
    .hero-section .ring {
        animation: none;
        opacity: 0;
    }
}

/* Small screens */
@media (max-width: 480px) {
    .hero-images {
        width: 90%; /* Use more screen width */
        gap: 0rem !important; /* Even smaller gap */
    }

    .hero-product {
        width: 20%;
        max-width: 120px;
    }
    .main-nav a {
    font-size: 0.8em;
}
}

/* Individual bottle styling */
.hero-product {
    height: 400px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75))
           drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
}

/* Bottle animation */
@keyframes fadeInProduct {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Individual bottle animations with staggered timing */

.hero-images.show .hero-product:nth-child(1) {
    animation-delay: 5.8s;
}

.hero-images.show .hero-product:nth-child(2) {
    animation-delay: 6.3s;
}

.hero-images.show .hero-product:nth-child(3) {
    animation-delay: 6.8s;
}

.hero-images.show .hero-product:nth-child(4) {
    animation-delay: 7.3s;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-images {
        top: 30% !important; 
        flex-wrap: wrap;
        justify-content: center;
        width: 90%;
        gap: 0 !important;
    }

    .hero-product {
        height: 300px;
    }
}

/* Wines Section */
.wines-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ff758f 0%, #ff7eb3 100%);
    min-height: 100vh;
    position: relative;
}

.wines-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.wine-carousel {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wine-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    text-align: center;
    padding: 2rem;
    transform: scale(0.8);
    transition: all 0.5s ease;
}

.wine-item.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    animation: float 3s ease-in-out infinite;
}

.wine-item.fly-away {
    animation: flyAway 1s ease-in-out forwards;
}

.wine-item img {
    max-height: 400px;
    width: auto;
}

/* Recipes Section */
.recipe-card {
    z-index: 1000;
    position: relative;
    display: flex;
    backdrop-filter: blur(12px);
    border-radius: 0 0 20px 20px;
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.recipe-image-container {
    flex: 0 0 50%;
    max-width: 600px;
    overflow: hidden;
}

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

.recipe-content {
    flex: 1;
    padding: 2rem;
}

.recipe-card h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
    letter-spacing: 1px;
}

.recipe-content h5 {
    font-family: 'Bebas Neue', sans-serif;
    color: #f8f8f8;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.recipe-content ul, 
.recipe-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 1;
}

.recipe-content li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.recipe-tip {
    margin-top: 1.5rem;
    font-style: italic;
    color: #ffffff;
    opacity: 1;
}

/* Recipe Card Background Colors to match their wine sections */
#our-wines .recipe-card {
    background: linear-gradient(-45deg, rgba(148, 0, 69, 0.35), rgba(142, 23, 63, 0.35));
}

#wowza .recipe-card {
    background: linear-gradient(-45deg, rgba(255, 51, 89, 0.2), rgba(255, 158, 170, 0.1));
}

#random-party-peach .recipe-card {
    background: linear-gradient(-45deg, rgba(217, 94, 0, 0.2), rgba(255, 128, 128, 0.1));
}

#random-party-bb .recipe-card {
    background: linear-gradient(-45deg, rgba(44, 0, 98, 0.2), rgba(155, 15, 119, 0.1));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .recipe-card {
        flex-direction: column;
    }

    .recipe-image-container {
        max-width: 100%;
        height: 300px;
    }

    .recipe-content {
        padding: 1.5rem;
    }

    .recipe-card h4 {
        font-size: 2rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
    color: white;
}

#contact {
    min-height: 600px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    height: 150px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        position: relative;
        padding: 1rem;
        background: linear-gradient(45deg, #5100e8, #ff4d6d);
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .logo img {
        height: 40px;
    }

    .main-nav ul {
        margin-top: 0.5rem;
        gap: 1.5rem;
        justify-content: center;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .wine-carousel {
        height: 400px;
    }
    
    .wine-item img {
        max-height: 300px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 5rem;
        line-height: 0.8;
        padding: 0 1rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-section {
        margin-top: -1rem;
    }
}

/* Add glowing effect to buttons */
.carousel-controls button {
    background: transparent;
    border: 2px solid white;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.carousel-controls button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255,255,255,0.5);
}

/* Add floating bubbles background */
.floating-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    opacity: 0;
    filter: brightness(1.2);
    animation: float 8s linear infinite;
}

/* Add different animation durations for variety */
.bubble:nth-child(3n) {
    animation-duration: 12s;
}

.bubble:nth-child(3n + 1) {
    animation-duration: 10s;
}

.bubble:nth-child(3n + 2) {
    animation-duration: 14s;
}

/* Add slight rotation variations */
.bubble:nth-child(odd) {
    animation-direction: alternate;
}

/* Make sure content stays above bubbles */
.hero-section h1,
.hero-section p,
.wines-section h2,
.wine-carousel {
    position: relative;
    z-index: 2;
}

/* Add these styles for the floating rings animation */
.floating-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.35;
}

.ring {
    position: absolute;
    opacity: 0.25;
    filter: brightness(1.2);
    animation: float 12s linear infinite;
    will-change: transform;
    animation-play-state: running;
}

/* Different ring sizes */
.ring.small {
    width: 100px;
    height: 100px;
}

.ring.medium {
    width: 180px;
    height: 180px;
}

.ring.large {
    width: 240px;
    height: 240px;
}

.ring.xlarge {
    width: 320px;
    height: 320px;
}

/* Update z-index layering */
.floating-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.hero-bottles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.floating-bottle {
    position: absolute;
    width: 250px;
    opacity: 0;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    animation: floatBottle 12s ease-in-out infinite;
    will-change: transform;
    z-index: 6;
}

/* Add different animation variations */
.ring:nth-child(3n) {
    animation-duration: 12s;
    animation-delay: 0.5s;
}

.ring:nth-child(3n + 1) {
    animation-duration: 10s;
    animation-delay: 1s;
}

.ring:nth-child(3n + 2) {
    animation-duration: 14s;
    animation-delay: 1.5s;
}

.ring:nth-child(odd) {
    animation-direction: alternate;
}

/* Make sure content stays above rings */
.hero-section h1,
.hero-section p,
.wines-section h2,
.wine-carousel {
    position: relative;
    z-index: 2;
}

/* Wine Section Styles */
.wine-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
    color: white;
    z-index: 1;
}

.wine-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.wine-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
    background: linear-gradient(-45deg, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(12px);
    border-radius: 20px 20px 0 0;
}

.wine-details {
    flex: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 3;
}

.wine-details h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.wine-details h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.wine-info {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.pairings, .facts {
    flex: 1;
}

.wine-info h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
}

.wine-info ul {
    list-style: none;
    padding: 0;
}

.wine-info li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.wine-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.wine-image img {
    max-height: 600px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
    transform: translateY(var(--parallax-offset));
    transition: transform 0.1s ease-out;
    position: relative;
    z-index: 3;
}

/* Add hover effects */
.wine-image img:hover {
    transform: scale(1.05) translateY(var(--parallax-offset));
    transition: transform 0.3s ease-out;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wine-content {
        flex-direction: column;
        text-align: center;
    }

    .wine-info {
        flex-direction: column;
        gap: 2rem;
    }

    .wine-details h2 {
        font-size: 2.5rem;
    }

    .wine-image img {
        max-height: 400px;
    }
}

/* Wine Section Background Colors */
#pmg-me {
    background: linear-gradient(45deg, #FF6B6B, #FFE66D);
}

#wowza {
    background: linear-gradient(45deg, #ff3359, #FF9EAA);
}

#bambam {
    background: linear-gradient(45deg, #2c0062, #d20070);
}

#perky {
    background: linear-gradient(45deg, #d95e00, #ff8080);
}

#random-party-bb {
    background: linear-gradient(45deg, #2c0062, #9b0f77); /* Deeper purple to magenta */
}



/* Parallax Animation */
@keyframes parallax {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 400% 400%;
    animation: parallax 15s ease infinite;
    opacity: 0.7;
    z-index: 0;
}

/* Add these styles for floating bottles */
.hero-bottles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 3;
    pointer-events: none;
}

.floating-bottle {
    position: absolute;
    width: 250px;
    opacity: 0;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
    animation: floatBottle 12s ease-in-out infinite;
    will-change: transform;
    z-index: 6;
}

.floating-bottle:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
}

.floating-bottle:nth-child(2) {
    left: 35%;
    animation-delay: 3s;
}

.floating-bottle:nth-child(3) {
    left: 55%;
    animation-delay: 1.5s;
}

.floating-bottle:nth-child(4) {
    left: 75%;
    animation-delay: 4.5s;
}

@keyframes floatBottle {
    0% {
        transform: translateY(100vh) rotate(-10deg) scale(1);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translateY(80vh) rotate(-5deg) scale(1.1);
    }
    50% {
        transform: translateY(40vh) rotate(10deg) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(20vh) rotate(-5deg) scale(1.1);
    }
    100% {
        transform: translateY(-20vh) rotate(-10deg) scale(1);
        opacity: 0;
    }
}

.hero-content p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 1);
    opacity: 1;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    font-weight: 300;
}

.wine-details h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    line-height: 0.9;
}

.wine-details h3, 
.wine-details p,
.wine-info h4,
.wine-info li,
.main-nav a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.wine-details h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.wine-details p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
}

.wine-info h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.wine-info li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 400;
}

.main-nav a {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Update nav font */
.main-nav a {
    font-family: 'Bebas Neue', cursive;
    text-decoration: none;
    color: #ffffff;
    font-weight: normal;
    transition: color 0.3s ease;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

/* Add fade in animation for rings container */
@keyframes fadeInRings {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* Ensure text remains readable */


/* Update hero content and headline styles for proper blend mode effect */
.hero-content {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 2rem;
}



/* Adjust glow effect for better visibility with difference blend */
.hero-content h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1);
    filter: blur(8px);
    opacity: 1;
    z-index: -2;
    mix-blend-mode: difference; /* Added blend mode to glow effect */
}

/* Add these styles for the Find Our Wines section */
.find-wines-section {
    position: relative;
    min-height: 100vh;
    padding: 6rem 2rem;
    background: linear-gradient(45deg, #2c0062, #ff4d6d);
    color: white;
    text-align: center;
    overflow: hidden;
}

.find-wines-section h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 4.5rem;
    margin-bottom: 4rem;
    letter-spacing: 2px;
}

.locations-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.location-card {
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-card:hover {
    transform: translateY(-10px);
}

.location-icon {
    color: white;
    margin-bottom: 1.5rem;
}

.location-card h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.location-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.location-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

.location-btn:hover {
    background: white;
    color: #2c0062;
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .locations-container {
        flex-direction: column;
        align-items: center;
    }

    .location-card {
        width: 100%;
        max-width: 100%;
    }
}

footer .social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

footer .social-links a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

footer .social-links a:hover {
    opacity: 0.8;
}

.submit-btn {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-family: 'Bebas Neue', cursive;
    background: transparent;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    letter-spacing: 2px;
    margin-top: 1rem;
    width: 200px;
}

.submit-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Wine Section Mobile Styles */
@media (max-width: 768px) {
    .wine-content {
        flex-direction: column;
        text-align: center;
    }

    /* Target specific wine sections */
    #wowza .wine-content .wine-image,
    #random-party-bb .wine-content .wine-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .wine-image img {
        max-height: 400px;
    }

    .wine-info {
        flex-direction: column;
        gap: 2rem;
    }

    .wine-details h2 {
        font-size: 2.5rem;
    }
}

/* Age Gate Styles */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden; /* Add this to contain the rings */
}

/* Add background image to age gate */
.age-gate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/bkg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.age-gate-content {
    position: relative;
    background: rgba(0, 0, 0, 0.4); /* Darker background for better readability */
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3; /* Ensure content is above rings */
}

.age-gate-logo {
    width: 200px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.age-gate h2 {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: white;
    margin-bottom: 0.25rem;
    letter-spacing: 2px;
}

.age-gate p {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.age-btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
}

.age-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

.age-btn-no {
    background: rgba(255, 255, 255, 0.1);
}

.age-gate.hidden {
    display: none;
}

/* Hide overflow when age gate is active */
body.age-gate-active {
    overflow: hidden;
}

@media (max-width: 768px) {

    .word-wrapper:nth-child(1) .animated-word{
        font-size: 2.5rem !important;
    }

    .age-gate-content {
        padding: 2rem;
    }
    
    .age-gate h2 {
        font-size: 2.5rem;
    }
    
    .age-gate p {
        font-size: 1rem;
    }
}

/* Update Wine Section Styles */
.wine-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 2rem;
    color: white;
    z-index: 1;
}

/* Update floating rings for wine sections */
.wine-section .floating-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; /* Behind the content but above the background */
    pointer-events: none;
    opacity: 0.5; /* Make rings slightly more subtle in wine sections */
}

.wine-section .ring {
    opacity: 0.3; /* Adjust initial opacity for wine section rings */
}

.wine-content {
    position: relative;
    z-index: 3; /* Above the rings */
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
    background: linear-gradient(-45deg, rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(12px);
    border-radius: 20px 20px 0 0;
}

/* Add these styles for the animated words */
.word-wrapper {
    line-height: 0.9;
    margin-bottom: 0.2rem;
}

.animated-word {
    display: inline-block;
    opacity: 0;
    margin-right: 0.5rem;
    animation: fadeIn 0.8s forwards;
    animation-play-state: running;
}

.word-wrapper:nth-child(1) .animated-word{
    font-size: 3rem; /* Where Bold Meets Berry */
}

/* Animation for words */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Word timing - simplified sequence */
.word-wrapper:nth-child(1) .animated-word {
    animation-delay: 1s; /* Where Bold Meets Berry */
}

.word-wrapper:nth-child(2) .animated-word:nth-child(1) {
    animation-delay: 2s; /* Unleash */
}

.word-wrapper:nth-child(2) .animated-word:nth-child(2) {
    animation-delay: 3s; /* the */
}

.word-wrapper:nth-child(2) .animated-word:nth-child(3) {
    animation-delay: 4s; /* Boom */
}

/* Subtitle and content slide */
.hero-content p {
    opacity: 0;
    animation: fadeInSubtitle 1.5s forwards;
    animation-delay: 5s;
}

@keyframes fadeInSubtitle {
    to {
        opacity: 0.9;
    }
}


/* Update JavaScript timing for hero images */
.hero-images.show {
    opacity: 1;
    visibility: visible;
}

.animated-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(-25px);
    animation: fadeInWord 0.8s forwards;
    animation-play-state: running;
}

/* Fade in and slide up animation for words */
@keyframes fadeInWord {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide down animation for hero content */
.hero-content {
    transform: translateY(clamp(-190px, -18vh, 0px));
    animation: slideContentDown 2s forwards;
    animation-delay: 5s; /* Start after all words appear */
}

@keyframes slideContentDown {
    to {
        transform: translateY(20vh); /* Move down further (was 5vh) */
    }
}



/* Hero images */
.hero-images {
    min-width: 380px;
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 2rem;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.hero-product {
    height: 400px;
    opacity: 0;
    transform: scale(0.9);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.75))
           drop-shadow(0 10px 10px rgba(0, 0, 0, 0.3));
    animation: fadeInProduct 1s forwards;
}

@keyframes fadeInProduct {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Contact Form 7 Styles */
.wpcf7-form {
    max-width: 800px;
    margin: 0 auto;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: 'Inter', sans-serif;
}

.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.wpcf7-submit {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    font-family: 'Bebas Neue', cursive;
    background: transparent;
    border: 2px solid white;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 30px;
    letter-spacing: 2px;
    margin-top: 1rem;
    width: 200px;
}

.wpcf7-submit:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* Form response messages */
.wpcf7-response-output {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 4px;
    border: none !important;
    color: white;
    text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
    background: rgba(46, 204, 113, 0.8);
}

.wpcf7 form.failed .wpcf7-response-output {
    background: rgba(231, 76, 60, 0.8);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .wpcf7-submit {
        width: 100%;
        font-size: 1.2rem;
    }
}