/* The Guyton Group Trust - Premium Arts & Community Theme */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@500;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    /* Primary Brand Colors - Arts & Heritage */
    --primary: #C0392B;
    --primary-dark: #8E281D;
    --primary-light: #F2D7D5;

    --secondary: #2C3E50;
    --secondary-light: #D6DBDF;

    --accent: #D35400;
    --gold: #F1C40F;

    /* Neutrals */
    --bg-body: #FDFBF7;
    --bg-section: #FFFFFF;
    --text-main: #2C3E50;
    --text-light: #566573;
    --border: #EAECEE;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.05);
    --shadow-md: 0 8px 16px rgba(44, 62, 80, 0.08);
    --shadow-lg: 0 16px 32px rgba(44, 62, 80, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
    --duration: 0.3s;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    line-height: 1.25;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--duration) var(--ease);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--secondary);
    color: white;
    padding: 0.75rem 0;
    font-size: 0.9rem;
}

.top-bar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.top-info span {
    opacity: 0.9;
}

.top-social span {
    opacity: 0.8;
    font-weight: 500;
}

/* ========== HEADER ========== */
header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand .logo-img {
    height: 65px;
    width: auto;
}

.brand-text h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary);
    line-height: 1.1;
}

.brand-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    color: var(--text-light);
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    padding: 0.5rem 0;
    position: relative;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--duration) var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-donate {
    display: inline-flex;
    align-items: center;
    background: var(--primary);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-donate:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 500px;
    padding: 8rem 2rem 6rem;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(44, 62, 80, 0.75), rgba(44, 62, 80, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
}

/* ========== PAGE BANNER ========== */
.page-banner {
    background: var(--secondary);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.page-banner h1 {
    color: white;
    margin-bottom: 0.5rem;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ========== CONTENT SECTIONS ========== */
.section {
    padding: 5rem 2rem;
}

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

/* ========== CARDS ========== */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

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

.card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-body h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.card-body p {
    font-size: 1rem;
    color: var(--text-light);
    flex: 1;
    margin-bottom: 0;
}

.card-link {
    margin-top: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.card-link:hover {
    gap: 0.75rem;
    color: var(--primary-dark);
}

/* ========== ABOUT SPLIT SECTION ========== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content span {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.about-img-wrapper {
    position: relative;
}

.about-img-wrapper::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.info-box {
    background: var(--bg-body);
    padding: 1.5rem;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    margin-top: 2rem;
}

.info-box h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.info-box p {
    font-size: 0.95rem;
    margin: 0;
}

/* ========== FOOTER ========== */
footer {
    background: var(--secondary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h5 {
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    color: var(--secondary);
}

.info-content p {
    margin: 0;
    font-size: 0.95rem;
}

.info-content a {
    color: var(--primary);
    font-weight: 600;
}

.info-content a:hover {
    text-decoration: underline;
}

.map-frame {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 450px;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: none;
}

.charity-badge {
    background: var(--bg-body);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-top: 1.5rem;
}

.charity-badge strong {
    color: var(--secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.charity-badge p {
    font-size: 0.85rem;
    margin: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        text-align: center;
    }

    .top-info {
        justify-content: center;
    }

    .header-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu {
        display: none;
        /* For mobile, need JS toggle */
    }

    .brand {
        justify-content: center;
    }

    .brand .logo-img {
        height: 50px;
    }

    .brand-text h1 {
        font-size: 1.25rem;
    }

    .btn-donate {
        margin-top: 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero {
        min-height: 400px;
        padding: 5rem 1.5rem 4rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}