/* css/site.css */

/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333; /* Standard dark gray for text */
    background-color: #f8f9fa; /* Very light gray background */
    margin: 0;
    padding: 0;
}

/* Container for main content areas */
.content-container {
    max-width: 700px; /* Reduced width for wider side margins */
    margin: 20px auto; /* Center content with some top/bottom margin */
    padding: 20px;
    background-color: #ffffff; /* White background for content blocks */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2c3e50; /* Dark slate blue, similar to interpreter widget text */
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.2em;
    border-bottom: 1px solid #e0e6ed; /* Subtle separator */
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.5em;
}

/* Paragraphs */
p {
    margin-bottom: 1em;
    color: #495057; /* Slightly softer than pure black */
}

/* Links */
a {
    color: #007bff; /* Standard blue for links, matching interpreter widget buttons */
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

a:hover, a:focus {
    color: #0056b3; /* Darker blue on hover */
    text-decoration: underline;
}

/* Inline Code */
code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    background-color: #e9ecef; /* Light gray background for inline code */
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: #c7254e; /* Pinkish red, common for inline code */
}

/* Preformatted Code Blocks */
pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    background-color: #282c34; /* Dark background for code blocks */
    color: #abb2bf; /* Light gray text on dark background */
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto; /* Allow horizontal scrolling for long lines */
    font-size: 0.9em;
    line-height: 1.45;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

pre code {
    background-color: transparent; /* Reset background for code inside pre */
    color: inherit; /* Inherit color from pre */
    padding: 0;
    border-radius: 0;
    font-size: inherit; /* Inherit font size from pre */
}

/* Lists */
ul, ol {
    padding-left: 2em;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

/* Blockquotes */
blockquote {
    border-left: 4px solid #007bff; /* Blue accent, matching links */
    padding-left: 1em;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 1em;
    color: #6c757d; /* Muted text color */
    font-style: italic;
}

/* Horizontal Rule */
hr {
    border: 0;
    border-top: 1px solid #e0e6ed; /* Subtle separator */
    margin: 2em 0;
}

/* Table Styling (Basic) */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1em;
}

th, td {
    border: 1px solid #dee2e6;
    padding: 0.75em;
    text-align: left;
}

thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

tbody tr:nth-child(odd) {
    background-color: #fdfdfe;
}


        /* Hamburger Menu Styles */
        .hamburger-menu {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 1001; /* Above logo if they overlap */
        }

        .hamburger-icon {
            font-size: 30px; /* Adjust size of the icon */
            cursor: pointer;
            padding: 5px;
            user-select: none; /* Prevent text selection on click */
        }

        .dropdown-content {
            display: none;
            position: absolute;
            right: 0;
            background-color: #f9f9f9;
            min-width: 160px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1;
            border-radius: 4px;
        }

        .dropdown-content a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }

        .dropdown-content a:hover {
            background-color: #f1f1f1;
        }

                #logo-container {
            position: absolute; 
            top: 10px;
            left: 10px;
            z-index: 1000; 
        }
        #logo-container img {
            height: 150px; 
            width: auto;
        }
