/*
  Mindful Milo - About Page Stylesheet
  This file contains all necessary styles for the About page, isolated from global styles.
*/

/* 1. Base Styles (Imported from styles.css) */
:root {
    --background-color: #FFB347; /* New Orange Background */
    --logo-color: #281B04; /* New Dark Brown for Logo and Text */
    --golden-amber: #281B04; /* Old amber is now the new dark color */
    --text-dark: #333333;
    --text-light: #281B04; /* Old light text is now the new dark color */
    --button-color: #333333;
    --button-text: #FFFFFF;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.2);
    
    /* 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 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. Core Layout */
html.about-body-parent, .about-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-light);
    line-height: 1.6;
    position: static;
    height: auto;
    overflow-x: hidden; /* Prevent horizontal scroll */
    overflow-y: auto; /* Allow vertical scrolling */
}

/* Show scrollbar with custom styling */
html.about-body-parent, .about-body {
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: var(--text-light) transparent; /* For Firefox */
}
html.about-body-parent::-webkit-scrollbar, 
.about-body::-webkit-scrollbar {
    width: 8px; /* For Chrome, Safari */
}
html.about-body-parent::-webkit-scrollbar-track,
.about-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
html.about-body-parent::-webkit-scrollbar-thumb,
.about-body::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
    opacity: 0.7;
}
html.about-body-parent::-webkit-scrollbar-thumb:hover,
.about-body::-webkit-scrollbar-thumb:hover {
    background: var(--golden-amber);
}


/* 3. Header Styles (Copied from privacy.css for consistency) */
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: 'Bungee', cursive;
    font-size: 48px;
    color: var(--text-light);
    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-light);
    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);
}

.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-light);
    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;
    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;
}

.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 a {
    color: #333;
    font-family: 'Baloo 2', cursive;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: block;
    padding: 5px 0;
}

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

.social-links a {
    color: var(--text-light);
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    margin: 0 8px;
    font-size: 16px;
    font-weight: 500;
}

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

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

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

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


/* 4. About Page Specific Styles */
.about-page {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.about-content h1 {
    font-family: 'Bungee', cursive;
    font-size: 3.5rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-content h2 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2.2rem;
    color: var(--golden-amber);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 2rem;
    color: var(--golden-amber);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--golden-amber);
    display: inline-block;
}

.about-content h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

.about-content em {
    font-style: italic;
    color: var(--golden-amber);
}

.about-content hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
    margin: 4rem 0;
}

/* Main Content Section (White Panel) - Copied from privacy.css */
.content-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background-color: #FDF5E6; /* Light Cream - same as privacy */
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

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

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

.content-section h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 28px;
    color: #8A4B08; /* Dark Brown accent */
    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-light);
}

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

.content-section a {
    color: #8A4B08; /* Dark Brown accent */
    font-weight: 600;
    text-decoration: none;
}

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

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

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