:root {
    --pine-green: #2d4c3b;
    --stone-gray: #4a4a4a;
    --clay-red: #8b2635;
    --blood-red: #660000;
    --warm-gold: #d4af37;
    --deep-water: #1a2b3c;
    --sand-tan: #e5d3b3;
    --parchment: #fdf5e6;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--parchment);
    color: var(--stone-gray);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .serif {
    font-family: var(--font-serif);
    color: var(--blood-red);
}

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

section {
    padding: 80px 0;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/hero-headwaters.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--sand-tan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-copy {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    margin: 10px;
}

.btn-primary {
    background-color: var(--clay-red);
    color: white;
}

.btn-primary:hover {
    background-color: var(--blood-red);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--blood-red);
}

/* Section Styling */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.earthy-bg {
    background-color: #f4ece1;
}

.dark-bg {
    background-color: var(--pine-green);
    color: white;
}

.dark-bg h2 {
    color: var(--warm-gold);
}

/* Pilgrimage Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--clay-red);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--parchment);
    border: 4px solid var(--clay-red);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }
.right::after { left: -10px; }

/* Form */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Map Section */
#prayer-map {
    height: 500px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: url('../images/watershed-map.jpg') center/cover;
}

/* Footer */
footer {
    background: var(--deep-water);
    color: white;
    padding: 60px 0;
    text-align: center;
}

footer a {
    color: var(--warm-gold);
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0; }
}
