/* Unofficially Wayne - Community Website Styles */

:root {
    --gold: #C4A035;
    --gold-light: #D4B545;
    --gold-dark: #A48825;
    --brown: #5C4033;
    --brown-light: #7A5A45;
    --brown-dark: #3D2A22;
    --cream: #FDF8E8;
    --cream-dark: #F5EED8;
    --text-dark: #2C2C2C;
    --text-muted: #666666;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.15);
}

* {
    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(--cream);
}

a {
    color: var(--brown);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--gold);
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo:hover {
    color: var(--white);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text .unofficial-tag {
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Navigation */
.nav {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--cream);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav a:hover,
.nav a.active {
    background-color: var(--gold);
    color: var(--brown-dark);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Unofficial Banner */
.unofficial-banner {
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--brown-dark);
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.unofficial-banner a {
    color: var(--brown-dark);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 50%, #2a1a12 100%);
    color: var(--white);
    padding: 60px 20px 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(196, 160, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-logo {
    width: 140px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero p {
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto 35px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    display: block;
}

.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--brown-dark);
}

.btn-primary:hover {
    background-color: var(--gold-light);
    color: var(--brown-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--brown);
}

.btn-outline {
    background-color: transparent;
    color: var(--brown);
    border: 2px solid var(--brown);
}

.btn-outline:hover {
    background-color: var(--brown);
    color: var(--white);
}

/* Sections */
.section {
    padding: 60px 20px;
}

.section-alt {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--brown);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-image {
    height: 200px;
    overflow: hidden;
}

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

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: var(--brown);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Quick Links Grid */
.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    border-left: 4px solid var(--gold);
}

.quick-link:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    color: var(--brown);
}

.quick-link-icon {
    font-size: 2rem;
    color: var(--gold);
}

.quick-link-text h4 {
    color: var(--brown);
    margin-bottom: 3px;
}

.quick-link-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Info Box */
.info-box {
    background: var(--cream-dark);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
}

.info-box h3 {
    color: var(--brown);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(196, 160, 53, 0.3);
}

.info-box li:last-child {
    border-bottom: none;
}

/* Warning Box */
.warning-box {
    background: #FFF3CD;
    border: 1px solid #FFDA6A;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.warning-box h4 {
    color: #664D03;
    margin-bottom: 10px;
}

.warning-box p {
    color: #664D03;
    font-size: 0.95rem;
}

/* Disclaimer Box */
.disclaimer-box {
    background: linear-gradient(135deg, #f8f4e8 0%, #f0e8d8 100%);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.disclaimer-box h3 {
    color: var(--brown);
    margin-bottom: 15px;
}

.disclaimer-box p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Facebook Embeds */
.social-feeds {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.social-feed {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.social-feed h4 {
    background: var(--brown);
    color: var(--white);
    padding: 12px 15px;
    font-size: 0.95rem;
}

.social-feed iframe {
    width: 100%;
    border: none;
}

/* Photo Gallery */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 40px 15px 15px;
    font-size: 0.9rem;
}

/* Business List */
.business-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.business-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    border-left: 4px solid var(--gold);
}

.business-card h3 {
    color: var(--brown);
    margin-bottom: 10px;
}

.business-card .category {
    display: inline-block;
    background: var(--cream-dark);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.business-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.coming-soon-text {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px 20px;
    background: var(--cream-dark);
    border-radius: 8px;
    margin-top: 30px;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.contact-card h3 {
    color: var(--brown);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.contact-card p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.contact-card strong {
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
    color: var(--cream);
    padding: 40px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p,
.footer-section a {
    color: var(--cream);
    opacity: 0.9;
    font-size: 0.95rem;
}

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

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--gold);
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 8px;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: var(--brown);
    color: var(--white);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: var(--gold);
    color: var(--brown-dark);
}

.modal-content img {
    width: 100%;
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-dark) 100%);
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}

.page-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--brown-dark);
        margin-top: 15px;
        border-radius: 8px;
        padding: 10px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 12px 15px;
        border-radius: 4px;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

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

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .social-feeds {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section {
        padding: 40px 15px;
    }
}
