/* 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;
}

/* Hamburger Menu */
.hamburger-menu {
    width: 48px;
    height: 36px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 6px;
    width: 100%;
    background: var(--text-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 20px;
}

.hamburger-menu.active span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    top: 15px;
    transform: rotate(-45deg);
}

/* Side Menu */
.side-menu {
    height: 100%;
    width: 320px;
    position: fixed;
    top: 0;
    left: -320px;
    background-color: var(--secondary-color);
    padding-top: 100px;
    transition: 0.4s;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    box-shadow: 4px 0 15px rgba(0,0,0,0.1);
}

.side-menu.active {
    left: 0;
}

.side-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.side-menu ul li {
    padding: 18px 40px; /* Adjust padding for left alignment */
    width: 100%;
    box-sizing: border-box;
}

.side-menu ul a {
    text-decoration: none;
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
    font-size: 24px;
    font-weight: 600;
    transition: color 0.3s;
}

.side-menu ul a.active,
.side-menu ul a:hover {
    color: var(--golden-amber);
}

.social-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
    padding-left: 40px; /* Align with other menu items */
    width: 100%;
    box-sizing: border-box;
}

.social-links a {
    color: var(--text-color);
    font-family: 'Baloo 2', cursive;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    padding: 5px 0;
}

.social-links a:hover {
    text-decoration: underline;
}

.sidebar-footer {
    margin-top: auto;
    padding: 20px 40px;
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.footer-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Content Section */
.content-section {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 5px 15px 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;
    margin-bottom: 20px;
}

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

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

.content-section strong {
    font-weight: 700;
    color: var(--text-color);
}

.content-section hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    margin: 30px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .content-section {
        padding: 20px;
        margin: 20px;
    }
    
    .content-section h2 {
        font-size: 28px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
}

/* Bubble Animation Styles */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
