/* St. Lazarus Orthodox Chapel - Stylesheet */

:root {
    --primary-red: #8B0000;
    --gold: #C9A227;
    --cream: #F5F5F0;
    --dark: #2C2C2C;
    --light-gold: #E8D5A3;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--cream);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary-red) 0%, #5C0000 100%);
    color: white;
    padding: 0;
    position: relative;
}

.header-top {
    background: rgba(0,0,0,0.2);
    padding: 0.5rem 2rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top a {
    color: var(--light-gold);
    text-decoration: none;
}

.header-top a:hover {
    color: var(--gold);
}

.header-main {
    padding: 0.25rem 2rem 0.5rem;
    text-align: center;
}

.orthodox-cross {
    font-size: 5rem;
    color: var(--gold);
    margin-bottom: 0;
    line-height: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header h1 {
    font-family: 'Cinzel', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

header .subtitle {
    font-size: 1.2rem;
    color: var(--light-gold);
    font-style: italic;
}

header .location {
    margin-top: 0.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

/* Navigation */
nav {
    background: var(--dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-family: 'Cinzel', Georgia, serif;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: background 0.3s, color 0.3s;
}

nav a:hover {
    background: var(--primary-red);
    color: var(--gold);
}

/* Dropdown Menu */
nav .dropdown {
    position: relative;
}

nav .dropdown > .dropdown-content {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 200;
    flex-direction: column;
}

nav .dropdown:hover > .dropdown-content {
    display: flex !important;
}

nav .dropdown-content a {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

nav .dropdown-content a:last-child {
    border-bottom: none;
}

nav .dropdown > a::after {
    content: ' ▾';
    font-size: 0.7em;
}

/* Second dropdown alignment */
nav li:nth-last-child(-n+4) .dropdown-content {
    left: auto;
    right: 0;
}

/* Main Content */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

h2 {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--primary-red);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gold);
    font-weight: 400;
}

h3 {
    font-family: 'Cinzel', Georgia, serif;
    color: var(--dark);
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    font-weight: 400;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--primary-red);
    text-decoration: none;
}

a:hover {
    color: var(--gold);
    text-decoration: underline;
}

/* Welcome Section */
.welcome {
    background: linear-gradient(to right, white, var(--cream));
    border-left: 4px solid var(--gold);
}

.welcome-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
}

/* Service Schedule */
.services {
    background: white;
}

.service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.service-icon {
    font-size: 2rem;
    margin-right: 1.5rem;
    color: var(--gold);
}

.service-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-red);
}

.service-details p {
    margin: 0;
    color: #666;
}

.service-note {
    background: var(--cream);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1.5rem;
    font-style: italic;
}

/* Calendar */
.calendar-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin: 1.5rem 0;
}

.calendar-container iframe {
    display: block;
}

/* Location */
.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .location-info {
        grid-template-columns: 1fr;
    }
}

.address-block {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 4px;
}

.address-block h3 {
    margin-top: 0;
}

/* About Section */
.about-content {
    columns: 2;
    column-gap: 2rem;
}

@media (max-width: 768px) {
    .about-content {
        columns: 1;
    }
}

.about-content p:first-child {
    margin-top: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: var(--cream);
    padding: 1.5rem;
    border-radius: 4px;
    text-align: center;
}

.contact-card h3 {
    margin-top: 0;
    color: var(--primary-red);
}

.contact-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* Affiliation Banner */
.affiliation {
    background: var(--dark);
    color: white;
    text-align: center;
}

.affiliation h2 {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.affiliation a {
    color: var(--light-gold);
}

.affiliation a:hover {
    color: white;
}

/* Footer */
footer {
    background: var(--primary-red);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

footer a {
    color: var(--light-gold);
}

footer a:hover {
    color: white;
}

.footer-cross {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.gold-text {
    color: var(--gold);
}

.btn {
    display: inline-block;
    background: var(--primary-red);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Cinzel', Georgia, serif;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--dark);
    color: white;
    text-decoration: none;
}

/* Quote/Scripture Block */
.scripture {
    background: linear-gradient(to right, var(--cream), white);
    border-left: 4px solid var(--gold);
    padding: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
}

.scripture cite {
    display: block;
    margin-top: 0.5rem;
    font-style: normal;
    color: var(--primary-red);
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .header-main {
        padding: 0.25rem 1rem 0.5rem;
    }

    .orthodox-cross {
        font-size: 4rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Hide dropdowns on mobile - just show main links */
    nav .dropdown-content {
        display: none !important;
    }

    nav .dropdown > a::after {
        display: none;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }
}
