/* General Body Styles */
:root {
    --primary-color: #FFB347; /* Warm Orange */
    --secondary-color: #FDF5E6; /* Light Cream */
    --accent-color: #8A4B08; /* Dark Brown */
    --text-color: #281B04; /* Darkest Brown */
    --text-light: #FFFFFF;
    --golden-amber: #FFC72C;
    
    /* Font standardization */
    --primary-font: 'Inter', sans-serif;
    --display-font: 'Bungee', cursive;
    --accent-font: 'Baloo 2', cursive;
    
    /* Font size standardization */
    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-md: 1.125rem;   /* 18px */
    --font-size-lg: 1.25rem;    /* 20px */
    --font-size-xl: 1.5rem;     /* 24px */
    --font-size-2xl: 1.75rem;   /* 28px */
    --font-size-3xl: 2rem;      /* 32px */
    --font-size-4xl: 2.5rem;    /* 40px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-title: 18rem;   /* For the main Milo title */
}

body {
    font-family: var(--primary-font);
    font-size: var(--font-size-base);
    background: linear-gradient(to top, #FFB347 0%, #FFC470 25%, #FFD699 50%, #FFE4B8 75%, #FFF2E6 100%);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header Styles */
header {
    display: flex;
    justify-content: flex-start; /* Align items to the left */
    align-items: center;
    gap: 20px; /* Add space between menu and logo */
    padding: 20px 40px;
    background-color: transparent;
    position: relative;
    z-index: 1000;
}

.logo-container .logo {
    font-family: var(--display-font);
    font-size: var(--font-size-5xl);
    color: var(--text-color);
    margin: 0;
    text-decoration: none;
}

.logo-link {
    text-decoration: none;
}

/* Menu Toggle - Exact copy from styles.css */
.menu-toggle {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 40px; /* Increased size */
    height: 30px; /* Increased size */
    cursor: pointer;
    z-index: 1001; /* Ensure it's above side-menu */
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px; /* Thicker lines */
    background-color: var(--text-color);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
}

.menu-toggle span::before {
    top: -10px; /* Two lines */
}

.menu-toggle span::after {
    bottom: -10px; /* Two lines */
}

.menu-toggle span {
    background-color: transparent; /* Hide middle line */
}

/* Animate to X */
.menu-toggle.active span::before {
    transform: rotate(-45deg);
    top: 0;
}

.menu-toggle.active span::after {
    transform: rotate(45deg);
    bottom: 0;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background-color: #F5F5F5; /* Off-white background like in the image */
    z-index: 1000;
    padding: 80px 40px;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 0 20px 20px 0; /* Rounded corners on the right side */
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    transform: translateX(0);
}



.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-menu ul li {
    margin-bottom: 0;
}

.side-menu ul li a {
    color: #333; /* Dark text color for contrast with light background */
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 700; /* Bold */
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
    padding: 5px 0;
}

.side-menu ul li a:hover {
    opacity: 0.7;
    color: var(--golden-amber);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
    position: relative; /* Set positioning context */
}

.social-links a {
    color: #333; /* Dark text color for contrast with light background */
    font-family: 'Baloo 2', cursive;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700; /* Bold */
    opacity: 0.9;
    transition: opacity 0.3s ease;
    padding: 5px 0;
    display: block;
}

.social-links a:hover {
    opacity: 1;
    color: var(--golden-amber);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    text-align: center;
}

.sidebar-footer .footer-link {
    font-family: 'Baloo 2', cursive;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s ease, color 0.3s ease;
    padding: 5px 10px;
}

.sidebar-footer .footer-link:hover,
.sidebar-footer .footer-link.active {
    opacity: 1;
    color: var(--golden-amber);
}

/* Main Content Section */
.content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-family: 'Bungee', cursive;
    font-size: 42px;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 30px;
}

.content-section h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    color: var(--accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-section p, .content-section li {
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-color);
}

.content-section ul {
    list-style-type: disc;
    padding-left: 30px;
}

.content-section a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
}

.content-section a:hover {
    text-decoration: underline;
}

.content-section hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 40px 0;
}
