/* AfterChurch-specific styles - uses shared base.css variables */
/* Theme colors are set via [data-theme="afterchurch"] in base.css */
/* Navigation is now handled by shared nav.css */

:root {
    /* Local Fonts - unique to AfterChurch */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Fraunces', serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-theme);
    color: var(--color-text);
}

/* Hero - AfterChurch specific customization */
.hero {
    height: 90vh;
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-warm-white);
    padding: 0 1rem;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1.2s ease-out;
}

/* CTA Button - uses shared .cta-btn from components.css with local animation */
.hero-cta {
    border-radius: 50px;
    background: var(--color-primary);
    color: var(--color-warm-white);
    animation: fadeInUp 1.4s ease-out;
}

.hero-cta:hover {
    box-shadow: 0 10px 20px rgba(211, 84, 0, 0.3);
}

/* Sections */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

/* Card styles use shared .card from components.css with local hover override */
/* .card:hover is already defined in components.css with translateY(-4px).
   Local override was -10px. If we want to keep the deeper hover, we can leave it,
   but for consistency with the Audit, we'll align it or use a modifier.
   Decided to REMOVE local override to enforce consistency as per critique. */

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

/* Forms */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: var(--color-warm-white);
    padding: 4rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

/* Forms - uses shared form styles from components.css with local font override */
.form-group input,
.form-group textarea,
.form-group select {
    font-family: var(--font-main);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Community Schedule */
.schedule-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.schedule-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-warm-white);
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.schedule-item:hover {
    transform: scale(1.02);
}

.schedule-time {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
    min-width: 100px;
}

.schedule-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Prayer Board */
.prayer-board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.sticky-note {
    background: #fff;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transform: rotate(-1deg);
    transition: all 0.3s;
}

.sticky-note:nth-child(even) {
    transform: rotate(1.5deg);
    background: #fdfcf0;
}

.sticky-note:hover {
    transform: scale(1.05) rotate(0deg);
    z-index: 10;
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.1);
}

.note-type {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.note-type.praise {
    color: var(--color-accent);
}

.note-type.prayer {
    color: var(--color-primary);
}

.note-text {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.4;
}

/* Helper Classes */
.text-left {
    text-align: left !important;
}

.rounded-shadow {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.primary-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.5rem;
}

.main-footer {
    background: var(--color-text);
    color: var(--color-warm-white);
    padding: 4rem 2rem;
    text-align: center;
}

/* Menu Calendar */
.menu-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.month-block {
    background: var(--color-warm-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.month-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--color-bg-theme);
    padding-bottom: 0.5rem;
}

.menu-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-bg-theme);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-date {
    font-weight: 700;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.menu-food {
    font-weight: 500;
    color: var(--color-text);
    font-size: 1.1rem;
}

.label-inline {
    display: inline !important;
    font-size: 0.9rem;
    font-weight: normal !important;
    margin-left: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.checkbox-group input {
    width: auto !important;
}

@media (max-width: 768px) {
    .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }
}