/* style.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background-color: #1a1a1a;
    color: #ffc72c;
    text-align: center;
    padding: 40px 20px 20px 20px;
    border-bottom: 5px solid #ffc72c;
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5em;
}

nav {
    margin-top: 15px;
}

nav a {
    color: #ffc72c;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 15px;
    padding: 8px 15px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.3s;
}

nav a:hover {
    background-color: #ffc72c;
    color: #1a1a1a;
    border: 2px solid #ffc72c;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

h2 {
    color: #1a1a1a;
    border-left: 5px solid #ffc72c;
    padding-left: 10px;
    text-align: left;
}

.code-box {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 5px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
    text-align: left;
}

.btn {
    display: inline-block;
    background-color: #ffc72c;
    color: #1a1a1a;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 5px;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    transition: 0.3s;
    width: 80%;
    max-width: 400px;
}

.btn:hover {
    background-color: #1a1a1a;
    color: #ffc72c;
}

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #666;
}

/* --- Activity Cards & Reveal Buttons --- */
.activity-card {
    background-color: #fff9e6; /* Light gold background */
    border: 2px dashed #ffc72c;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    text-align: left;
}

.activity-card h3 {
    margin-top: 0;
    color: #1a1a1a;
}

/* Styles the interactive "Reveal" dropdown */
details {
    margin-top: 15px;
    background-color: #1a1a1a;
    padding: 10px;
    border-radius: 5px;
}

summary {
    cursor: pointer;
    font-weight: bold;
    color: #ffc72c; /* HBA Gold */
    outline: none;
}

.answer-box {
    margin-top: 10px;
    padding: 15px;
    background-color: #2d2d2d;
    color: #f8f8f2;
    border-left: 3px solid #ffc72c;
    font-family: 'Courier New', Courier, monospace;
    border-radius: 0 5px 5px 0;
}

/* --- Site Logo Sizing --- */
.site-logo {
    max-width: 300px; /* This keeps the logo at a reasonable size */
    height: auto;     /* This ensures the image doesn't stretch or warp */
    margin-bottom: 10px;
}

/* --- Lesson Images --- */
.lesson-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
}