/* Event Horizon Review - Global Styles */

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

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

:root {
    /* Color Palette */
    --color-black: #0a0a0a;
    --color-dark-bg: #121212;
    --color-blue-grey: #1e2936;
    --color-blue-grey-light: #2a3947;
    --color-white: #ffffff;
    --color-grey-text: #b0b0b0;
    --color-accent-green: #00d084;
    --color-accent-green-dark: #00a568;
    --color-accent-green-light: #00f49a;
    
    /* Typography */
    --font-body: 'Poppins', sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --section-padding: 80px 20px;
    --container-max-width: 1200px;
    --content-max-width: 700px;
}

body {
    font-family: var(--font-body);
    font-weight: var(--font-weight-light);
    background-color: var(--color-dark-bg);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: var(--content-max-width);
}

/* ========================================
   LAYOUT UTILITIES
   ======================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

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

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-accent-green);
    margin: 1rem auto 0;
}

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

.text-grey {
    color: var(--color-grey-text);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-accent-green);
    color: var(--color-white);
    font-weight: var(--font-weight-semibold);
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    background: var(--color-accent-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 208, 132, 0.3);
}

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

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

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.header {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.logo span {
    color: var(--color-accent-green);
}

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

.nav-menu a {
    font-weight: var(--font-weight-normal);
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-accent-green);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.7), rgba(18, 18, 18, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.3rem;
    margin: 0 auto 2.5rem;
    color: var(--color-grey-text);
    max-width: 700px;
}

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

.feature-card {
    background: var(--color-blue-grey);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.2);
    border-color: var(--color-accent-green);
}

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

.feature-card h3 {
    margin-bottom: 1rem;
}

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

/* ========================================
   STATISTICS SECTION
   ======================================== */
.stats-section {
    background: var(--color-blue-grey);
    padding: 5rem 20px;
}

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

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-green);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* ========================================
   CONTENT SECTIONS
   ======================================== */
.content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.content-section img {
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.content-section.reverse {
    direction: rtl;
}

.content-section.reverse > * {
    direction: ltr;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--color-blue-grey) 0%, var(--color-blue-grey-light) 100%);
    text-align: center;
    padding: 5rem 20px;
    border-radius: 10px;
    margin: 4rem 0;
}

.cta-section h2 {
    margin-bottom: 2rem;
}

/* ========================================
   BLOG GRID
   ======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--color-blue-grey);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 208, 132, 0.15);
}

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

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

.blog-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

.blog-meta {
    font-size: 0.9rem;
    color: var(--color-accent-green);
    margin-bottom: 0.5rem;
}

/* ========================================
   BLOG ARTICLE
   ======================================== */
.article-header {
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: center;
}

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

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--color-grey-text);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.article-featured-image {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

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

.article-content p {
    max-width: 100%;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

/* ========================================
   TEAM SECTION
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-member {
    background: var(--color-blue-grey);
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 208, 132, 0.15);
}

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

.team-member-info {
    padding: 1.5rem;
}

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

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

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

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-accent-green);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -56px;
    top: 5px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--color-accent-green);
    border: 3px solid var(--color-dark-bg);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-accent-green);
    margin-bottom: 0.5rem;
}

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

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

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form {
    background: var(--color-blue-grey);
    padding: 3rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-normal);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-dark-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

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

.contact-info {
    background: var(--color-blue-grey);
    padding: 3rem 2rem;
    border-radius: 10px;
    height: fit-content;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item p,
.contact-item a {
    color: var(--color-grey-text);
    display: block;
    margin-top: 0.3rem;
}

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

.map-embed {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-list {
    max-width: 900px;
    margin: 3rem auto;
}

.faq-item {
    background: var(--color-blue-grey);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: 1rem;
    color: var(--color-accent-green);
}

.faq-answer {
    color: var(--color-grey-text);
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-black);
    padding: 4rem 20px 2rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.footer-section p,
.footer-section a {
    color: var(--color-grey-text);
    font-size: 0.95rem;
    line-height: 1.8;
}

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

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

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

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

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-blue-grey);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--color-accent-green);
    transform: translateY(-3px);
}

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

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-blue-grey);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: none;
    border-top: 2px solid var(--color-accent-green);
}

.cookie-consent.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;
    font-size: 0.95rem;
    color: var(--color-grey-text);
}

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

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

.cookie-buttons .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .content-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 50px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .btn-group {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-group .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--color-blue-grey);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
    
    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-item::before {
        left: -36px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem 1.5rem;
    }
}
