/* --- Variables & Setup --- */
:root {
    --grass-green: #349102;
    --rust: #b63700;
    --antique-blue: #4f7d95;
    --ivory: #edebe0;
    --dark-eggplant: #3a001e;
    
    --font-heading: 'Josefin Slab', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--ivory);
    color: var(--dark-eggplant);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Backgrounds & Text Colors */
.bg-ivory { background-color: var(--ivory); }
.bg-eggplant { background-color: var(--dark-eggplant); }
.text-ivory { color: var(--ivory); }
.text-green { color: var(--grass-green); }
.text-rust { color: var(--rust); }

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(237, 235, 224, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(58, 0, 30, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grass-green);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-eggplant);
}

.nav-links a:hover {
    color: var(--rust);
}

.btn-nav {
    background-color: var(--antique-blue);
    color: var(--ivory) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
}
.btn-nav:hover { background-color: var(--dark-eggplant); }

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-eggplant);
    color: var(--ivory);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2; /* Darkens the image to make text readable */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--grass-green);
    margin-bottom: 0.5rem;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--ivory);
}

.hero p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--rust);
    color: var(--ivory);
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(182, 55, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--grass-green);
    box-shadow: 0 4px 15px rgba(52, 145, 2, 0.4);
}

/* --- Who We Are --- */
.text-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.styled-list {
    margin: 2rem 0 2rem 2rem;
}

.styled-list li {
    margin-bottom: 1rem;
    position: relative;
}

.styled-list li::marker {
    color: var(--rust);
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--antique-blue);
    text-align: center;
    margin-top: 3rem;
    border-top: 1px solid rgba(79, 125, 149, 0.3);
    border-bottom: 1px solid rgba(79, 125, 149, 0.3);
    padding: 2rem 0;
}

/* --- What We Do --- */

#what-we-do {
    /* Using the RGB equivalent of --dark-eggplant (58, 0, 30) at 85% opacity */
    background-image: linear-gradient(rgba(58, 0, 30, 0.85), rgba(58, 0, 30, 0.85)), url('src/moira.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(237, 235, 224, 0.05);
    border: 1px solid rgba(237, 235, 224, 0.1);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(237, 235, 224, 0.1);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--ivory);
}

.card p {
    font-size: 0.95rem;
    color: rgba(237, 235, 224, 0.8);
}

/* Card Top Border Accents */
.card-green { border-top: 4px solid var(--grass-green); }
.card-rust { border-top: 4px solid var(--rust); }
.card-blue { border-top: 4px solid var(--antique-blue); }

/* --- Support Section --- */


#support {
    background-image: linear-gradient(rgba(237, 235, 224, 0.85), rgba(237, 235, 224, 0.85)), url('src/moira2.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: normal;
}

.subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1.5rem auto 3rem auto;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-card {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(58, 0, 30, 0.05);
    border-left: 4px solid var(--antique-blue);
}

.support-card h3 {
    color: var(--dark-eggplant);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.support-card p {
    font-size: 0.95rem;
}

.iban-box {
    background-color: rgba(52, 145, 2, 0.1);
    color: var(--grass-green);
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    font-family: monospace;
    font-size: 1.1rem;
    text-align: center;
}

.small-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-eggplant);
    color: var(--ivory);
    padding: 4rem 0 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    color: var(--grass-green);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-contact h3 {
    color: var(--rust);
    margin-bottom: 1rem;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact a {
    color: rgba(237, 235, 224, 0.8);
}

.footer-contact a:hover {
    color: var(--antique-blue);
}

.footer-bottom {
    background-color: rgba(0,0,0,0.2);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: rgba(237, 235, 224, 0.6);
}

/* --- Scroll Animations --- */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Initial hero animation */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple hidden nav for mobile without JS bloat */
    }
    
    .hero h1 { font-size: 3rem; }
    .hero h2 { font-size: 1.5rem; }
    
    .section { padding: 4rem 0; }
    
    .footer-content {
        flex-direction: column;
    }
}