/* Event Horizon Review - Main Stylesheet */

/* Import Poppins Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* CSS Variables - Color Palette */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-deep-blue-grey: #2c3e50;
    --color-blue-grey-light: #34495e;
    --color-accent-green: #27ae60;
    --color-accent-green-dark: #1e8449;
    --color-grey-light: #ecf0f1;
    --color-grey-medium: #95a5a6;
    --color-text: #2c3e50;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

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

/* Header & Navigation */
header {
    background-color: var(--color-deep-blue-grey);
    color: var(--color-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;
}

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

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

nav a {
    color: var(--color-white);
    font-weight: 400;
    transition: color 0.3s ease;
}

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

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

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

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

.btn-secondary {
    background-color: var(--color-blue-grey-light);
}

.btn-secondary:hover {
    background-color: var(--color-deep-blue-grey);
}

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

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

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

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

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

.hero p {
    font-size: 1.2rem;
    margin: 0 auto 2rem;
    max-width: 600px;
}

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

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-dark {
    background-color: var(--color-grey-light);
}

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

.section-header h2 {
    color: var(--color-deep-blue-grey);
}

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

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

.feature-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.feature-card h3 {
    color: var(--color-deep-blue-grey);
    margin-bottom: 1rem;
}

.feature-card p {
    margin: 0 auto;
}

/* Content Section with Image */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

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

/* Statistics Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

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

.stat-label {
    font-size: 1.1rem;
    color: var(--color-deep-blue-grey);
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--color-deep-blue-grey), var(--color-blue-grey-light));
    color: var(--color-white);
    text-align: center;
    padding: 4rem 2rem;
}

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

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

.blog-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px 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 {
    color: var(--color-deep-blue-grey);
    margin-bottom: 1rem;
}

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

/* Article Page */
.article-header {
    text-align: center;
    margin-bottom: 3rem;
}

.article-meta {
    color: var(--color-grey-medium);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.article-content img {
    margin: 2rem auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-content h2 {
    margin-top: 2rem;
    color: var(--color-deep-blue-grey);
}

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

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

.team-member {
    text-align: center;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.team-member h3 {
    color: var(--color-deep-blue-grey);
    margin-bottom: 0.5rem;
}

.team-member .role {
    color: var(--color-accent-green);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-grey-light);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-accent-green);
    min-width: 80px;
}

.timeline-content h3 {
    color: var(--color-deep-blue-grey);
}

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

.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(--color-deep-blue-grey);
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 1px solid var(--color-grey-medium);
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

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

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

.contact-info h3 {
    color: var(--color-deep-blue-grey);
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
}

.contact-info a {
    color: var(--color-accent-green);
}

.contact-info a:hover {
    text-decoration: underline;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--color-accent-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

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

.faq-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--color-deep-blue-grey);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--color-deep-blue-grey);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

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

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

.footer-section p,
.footer-section a {
    color: var(--color-grey-light);
    margin-bottom: 0.5rem;
    max-width: none;
}

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

.footer-links {
    list-style: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-blue-grey-light);
    color: var(--color-grey-light);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-deep-blue-grey);
    color: var(--color-white);
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 2000;
    display: none;
}

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

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

.cookie-content p {
    margin: 0;
    max-width: none;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--color-deep-blue-grey);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        padding: 0.5rem 1rem;
    }
    
    /* Hero */
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    /* Single column layouts */
    .content-with-image,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    /* Timeline */
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
