:root {
    /* Brand Colors from Logo */
    --primary-navy: #2C3E50;
    --secondary-gold: #D4AF37;
    --bg-beige: #F5E6D3;
    --light-beige: #FAF6F0;
    --text-dark: #2C3E50;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --shadow: rgba(44, 62, 80, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-beige);
}

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

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--secondary-gold);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-navy);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 90vh;
    background: linear-gradient(135deg, var(--bg-beige) 0%, var(--white) 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23F5E6D3" width="100" height="100"/><circle cx="50" cy="50" r="40" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.3"/></svg>');
    background-size: 200px;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
    letter-spacing: 3px;
}

.hero-subtitle {
    color: var(--secondary-gold);
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-style: italic;
}

.hero-quote {
    background-color: var(--white);
    padding: 30px;
    border-left: 4px solid var(--secondary-gold);
    margin: 30px 0;
    font-style: italic;
    color: var(--text-dark);
    box-shadow: 0 10px 30px var(--shadow);
}

.hero-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: normal;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.memorial-badge {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px var(--shadow);
    text-align: center;
    border: 2px solid var(--secondary-gold);
}

.memorial-badge img {
    width: 150px;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.memorial-badge p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.memorial-badge strong {
    color: var(--primary-navy);
    display: block;
    margin-top: 5px;
    font-size: 1rem;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #1a252f;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--secondary-gold);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background-color: var(--primary-navy);
    color: var(--white);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-gold);
    margin: 20px auto 0;
}

/* Mission Section */
.mission {
    background-color: var(--white);
}

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-text p {
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}

.mission-stats {
    display: grid;
    gap: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: var(--bg-beige);
    border-radius: 10px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-gold);
}

.stat-label {
    display: block;
    color: var(--text-dark);
    margin-top: 10px;
}

/* Services Section */
.services {
    background-color: var(--light-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s;
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Volunteer Section */
.volunteer {
    background-color: var(--white);
}

.volunteer-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.volunteer-card {
    padding: 30px;
    background-color: var(--bg-beige);
    border-radius: 10px;
    border-top: 4px solid var(--secondary-gold);
}

.volunteer-card h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.volunteer-card ul {
    list-style: none;
}

.volunteer-card li {
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.volunteer-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-gold);
    font-weight: bold;
}

.volunteer-cta {
    text-align: center;
    padding: 40px;
    background-color: var(--light-beige);
    border-radius: 10px;
}

.volunteer-cta p {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
}

/* Contact Section */
.contact {
    background-color: var(--bg-beige);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details p {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-form form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-gold);
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: var(--secondary-gold);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-tagline {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: var(--white);
    margin: 50px auto;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    animation: slideIn 0.3s;
}

.close {
    color: var(--text-light);
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-navy);
}

.modal h2 {
    color: var(--primary-navy);
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.modal form {
    display: grid;
    gap: 20px;
}

.modal input,
.modal select,
.modal textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
    outline: none;
    border-color: var(--secondary-gold);
}

.form-note {
    background-color: var(--bg-beige);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .memorial-badge {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mission-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .volunteer-types {
        grid-template-columns: 1fr;
    }
}