/* Base Styles */
:root {
    --primary-color: #5e35b1; /* Purple for gaming theme */
    --secondary-color: #00b0ff; /* Bright blue for accents */
    --accent-color: #ff9100; /* Orange for call-to-actions */
    --text-color: #212121;
    --text-light: #757575;
    --bg-color: #f5f5f7;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}

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

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: #ff6d00;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

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

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

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

h1, h2, h3, h4 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.logo-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

header h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 5px;
}

nav a.active {
    color: var(--primary-color);
    background-color: rgba(94, 53, 177, 0.1);
}

nav a:hover {
    background-color: rgba(94, 53, 177, 0.1);
}

nav i {
    font-size: 1.2rem;
}

/* Icon fonts */
.icon-home:before {
    content: "🏠";
}

.icon-blog:before {
    content: "📝";
}

.icon-about:before {
    content: "👥";
}

.icon-contact:before {
    content: "📞";
}

.icon-location:before {
    content: "📍";
}

.icon-phone:before {
    content: "📱";
}

.icon-email:before {
    content: "✉️";
}

.icon-hours:before {
    content: "🕒";
}

.icon-accuracy:before {
    content: "🎯";
}

.icon-community:before {
    content: "🤝";
}

.icon-accessibility:before {
    content: "🔑";
}

.icon-education:before {
    content: "📚";
}

/* Main Content Styles */
main {
    padding: 40px 5%;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 400px;
}

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

/* Features Section */
.features {
    margin-bottom: 60px;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

.card p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Latest Posts Section */
.latest-posts {
    margin-bottom: 60px;
}

.latest-posts h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

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

.post-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-card h3 {
    color: var(--primary-color);
    padding: 20px 20px 10px;
    font-size: 1.2rem;
}

.post-card p {
    padding: 0 20px 15px;
    color: var(--text-light);
}

.post-card .btn-small {
    margin: 0 20px 20px;
}

.view-all {
    text-align: center;
}

/* Checklist Section */
.checklist-section {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 60px;
}

.checklist-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.checklist-container {
    display: flex;
    flex-direction: column;
}

.checklist {
    margin-bottom: 20px;
}

.checklist-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.checklist-item input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-color);
    border-radius: 3px;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
}

.checklist-item input[type="checkbox"]:checked {
    background-color: var(--primary-color);
}

.checklist-item input[type="checkbox"]:checked::after {
    content: '✓';
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 12px;
}

.checklist-item label {
    cursor: pointer;
    font-size: 1.05rem;
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Blog Page Styles */
.blog-page {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.blog-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.blog-post {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    overflow: hidden;
}

.post-header {
    position: relative;
}

.post-header img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.post-header h2 {
    padding: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.post-meta {
    display: flex;
    gap: 20px;
    padding: 0 20px 15px;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.post-body {
    padding: 20px;
}

.post-body h3 {
    color: var(--primary-color);
    margin-top: 25px;
}

/* About Page Styles */
.about-page {
    max-width: 1000px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.about-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.about-story {
    margin-bottom: 60px;
}

.about-story h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.story-content {
    display: flex;
    gap: 30px;
    align-items: center;
}

.story-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.story-text {
    flex: 1;
}

.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

.team-member {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    color: var(--primary-color);
    margin: 15px 0 5px;
    padding: 0 15px;
}

.team-member p {
    padding: 0 15px 15px;
    margin-bottom: 5px;
}

.team-member p:first-of-type {
    font-weight: bold;
    color: var(--text-light);
}

.values-section {
    margin-bottom: 60px;
}

.values-section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

.value-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* Contact Page Styles */
.contact-page {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.contact-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-content {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-form-container {
    flex: 2;
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.form-group .checklist {
    margin-top: 10px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.info-details h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.info-details p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.social-connect {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.social-connect h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.map-section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Styles */
footer {
    background-color: #212121;
    color: var(--white);
    padding: 60px 5% 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0bec5;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #b0bec5;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-contact .social-icons {
    margin-top: 20px;
}

.footer-contact .social-icons a {
    color: #b0bec5;
}

.footer-contact .social-icons a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #424242;
    color: #b0bec5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 20px;
}

.modal-btn {
    display: inline-block;
    min-width: 100px;
}

/* Cookie Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.95);
    color: var(--white);
    padding: 15px 5%;
    z-index: 999;
}

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

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: underline;
    font-size: 0.9rem;
}

.cookie-content a:hover {
    color: var(--white);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-image {
        flex: auto;
        width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .story-content {
        flex-direction: column;
    }
    
    .story-image,
    .story-text {
        flex: auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .post-previews,
    .feature-cards,
    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .blog-post .post-header img {
        height: 250px;
    }
}
