:root {
    --gold: #d4af37;
    --dark-gold: #b8941f;
    --burgundy: #5c1a1a;
    --dark-burgundy: #2d0a0a;
    --cream: #f5f1e8;
    --black: #1a1a1a;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Crimson Text', serif;
    line-height: 1.8;
    color: var(--black);
    background: var(--cream);
    overflow-x: hidden;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-burgundy) 0%, var(--burgundy) 100%);
    color: var(--cream);
    text-align: center;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-ornament {
    position: absolute;
    width: 100%;
    height: 60px;
    background-image: repeating-linear-gradient(
        90deg,
        var(--gold) 0px,
        var(--gold) 2px,
        transparent 2px,
        transparent 20px
    );
    opacity: 0.2;
}

.hero-ornament.top {
    top: 0;
    border-bottom: 2px solid var(--gold);
}

.hero-ornament.bottom {
    bottom: 0;
    border-top: 2px solid var(--gold);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.avatar {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 10px 30px var(--shadow));
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gold);
    text-shadow: 2px 2px 4px var(--shadow);
    letter-spacing: 2px;
    animation: fadeIn 1.2s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
    margin-bottom: 1.5rem;
    animation: fadeIn 1.4s ease-out 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.ornamental-divider {
    font-size: 2rem;
    color: var(--gold);
    margin: 1.5rem 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Navigation */
.nav {
    background: var(--dark-burgundy);
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px var(--shadow);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1rem 0;
}

.nav-list a {
    font-family: 'Cinzel', serif;
    color: var(--cream);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-list a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section:nth-child(even) {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::before,
.section-title::after {
    content: '✦';
    color: var(--gold);
    margin: 0 1rem;
    font-size: 1.5rem;
}

.content-card {
    background: var(--white);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--dark-gold) 100%);
}

.lead {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-card p {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    text-align: justify;
}

/* Church Info */
.church-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-block h3 {
    font-family: 'Cinzel', serif;
    color: var(--burgundy);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

/* Liturgy Grid */
.liturgy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.liturgy-card {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.liturgy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
}

.liturgy-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.liturgy-card h3 {
    font-family: 'Cinzel', serif;
    color: var(--burgundy);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.liturgy-time {
    font-size: 1.2rem;
    color: var(--dark-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.liturgy-desc {
    font-size: 1.1rem;
    color: var(--black);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-family: 'Cinzel', serif;
    color: var(--burgundy);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-note {
    background: var(--cream);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin-top: 2rem;
    font-style: italic;
}

.map-container {
    height: 400px;
    border: 3px solid var(--gold);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Footer */
.footer {
    background: var(--dark-burgundy);
    color: var(--cream);
    text-align: center;
    padding: 3rem 0;
    border-top: 3px solid var(--gold);
}

.footer-ornament {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-text {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.footer-subtext {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.footer-year {
    font-style: italic;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .nav-list {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .content-card {
        padding: 2rem;
    }

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

    .avatar {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title::before,
    .section-title::after {
        display: none;
    }
}
