:root {
    --primary-green: #00442A;
    --primary-yellow: #D6D600;
    --dark-green: #003320;
    --light-yellow: #E6E600;
    --white: #ffffff;
    --black: #000000;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    color: var(--white);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(0, 68, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-yellow);
}

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

.hero-content {
    text-align: center;
    z-index: 1;
}

.glitch {
    font-size: 4rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 var(--primary-yellow),
                -0.05em -0.025em 0 var(--light-yellow);
    animation: glitch 500ms infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-yellow),
                    -0.05em -0.025em 0 var(--light-yellow);
    }
    14% {
        text-shadow: 0.05em 0 0 var(--primary-yellow),
                    -0.05em -0.025em 0 var(--light-yellow);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-yellow),
                    0.025em 0.025em 0 var(--light-yellow);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-yellow),
                    0.025em 0.025em 0 var(--light-yellow);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-yellow),
                    0.05em 0 0 var(--light-yellow);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-yellow),
                    0.05em 0 0 var(--light-yellow);
    }
    100% {
        text-shadow: -0.025em 0 0 var(--primary-yellow),
                    -0.025em -0.025em 0 var(--light-yellow);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin: 1rem 0 2rem;
    color: var(--light-yellow);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-yellow);
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 214, 0, 0.3);
}

/* Product Section - New Layout */
.product-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.product-image {
    position: relative;
}

.main-product-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.image-thumbnails {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-description {
    font-size: 1.1rem;
    line-height: 1.6;
}

.product-features {
    list-style: none;
    margin: 1.5rem 0;
}

.product-features li {
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-features i {
    color: var(--primary-yellow);
}

.contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-yellow);
    color: var(--dark-green);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 214, 0, 0.3);
}

/* Process Section */
.process-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.step {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

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

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--dark-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.step i {
    font-size: 2.5rem;
    color: var(--primary-yellow);
    margin: 1rem 0;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-yellow);
    margin-bottom: 1rem;
}

/* Enhanced Animations */
@keyframes float-reverse {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0px) rotate(360deg);
    }
}

.floating-beer:nth-child(even) {
    animation: float-reverse 6s infinite;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links a {
        color: var(--primary-yellow);
        margin: 0.5rem;
        font-size: 0.9rem;
    }

    .logo {
        margin-bottom: 0.5rem;
    }

    /* Fix for hero section text overflow */
    .glitch {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .subtitle {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .hero-content {
        width: 100%;
        padding: 0 1rem;
    }

    .product-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: var(--dark-green);
    padding: 2rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-icon {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-yellow);
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.floating-beers {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* Order Section */
.order-section {
    padding: 5rem 2rem 3rem;
    text-align: center;
    background: var(--dark-green);
}

.order-form {
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

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

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-yellow);
    border-radius: 8px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--primary-yellow);
    color: var(--dark-green);
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 1.1rem;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(214, 214, 0, 0.3);
}

/* Center all section headings */
section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--primary-yellow);
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 2rem;
    background: var(--dark-green);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

/* Features section enhancement */
.features-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.features-section h2 {
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Add after root variables */
@keyframes moveParticle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, 10px) rotate(90deg);
    }
    50% {
        transform: translate(0, 20px) rotate(180deg);
    }
    75% {
        transform: translate(-10px, 10px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

.particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: rgba(214, 214, 0, 0.2);
    pointer-events: none;
    border-radius: 50%;
}

/* Update body to include a subtle gradient overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent, rgba(0, 68, 42, 0.3));
    pointer-events: none;
    z-index: 1;
}

/* Ensure all content stays above the overlay */
main, header, section, nav {
    position: relative;
    z-index: 2;
}

.form-success-message {
    max-width: 600px;
    margin: 3rem auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.form-success-message h3 {
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.form-success-message p {
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.form-success-message p:last-child {
    margin-bottom: 0;
    color: var(--primary-yellow);
    font-style: italic;
}

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