/* Event Horizon Review - Main Stylesheet */
/* Color Palette: Black, White, Deep Blue-Grey, Accent Green */

:root {
    --primary-black: #000000;
    --primary-white: #ffffff;
    --deep-blue-grey: #2c3e50;
    --accent-green: #27ae60;
    --accent-green-dark: #1e8449;
    --light-grey: #ecf0f1;
    --dark-grey: #34495e;
    --text-grey: #7f8c8d;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--deep-blue-grey);
    background-color: var(--primary-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-black);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    font-weight: 400;
    max-width: 700px;
    margin-bottom: 1rem;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-green-dark);
}

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

.content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

/* Header and Navigation */
header {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-white);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--primary-white);
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-green);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-white);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    z-index: 1;
    padding: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.25rem;
    margin: 0 auto 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: var(--accent-green);
    color: var(--primary-white);
    border: none;
    border-radius: 5px;
    font-weight: 400;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-green-dark);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-white);
    margin-left: 1rem;
}

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

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-grey);
    margin: 0 auto;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    margin: 0 auto;
    color: var(--text-grey);
}

/* Statistics Section */
.statistics {
    background-color: var(--deep-blue-grey);
    color: var(--primary-white);
    text-align: center;
}

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

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--light-grey);
}

/* Content Section */
.content-section {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
}

.content-text {
    flex: 1;
    min-width: 300px;
}

.content-image {
    flex: 1;
    min-width: 300px;
}

.content-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--deep-blue-grey), var(--primary-black));
    color: var(--primary-white);
    text-align: center;
    padding: 5rem 2rem;
}

.cta-section h2 {
    color: var(--primary-white);
    margin-bottom: 2rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background-color: var(--light-grey);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card h3 {
    margin-bottom: 0.5rem;
}

.blog-card p {
    color: var(--text-grey);
    margin-bottom: 1rem;
}

/* Article Page */
.article-header {
    text-align: center;
    padding: 3rem 0 2rem;
    background-color: var(--light-grey);
}

.article-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--text-grey);
    font-size: 0.9rem;
}

.article-content {
    padding: 3rem 0;
}

.article-content img {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    display: block;
    border-radius: 10px;
}

.article-content p {
    margin: 0 auto 1.5rem;
}

.article-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-member h3 {
    margin-bottom: 0.25rem;
}

.team-member .role {
    color: var(--accent-green);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-grey);
    font-size: 0.9rem;
    margin: 0 auto;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
}

.timeline-item {
    padding: 1.5rem 2rem;
    background-color: var(--light-grey);
    border-radius: 10px;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem;
}

.timeline-year {
    position: absolute;
    left: 2rem;
    top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-green);
}

.timeline-item h3 {
    margin-bottom: 0.5rem;
}

.timeline-item p {
    margin: 0;
    color: var(--text-grey);
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: var(--deep-blue-grey);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-info {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--accent-green);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-item p {
    margin: 0;
}

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

.social-links a {
    font-size: 1.5rem;
    color: var(--deep-blue-grey);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-green);
}

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 2rem auto;
}

.faq-item {
    background-color: var(--light-grey);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #e0e6e8;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--deep-blue-grey);
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--accent-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 1rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-grey);
}

/* Footer */
footer {
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

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

.footer-section p,
.footer-section a {
    color: var(--light-grey);
    font-size: 0.9rem;
}

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

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

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

.footer-bottom {
    border-top: 1px solid var(--dark-grey);
    padding-top: 1rem;
    text-align: center;
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-black);
    color: var(--primary-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--accent-green);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-black);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav.active {
        max-height: 400px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    nav ul li {
        padding: 0.5rem 2rem;
    }
    
    /* Hero */
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    /* Sections */
    section {
        padding: 2rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    /* Cards */
    .feature-cards,
    .blog-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Content Section */
    .content-section {
        flex-direction: column;
    }
    
    /* Contact */
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Cookie Consent */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet Layout */
    .feature-cards,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
