/* Import a clean, modern tech font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

/* Base Reset & Dark Mode Variables */
:root {
    --bg-dark: #0d1117;       /* Deep space background (GitHub style) */
    --bg-card: #161b22;       /* Slightly lighter dark for cards */
    --text-main: #c9d1d9;     /* Soft white/grey for readable paragraphs */
    --text-header: #ffffff;   /* Pure white for punchy headers */
    --accent-cyan: #00f0ff;   /* Neon cyan from your bee logo */
    --accent-green: #00ffcc;  /* Neon green/teal from your bee logo */
    --border-dark: #30363d;   /* Subtle borders */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* Header & Navigation */
header {
    background-color: rgba(13, 17, 23, 0.95);
    padding: 1rem 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container img {
    max-height: 60px; /* Scales your uploaded logo perfectly */
    width: auto;
}

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

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

/* Accessible Read Aloud Button */
#readAloudBtn {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

#readAloudBtn:hover {
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.6);
}

/* Main Content Container */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Headers */
h1, h2, h3 {
    color: var(--text-header);
    line-height: 1.2;
}

/* Hero Section */
#hero {
    text-align: center;
    margin-bottom: 5rem;
}

#hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Navigation Cards */
.quick-nav-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 2.5rem;
    width: 320px;
    border-radius: 8px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

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

/* Newsletter Signup */
.newsletter-signup {
    background-color: var(--bg-card);
    padding: 3rem;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-dark);
    text-align: center;
}

.newsletter-signup input[type="email"] {
    padding: 1rem;
    width: 65%;
    border: 1px solid var(--border-dark);
    background-color: var(--bg-dark);
    color: var(--text-main);
    border-radius: 4px 0 0 4px;
    font-family: inherit;
}

.newsletter-signup button {
    padding: 1rem 2rem;
    background-color: var(--accent-cyan);
    color: var(--bg-dark);
    border: none;
    font-weight: 800;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-signup button:hover {
    background-color: var(--accent-green);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.5);
}

hr {
    border: 0;
    height: 1px;
    background: var(--border-dark);
    margin: 4rem 0;
}

/* Content Spotlight: Camera Safety */
#camera-safety-spotlight h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.pros-cons {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.pros, .cons {
    flex: 1;
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-dark);
}

.pros h3 {
    color: var(--accent-green);
}

.cons h3 {
    color: #ff4d4d; /* Cyber red */
}

.pros-cons ul {
    margin-left: 1.5rem;
    margin-top: 1.5rem;
}

.the-verdict {
    margin-top: 2.5rem;
    background-color: rgba(0, 240, 255, 0.05);
    border: 1px solid var(--accent-cyan);
    padding: 2.5rem;
    border-radius: 8px;
}

.the-verdict h3 {
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--bg-card);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-dark);
    margin-top: 5rem;
}

footer a {
    color: var(--text-main);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-cyan);
}

.disclaimer {
    font-size: 0.85rem;
    color: #8b949e;
    max-width: 800px;
    margin: 2rem auto;
}

/* =========================================
   Mobile Responsiveness (Screens under 768px)
   ========================================= */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-header);
    transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .logo-container img {
        max-height: 45px; /* Slightly smaller logo on mobile */
    }

    .hamburger {
        display: block;
    }

    #nav-menu {
        display: none;
        width: 100%;
        margin-top: 1rem;
    }

    #nav-menu.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-dark);
    }

    #readAloudBtn {
        width: 100%;
        margin-top: 1rem;
        order: 3;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    #hero h2 {
        font-size: 2.2rem;
    }

    .quick-nav-cards, .pros-cons {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        max-width: 400px;
    }

    .newsletter-signup form {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-signup input[type="email"],
    .newsletter-signup button {
        width: 100%;
        border-radius: 4px;
    }
}