:root {
    --red: #c1272d;
    --navy: #1b2a49;
    --white: #ffffff;
    --gold: #d4af37;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: var(--white);
    color: var(--navy);
}

/* ================= Header ================= */
header {
    background: linear-gradient(90deg, var(--navy) 0%, #0e1735 100%);
    color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    position: relative;
}

/* Logo Centered & Larger */
.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.logo img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.4px;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--gold);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    gap: 6px;
    z-index: 101;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Mobile Nav */
@media (max-width: 850px) {
    nav ul {
        position: absolute;
        top: 100%;
        right: 0;
        flex-direction: column;
        background: var(--navy);
        width: 100%;
        text-align: center;
        display: none;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    }

    nav ul.show {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .logo {
        position: relative;
        left: 0;
        transform: none;
        margin: 0 auto;
    }

    .logo img {
        height: 56px;
        width: 56px;
    }
}

/* ================= Hero Section ================= */
.hero {
    background: url('../images/hero.jpg') center/cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero .overlay {
    text-align: center;
    color: var(--white);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.donate-btn {
    background: linear-gradient(135deg, var(--red), #8b0000);
    color: var(--white);
    padding: 12px 28px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.donate-btn:hover {
    transform: scale(1.05);
    background: var(--red);
}

/* ================= Page Layouts ================= */
.mission {
    max-width: 900px;
    margin: 4rem auto;
    text-align: center;
    line-height: 1.6;
    padding: 0 16px;
}

.page-banner {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 4rem 1rem;
}

.page-banner h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-banner p {
    font-size: 1.1rem;
    color: var(--gold);
}

/* ================= Footer ================= */
footer {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

/* ================= Gallery & About ================= */
.about-content {
    max-width: 900px;
    margin: 3rem auto;
    line-height: 1.7;
    padding: 0 16px;
}

.about-content h2 {
    font-family: 'Oswald', sans-serif;
    margin-top: 2rem;
    color: var(--navy);
}

.gallery-section {
    padding: 3rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* ================= Fixed + Modern Contact Page ================= */
.contact-container {
    max-width: 1100px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.contact-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    align-items: start;
}

/* Form styles */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--navy);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* Info panel styles */
.contact-info {
    background: var(--navy);
    color: var(--white);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.contact-info p {
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.socials {
    margin-top: 1rem;
    display: flex;
    gap: 10px;
}

.socials img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.socials img:hover {
    transform: scale(1.1);
}

/* Banner tweak */
.contact-hero {
    background: linear-gradient(120deg, var(--navy), #0e1735);
    color: var(--white);
    text-align: center;
    padding: 5rem 1rem 4rem;
    box-shadow: inset 0 -6px 20px rgba(0, 0, 0, 0.4);
}

/* Mobile */
@media (max-width: 850px) {
    .contact-card {
        grid-template-columns: 1fr;
    }

    .contact-info {
        margin-top: 2rem;
        text-align: center;
    }

    .socials {
        justify-content: center;
    }
}