:root {
    --primary-color: #4A4A4A; /* A dark, deep grey for text and borders */
    --secondary-color: #BDBDBD; /* A lighter, medium grey for accents */
    --text-color: #333333; /* A very dark grey for primary text */
    --background-color: #EFEFEF; /* A very light grey for the main background */
    --button-bg: #DCDCDC; /* A light grey for the button base */
    --button-hover-bg: #C0C0C0; /* A slightly darker grey for hover effect */
    --card-bg: #FFFFFF; /* White card background for header and cards */
    --sidebar-bg: #333333; /* Dark background for sidebar */
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.header {
    width: 100%;
    padding: 20px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative; /* Essential for positioning the hamburger icon */
}

.logo {
    max-height: 400px; 
}

.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    width: 100%; 
    z-index: 1;
}

/* --- Content Views (Home, About, Contact) --- */

/* Base style for all content areas */
.content-view {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

/* Style for About/Contact pages to center content */
.alt-view {
    justify-content: center; 
}

.alt-view-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
    margin: 20px;
    text-align: left;
}
.alt-view-card h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 {
    font-weight: 600;
    color: #FFB88C;
    font-size: 2.0em; 
    margin-bottom: 0.5em;
}

p {
    font-size: 1.5em; 
    margin-bottom: 2em;
}

/* --- Button Styling --- */

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.button {
    text-decoration: none;
    background-color: var(--button-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 20px 40px;
    border-radius: 10px;
    font-size: 0.7em; 
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 230px;
}

.button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-5px);
}

.button-logo-img {
    max-width: 200px; 
    height: auto;
    margin-right: 10px;
}

/* --- Hamburger and Sidebar Styles (LEFT ALIGNED) --- */

.hamburger {
    font-size: 30px;
    cursor: pointer;
    position: absolute;
    top: 10%;
    left: 20px; /* Positioned on the LEFT */
    transform: translateY(-50%);
    z-index: 10;
    color: #FFB88C
}

.sidebar {
    height: 100%;
    width: 280px; 
    position: fixed;
    z-index: 50; 
    top: 0;
    left: 0; /* ALIGNED to the LEFT edge */
    background-color: var(--sidebar-bg);
    overflow-x: hidden;
    /* HIDDEN OFF-SCREEN to the LEFT */
    transform: translateX(-100%); 
    transition: transform 0.5s ease;
    padding-top: 60px;
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.3); /* Shadow on the right edge */
}

.sidebar a {
    padding: 15px 15px 15px 32px;
    text-decoration: none;
    font-size: 20px;
    color: #FFFFFF;
    display: block;
    transition: 0.3s;
    text-align: left, bottom;
}

.sidebar a:hover {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.sidebar .closebtn {
    position: absolute;
    top: 0;
    right: 25px; 
    font-size: 36px;
    color: #FFB88C;
}

.return-button {
    background-color: #FFB88C;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1em;
    transition: background-color 0.3s;
}

.return-button:hover {
    background-color: #333333;
}

/* --- Footer --- */

.footer {
    width: 100%;
    padding: 15px;
    text-align: center;
    background-color: var(--primary-color);
    color: #FFFFFF; /* White text on the dark grey footer */
}
