/* PCSD Website Stylesheet */
/* Color Palette: Black, Brown, Gold, Purple */
:root {
    --primary-black: #1A1A1A;
    --primary-brown: #8B6F47;
    --primary-purple: #6B4C8A;
    --accent-gold: #D4AF37;
    --text-dark: #1A1A1A;
    --text-light: #4A4A4A;
    --background-light: #F9F7F5;
    --white: #FFFFFF;
    --error-red: #C1666B;
    --success-green: #48A868;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Emergency Exit Button */
.emergency-exit {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.emergency-exit a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--primary-black);
    color: var(--accent-gold);
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.emergency-exit a:hover {
    background-color: var(--primary-brown);
    transform: scale(1.1);
}

.exit-icon {
    font-weight: bold;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-black);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.org-name {
    color: var(--primary-black);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.emergency-link {
    color: var(--error-red);
}

.emergency-link:hover {
    color: var(--error-red);
}

.donate-link {
    background-color: var(--accent-gold);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
}

.donate-link:hover {
    background-color: var(--primary-brown);
    color: var(--white);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--primary-brown) 100%);
    color: var(--text-dark);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
    color: var(--text-dark);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--primary-black);
}

.btn-primary:hover {
    background-color: var(--primary-brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-black);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--primary-black);
}

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

.btn-accent:hover {
    background-color: var(--accent-gold);
    color: var(--primary-black);
}

/* Featured Program Section */
.featured-program {
    background-color: var(--white);
    padding: 4rem 2rem;
}

.featured-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.featured-image {
    text-align: center;
}

.phoenix-logo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(107, 76, 138, 0.2);
}

.featured-content h2 {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.featured-subtitle {
    font-size: 1.3rem;
    color: var(--primary-brown);
    margin-bottom: 1rem;
    font-style: italic;
}

.featured-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

/* Quick Links Section */
.quick-links {
    background-color: #F0EBE5;
    padding: 4rem 2rem;
}

.quick-links-container {
    max-width: 1000px;
    margin: 0 auto;
}

.quick-links h2 {
    font-size: 2rem;
    color: var(--primary-black);
    text-align: center;
    margin-bottom: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.quick-link {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-left: 5px solid var(--accent-gold);
}

.quick-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(139, 111, 71, 0.2);
    background-color: var(--background-light);
}

.link-icon {
    font-size: 2.5rem;
}

.link-text {
    font-weight: 600;
    color: var(--primary-black);
}

/* Footer */
.footer {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section p,
.footer-section a {
    color: var(--white);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--accent-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .featured-container {
        grid-template-columns: 1fr;
    }

    .phoenix-logo {
        width: 200px;
        height: 200px;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .emergency-exit a {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero {
        padding: 3rem 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-buttons {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .featured-program {
        padding: 2rem 1rem;
    }

    .quick-links {
        padding: 2rem 1rem;
    }

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

/* Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .emergency-exit,
    .navbar {
        display: none;
    }
}
