/* My Frosstvale - Oktoberfest Theme CSS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

:root {
    --oktoberfest-gold: #DAA520;
    --autumn-orange: #D2691E;
    --warm-brown: #8B4513;
    --cream-white: #FFF8DC;
    --forest-green: #228B22;
    --deep-red: #B22222;
    --text-dark: #2F1B14;
    --text-light: #6B4E3D;
    --shadow-warm: rgba(218, 165, 32, 0.2);
    --shadow-brown: rgba(139, 69, 19, 0.3);
    --background-cream: #FFFEF7;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation - Horizontal Bar Style */
.navbar {
    background: linear-gradient(135deg, var(--warm-brown), var(--autumn-orange));
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-brown);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--cream-white);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--oktoberfest-gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--warm-brown);
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-link {
    color: var(--cream-white);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-right: 1px solid rgba(255, 248, 220, 0.2);
}

.nav-link:hover {
    background: var(--oktoberfest-gold);
    color: var(--warm-brown);
}

.nav-menu li:last-child .nav-link {
    border-right: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section - Split Layout */
.hero {
    position: relative; /* needed so ::before is anchored to the hero */
    background: linear-gradient(135deg, var(--background-cream) 0%, var(--cream-white) 100%);
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center; /* vertical centering within grid cells */
    justify-items: center; /* horizontal centering within grid cells */
    padding-top: 6.5rem; /* leave space for fixed navbar but smaller to help centering */
    gap: 3rem;
}

.hero::before{
    content: '';
    position: absolute;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background: url('../img/hero.jpg') no-repeat center center/cover;
    opacity: 0.12;
    z-index: 0; /* place behind content but above page bg */
    pointer-events: none; /* allow clicks through the decorative background */
}

/* Ensure hero children sit above the decorative background */
.hero-content,
.hero-image {
    position: relative;
    z-index: 1;
}

/* Center the content block and constrain width for readability */
.hero-content {
    padding: 0 3rem;
    display: flex;
    flex-direction: column;
    align-items: center; /* center horizontally */
    justify-content: center; /* center vertically inside its grid cell */
    text-align: center;
    max-width: 720px;
    margin: auto auto;
    grid-column: 1 / -1; /* span both columns so content is centered across the hero */
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-button {
    background: linear-gradient(135deg, var(--oktoberfest-gold), var(--autumn-orange));
    color: var(--warm-brown);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-warm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-brown);
}

.hero-image {
    text-align: center;
    padding: 0 3rem;
}

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px var(--shadow-brown);
}

/* Game Section - Card Grid */
.game-section {
    padding: 4rem 0;
    background: var(--cream-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--warm-brown);
    margin-bottom: 3rem;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--oktoberfest-gold);
    margin: 1rem auto 0;
}

.game-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.game-container {
    max-width: 100%;
    margin: 0 auto;
}

.game-card {
    background: var(--background-cream);
    border: 3px solid var(--oktoberfest-gold);
    padding: 2rem;
    transition: all 0.3s ease;
}

.game-card:hover {
    box-shadow: 0 10px 30px var(--shadow-brown);
    transform: translateY(-5px);
}

.game-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.game-iframe {
    width: 100%;
    height: 400px;
    border: 2px solid var(--autumn-orange);
    background: var(--cream-white);
}

/* About Section - Traditional Layout */
.about-section {
    padding: 4rem 0;
    background: var(--background-cream);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border: 4px solid var(--oktoberfest-gold);
    box-shadow: 0 10px 25px var(--shadow-warm);
}

/* Features Section - Block Layout */
.features-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--cream-white), var(--background-cream));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--background-cream);
    padding: 2rem;
    border-left: 5px solid var(--oktoberfest-gold);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
}

.feature-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px var(--shadow-brown);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--oktoberfest-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--warm-brown);
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--warm-brown);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Reviews Section - Testimonial Cards */
.reviews-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--warm-brown), var(--deep-red));
    color: var(--cream-white);
}

.reviews-section .section-title {
    color: var(--cream-white);
}

.reviews-section .section-title::after {
    background: var(--oktoberfest-gold);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: rgba(255, 248, 220, 0.1);
    padding: 2rem;
    border: 2px solid var(--oktoberfest-gold);
    transition: all 0.3s ease;
}

.review-card:hover {
    background: rgba(255, 248, 220, 0.2);
    transform: scale(1.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--oktoberfest-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm-brown);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.reviewer-info h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.stars {
    color: var(--oktoberfest-gold);
    font-size: 1rem;
}

.review-text {
    line-height: 1.6;
    font-style: italic;
}

/* Footer - Multi-Column Traditional */
.footer {
    background: linear-gradient(135deg, var(--text-dark), var(--warm-brown));
    color: var(--cream-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    color: var(--oktoberfest-gold);
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    color: var(--cream-white);
    text-decoration: none;
    line-height: 1.7;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--oktoberfest-gold);
    opacity: 1;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.disclaimer-card {
    background: rgba(218, 165, 32, 0.15);
    padding: 1.5rem;
    border: 2px solid var(--oktoberfest-gold);
    border-radius: 0;
}

.disclaimer-card h3 {
    color: var(--oktoberfest-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.disclaimer-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid var(--oktoberfest-gold);
    color: var(--cream-white);
    font-family: 'Playfair Display', serif;
    opacity: 0.8;
}

/* Modal - Simple Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 27, 20, 0.9);
}

.modal-content {
    background: var(--background-cream);
    margin: 10% auto;
    padding: 2.5rem;
    border: 4px solid var(--oktoberfest-gold);
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.modal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--warm-brown);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-accept,
.btn-reject {
    padding: 0.8rem 2rem;
    border: 2px solid var(--oktoberfest-gold);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-accept {
    background: var(--oktoberfest-gold);
    color: var(--warm-brown);
}

.btn-reject {
    background: transparent;
    color: var(--warm-brown);
}

.btn-accept:hover,
.btn-reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-warm);
}

/* Contact Form - Clean Design */
.contact-form {
    background: var(--background-cream);
    padding: 2.5rem;
    border: 3px solid var(--oktoberfest-gold);
    max-width: 600px;
    margin: 2rem auto 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--warm-brown);
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--autumn-orange);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background: var(--cream-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--oktoberfest-gold);
    box-shadow: 0 0 0 2px rgba(218, 165, 32, 0.2);
}

.form-control.textarea {
    min-height: 100px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--warm-brown);
        flex-direction: column;
        box-shadow: 0 4px 20px var(--shadow-brown);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 248, 220, 0.2);
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 100px 1rem 2rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-iframe {
        height: 500px; /* Bigger iframe for mobile */
    }
    
    .game-container {
        padding: 0; /* Remove padding on mobile for full width */
    }
}