/* Modern Mobile-First Parallax Design System */
:root {
    --bg-base: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;

    /* Elegant gold and burgundy accents */
    --accent-gold: #C5A059;
    --accent-burgundy: #7C2A31;
    --accent-hover: #9E3A42;

    --glass-bg: rgba(26, 26, 26, 0.65);
    --glass-border: rgba(197, 160, 89, 0.3);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.8);

    --radius-lg: 16px;
    --radius-pill: 50px;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* --- Parallax Foundations --- */
.parallax {
    position: relative;
    background-image: url('assets/img/santa_cena_bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    height: 100vh;
    min-height: 600px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(26, 26, 26, 0.95) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    animation: fadeIn 1.5s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    max-width: 140px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.8));
}

.header-text {
    font-size: 1.8rem;
    letter-spacing: 0.5em;
    text-transform: uppercase;
    color: var(--accent-gold);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 10px #FFD700, 0 0 1px rgba(255, 215, 0, 0.8), 0 0 40px rgba(197, 160, 89, 0.6);
}

.main-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    color: #FFFFFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.divider {
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
    margin: 1.5rem 0;
}

.date-time-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.date {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

.month {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: var(--accent-gold);
    padding-top: 15px;
    font-weight: 600;
}

.time {
    font-family: 'Lato', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
    z-index: 3;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* --- Content Section --- */
.content-section {
    background-color: var(--bg-base);
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scripture-card {
    max-width: 600px;
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.verse-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.verse-ref {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

.interactive-area {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- Glass Cards --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.location-label {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.address {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.address strong {
    color: var(--text-primary);
}

.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.map-btn:hover {
    background: var(--accent-gold);
    color: var(--bg-base);
}

.map-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* --- Attendance App --- */
.att-title {
    font-family: 'Cinzel', serif;
    color: var(--accent-gold);
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

.att-subtitle {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.att-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.att-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: var(--radius-pill);
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
    flex: 1;
}

.att-btn.yes {
    background: #4caf50;
    color: white;
}

.att-btn.yes:hover {
    background: #43a047;
}

.att-btn.no {
    background: var(--accent-burgundy);
    color: white;
}

.att-btn.no:hover {
    background: var(--accent-hover);
}

.att-select-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-align: left;
}

.att-select-group label {
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.att-select {
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    outline: none;
}

.att-select option {
    background: #1A1A1A;
}

.att-submit {
    margin-top: 1rem;
    padding: 1rem;
    border: none;
    border-radius: var(--radius-pill);
    background: var(--accent-gold);
    color: var(--bg-base);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.att-submit:hover {
    background: #e6c071;
}

/* Stats */
.stats-bar-container {
    height: 12px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    margin: 1rem 0;
}

.stats-bar-seg {
    height: 100%;
    transition: width 1s ease;
}

/* Footer Parallax */
.footer {
    height: 30vh;
    min-height: 200px;
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--accent-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Responsive */
@media (min-width: 768px) {
    .main-title {
        font-size: 5rem;
    }

    .date-time-group {
        flex-direction: row;
        gap: 1.5rem;
    }

    .date {
        font-size: 2.5rem;
    }

    .scroll-indicator {
        bottom: 3rem;
    }

    .interactive-area {
        max-width: 800px;
        flex-direction: row;
        align-items: stretch;
    }

    .glass-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}