﻿/* Schindler Family Website Styles */
/* Version: 1.3.4 */

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

:root {
    /* General */
    --white: #ffffff;
    --text-color: #1a1a1a;
    --light-bg: #fff8f0;

    /* Main Page (Green) */
    --main-bg: linear-gradient(135deg, #b7e7b0 0%, #5cb85c 60%, #387c44 100%);
    --main-primary: #2d5d2d;
    --main-secondary: #4a8f4a;
    --main-accent: #1f4d1f;

    /* Thanksgiving Page (Brown/Gold/Autumn) */
    --tg-bg: #9a6b4f;
    --tg-content-bg: #f5e6d3;
    --tg-detail-bg: #faf3e8;
    --tg-brown-dark: #5c3d2e;
    --tg-brown-medium: #7c5a3d;
    --tg-gold: #d4a052;
    --tg-orange: #c67d3a;
    --tg-text-light: #fffef7;
    --tg-border: #b8935a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--main-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.thanksgiving-page {
    background: var(--tg-bg);
    position: relative;
}

body.thanksgiving-page.authenticated {
    background-image: url('Images/bigface.png');
    background-repeat: repeat;
    background-size: 400px 400px;
}

body.thanksgiving-page.authenticated::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('Images/bigface.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.content {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

body.thanksgiving-page .content {
    background: var(--tg-content-bg);
}

h1 {
    color: var(--main-primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

body.thanksgiving-page h1 {
    color: var(--tg-brown-dark);
    font-weight: 800;
}

p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.links {
    margin-top: 2rem;
}

.button {
    display: inline-block;
    background-color: var(--main-secondary);
    color: var(--white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0.5rem;
    border: none;
    cursor: pointer;
}

.button:hover,
.button:focus {
    background-color: var(--main-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

body.thanksgiving-page .button {
    background-color: var(--tg-gold);
    color: var(--tg-brown-dark);
}

body.thanksgiving-page .button:hover,
body.thanksgiving-page .button:focus {
    background-color: var(--tg-orange);
    color: var(--white);
}

.back-link {
    display: inline-block;
    color: var(--main-secondary);
    text-decoration: none;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--main-primary);
}

body.thanksgiving-page .back-link {
    color: var(--tg-brown-medium);
}

body.thanksgiving-page .back-link:hover {
    color: var(--tg-orange);
}

.event-details {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

body.thanksgiving-page .event-details {
    background: var(--tg-detail-bg);
    border-left: 5px solid var(--tg-orange);
}

.event-details h2 {
    color: var(--main-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

body.thanksgiving-page .event-details h2 {
    color: var(--tg-brown-dark);
    font-weight: 800;
}

.detail-item {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: #333;
}

body.thanksgiving-page .detail-item {
    color: var(--tg-brown-dark);
}

body.thanksgiving-page .detail-item strong {
    color: var(--tg-brown-dark);
    font-weight: 700;
}

.address {
    color: #666;
    font-size: 0.95rem;
    margin-left: 1.5rem;
    display: inline-block;
}

.event-details ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.event-details li {
    margin: 0.5rem 0;
    font-size: 1.05rem;
    color: #333;
}

body.thanksgiving-page .event-details li {
    color: var(--tg-brown-medium);
}

.event-details p {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.password-prompt {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

body.thanksgiving-page .password-prompt {
    background: var(--tg-detail-bg);
}

.password-prompt p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
}

body.thanksgiving-page .password-prompt p {
    color: var(--tg-brown-dark);
}

#password-input {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

#password-input:focus {
    outline: none;
    border-color: var(--main-secondary);
}

body.thanksgiving-page #password-input:focus {
    border-color: var(--tg-orange);
}

.error-message {
    color: #e74c3c;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    min-height: 1.5rem;
}

.welcome-message {
    background: var(--tg-brown-dark);
    color: var(--tg-text-light);
    padding: 1.3rem 1rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    border: 3px solid var(--tg-gold);
    box-shadow: 0 4px 20px rgba(92, 61, 46, 0.25);
}

.welcome-message p {
    color: var(--tg-gold);
    font-weight: 800;
    margin-bottom: 0.6rem;
    font-size: 1.25rem;
}

.welcome-message p:last-child {
    margin-bottom: 0;
}

.menu-section {
    border-left-width: 5px;
    border-left-color: var(--tg-orange);
}

.menu-subtitle {
    color: var(--tg-brown-medium);
    font-style: italic;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.info-note {
    background: rgba(212, 160, 82, 0.12);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--tg-brown-dark);
    border: 1px solid var(--tg-border);
}

.info-note strong {
    color: var(--tg-orange);
    font-weight: 700;
}

.guest-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.4rem;
    border-bottom: 1px solid var(--tg-border);
}

.guest-list li:last-child {
    border-bottom: none;
}

.guest-count {
    background: var(--tg-gold);
    color: var(--tg-brown-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.total-count {
    background: linear-gradient(135deg, var(--tg-gold) 0%, var(--tg-orange) 100%);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.15rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.version {
    font-size: 0.75rem;
    color: #999;
    margin-top: 2rem;
    margin-bottom: 0;
    opacity: 0.7;
}

body.thanksgiving-page .version {
    color: var(--tg-brown-medium);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .content {
        padding: 2rem 1.5rem;
    }

    .button {
        display: block;
        margin: 1rem auto;
    }

    .welcome-message {
        font-size: 1.1rem;
    }

    .welcome-message p {
        font-size: 1.15rem;
    }

    body.thanksgiving-page.authenticated {
        background-size: 250px 250px;
    }

    body.thanksgiving-page.authenticated::before {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .welcome-message {
        font-size: 1rem;
    }

    .welcome-message p {
        font-size: 1.05rem;
    }

    body.thanksgiving-page.authenticated {
        background-size: 180px 180px;
    }

    body.thanksgiving-page.authenticated::before {
        width: 300px;
        height: 300px;
    }
}