/*
Theme Name: Agora Art Center
Theme URI: https://agoraartcenter.org
Description: Custom theme for AGORA Association — A Non-Profit Organization for Contemporary Art
Version: 1.0
Author: Agora Art Center
Author URI: https://agoraartcenter.org
License: GNU General Public License v2 or later
Text Domain: agora
*/

:root {
    --color-bg: #F5F0EB;
    --color-bg-alt: #EDE6DD;
    --color-dark: #1A1A1A;
    --color-text: #2C2C2C;
    --color-text-light: #6B6560;
    --color-accent: #B8472A;
    --color-accent-hover: #9C3B22;
    --color-warm: #D4A574;
    --color-white: #FFFFFF;
    --color-border: #D4CEC6;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body); color: var(--color-text); background: var(--color-bg);
    line-height: 1.7; font-weight: 300; overflow-x: hidden;
}

/* ─── NAVIGATION ─── */
.site-nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(245, 240, 235, 0.92); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--color-border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo {
    font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
    color: var(--color-dark); text-decoration: none; letter-spacing: 0.03em;
}
.nav-logo span { color: var(--color-accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    font-size: 0.85rem; font-weight: 400; color: var(--color-text-light);
    text-decoration: none; text-transform: uppercase; letter-spacing: 0.12em;
    transition: color 0.3s; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 1.5px; background: var(--color-accent); transition: width 0.3s;
}
.nav-links a:hover { color: var(--color-accent); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-dark); transition: 0.3s; }

/* ─── HERO ─── */
.hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 8rem 2rem 4rem; position: relative;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(184, 71, 42, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
        var(--color-bg);
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8472A' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero-content { position: relative; max-width: 800px; animation: fadeUp 1.2s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.25em;
    color: var(--color-accent); font-weight: 500; margin-bottom: 1.5rem;
}
.hero h1 {
    font-family: var(--font-display); font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300; line-height: 1.05; color: var(--color-dark); margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--color-accent); }
.hero p {
    font-size: 1.15rem; color: var(--color-text-light);
    max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8;
}
.hero-cta { display: inline-flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-block; padding: 0.9rem 2.2rem; font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.12em; text-decoration: none; border-radius: 0;
    transition: all 0.35s ease; cursor: pointer; border: none;
}
.btn-primary { background: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184, 71, 42, 0.25); }
.btn-outline { background: transparent; color: var(--color-dark); border: 1.5px solid var(--color-dark); }
.btn-outline:hover { background: var(--color-dark); color: var(--color-white); transform: translateY(-2px); }
.btn-nav { padding: 0.5rem 1.2rem; font-size: 0.75rem; }

/* ─── SECTIONS ─── */
.agora-section { padding: 6rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
    color: var(--color-accent); font-weight: 500; margin-bottom: 1rem;
}
.section-title {
    font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300; color: var(--color-dark); margin-bottom: 1.5rem; line-height: 1.15;
}
.section-divider { width: 60px; height: 2px; background: var(--color-accent); margin-bottom: 2rem; }

/* ─── ABOUT ─── */
.section-about { background: var(--color-white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 2rem; }
.about-text p { margin-bottom: 1.5rem; color: var(--color-text); font-size: 1rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.stat-item { padding: 1.5rem; background: var(--color-bg); border-left: 3px solid var(--color-accent); }
.stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--color-accent); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--color-text-light); margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── MISSION ─── */
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.mission-card {
    padding: 2.5rem 2rem; background: var(--color-white);
    border: 1px solid var(--color-border); transition: all 0.4s ease;
    position: relative; overflow: hidden;
}
.mission-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.mission-card:hover::before { transform: scaleX(1); }
.mission-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); }
.mission-icon { font-size: 2.2rem; margin-bottom: 1.2rem; display: block; }
.mission-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--color-dark); margin-bottom: 0.8rem; }
.mission-card p { font-size: 0.95rem; color: var(--color-text-light); line-height: 1.7; }

/* ─── TIMELINE ─── */
.section-projects { background: var(--color-white); }
.timeline { margin-top: 3rem; position: relative; }
.timeline::before { content: ''; position: absolute; left: 40px; top: 0; bottom: 0; width: 2px; background: var(--color-border); }
.timeline-year { position: relative; padding-left: 90px; margin-bottom: 2.5rem; }
.timeline-year-label {
    position: absolute; left: 0; top: 0; width: 80px; height: 36px;
    background: var(--color-accent); color: var(--color-white);
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; z-index: 1;
}
.timeline-items { display: flex; flex-direction: column; gap: 1rem; }
.timeline-item {
    padding: 1.5rem 2rem; background: var(--color-bg);
    border-left: 3px solid var(--color-warm); transition: all 0.3s;
}
.timeline-item:hover { transform: translateX(6px); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06); }
.timeline-item h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--color-dark); margin-bottom: 0.3rem; }
.timeline-type { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); font-weight: 500; margin-bottom: 0.4rem; }
.timeline-donor { font-size: 0.88rem; color: var(--color-text-light); }

/* ─── DONORS ─── */
.donors-section { text-align: center; }
.donors-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem; margin-top: 2.5rem; }
.donor-item { padding: 0.8rem 1.5rem; border: 1px solid var(--color-border); font-size: 0.88rem; color: var(--color-text-light); font-weight: 400; transition: all 0.3s; }
.donor-item:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ─── SUPPORT ─── */
.support-section { background: var(--color-dark); color: var(--color-white); text-align: center; }
.support-section .section-title { color: var(--color-white); }
.support-section p { color: rgba(255, 255, 255, 0.7); max-width: 600px; margin: 0 auto 2.5rem; font-size: 1.05rem; }
.support-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 800px; margin: 0 auto 2.5rem; }
.support-card { padding: 2rem 1.5rem; border: 1px solid rgba(255, 255, 255, 0.15); transition: all 0.3s; }
.support-card:hover { border-color: var(--color-accent); background: rgba(184, 71, 42, 0.1); }
.support-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; margin-bottom: 0.5rem; }
.support-card p { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin: 0; }
.btn-donate { background: var(--color-accent); color: var(--color-white); padding: 1rem 3rem; font-size: 0.9rem; }
.btn-donate:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184, 71, 42, 0.35); }

/* ─── CONTACT ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 2rem; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: var(--color-bg-alt); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-light); font-weight: 500; margin-bottom: 0.2rem; }
.contact-info-item p { font-size: 1rem; color: var(--color-dark); }
.contact-info-item a { color: var(--color-accent); text-decoration: none; }
.contact-info-item a:hover { text-decoration: underline; }

/* Contact Form 7 Styling */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
    width: 100%; padding: 1rem; border: 1px solid var(--color-border);
    background: var(--color-white); font-family: var(--font-body);
    font-size: 0.95rem; color: var(--color-text); margin-bottom: 0.5rem;
    outline: none; transition: border-color 0.3s; border-radius: 0;
}
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 textarea:focus { border-color: var(--color-accent); }
.wpcf7 textarea { height: 140px; resize: vertical; }
.wpcf7 input[type="submit"] {
    display: inline-block; padding: 0.9rem 2.2rem; font-family: var(--font-body);
    font-size: 0.85rem; font-weight: 500; text-transform: uppercase;
    letter-spacing: 0.12em; border: none; border-radius: 0;
    background: var(--color-accent); color: var(--color-white);
    cursor: pointer; transition: all 0.35s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184, 71, 42, 0.25); }
.wpcf7 p { margin-bottom: 0.5rem; }

/* ─── FOOTER ─── */
.site-footer { background: var(--color-dark); color: rgba(255, 255, 255, 0.5); padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--color-white); text-decoration: none; }
.footer-logo span { color: var(--color-accent); }
.footer-text { font-size: 0.82rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
    width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.6); text-decoration: none;
    font-size: 0.85rem; font-weight: 500; transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ─── BLOG / PAGES ─── */
.page-content, .post-content { max-width: 800px; margin: 0 auto; padding: 8rem 2rem 4rem; }
.page-content h1, .post-content h1 { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--color-dark); margin-bottom: 2rem; }
.page-content p, .post-content p { margin-bottom: 1.5rem; }
.page-content img, .post-content img { max-width: 100%; height: auto; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column; position: absolute;
        top: 72px; left: 0; right: 0; background: var(--color-bg);
        padding: 2rem; border-bottom: 1px solid var(--color-border); gap: 1.5rem;
    }
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .mission-cards { grid-template-columns: 1fr; }
    .support-options { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .about-stats { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .agora-section { padding: 4rem 1.5rem; }
    .timeline-year { padding-left: 70px; }
    .timeline::before { left: 30px; }
}
