@import "variables.css";

body {
    background-color: #FFFCF0;
    /* Cream background matching index */
    color: #4e342e;
    /* Dark tea brown */
    font-family: 'Roboto', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
    color: #2c1810;
}

h2 {
    font-size: 2.25rem;
    margin-top: 3rem;
    color: #3e2723;
}

p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: #5d4037;
}

strong {
    font-weight: 700;
    color: #2c1810;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 120px 20px 60px;
    /* Top padding for header space */
}

section {
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Section Styles */
.intro-section p.lead {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.4;
    color: #2c1810;
    margin-bottom: 3rem;
}

.intro-section .divider {
    height: 1px;
    width: 60px;
    background: #8d6e63;
    margin: 2rem 0;
}

/* Lists as text blocks */
.text-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(78, 52, 46, 0.2);
}

.text-list p {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.quote-block {
    background: rgba(255, 255, 255, 0.5);
    padding: 3rem;
    border-radius: 12px;
    margin: 4rem -2rem;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.05);
}

.quote-block p {
    font-size: 1.5rem;
    font-style: italic;
    text-align: center;
    margin-bottom: 0;
}

/* Navigation & Header */

/* Logo */
.home-link {
    /* Default: fixed on large screens where it won't overlap content */
    position: fixed;
    top: 15px;
    /* Matches sidebar-menu button default top */
    left: 15px;
    /* Matches sidebar-menu button default right margin equivalent */
    z-index: 1005;
    /* Matches sidebar-menu button z-index */
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.home-link:hover {
    transform: scale(1.05);
}

.home-link img {
    width: 100%;
    height: 100%;
}

/* Menu Button - Override sidebar-menu.css defaults for About page context */
#sidebar-menu-btn-desktop.menu-trigger,
#sidebar-menu-btn-desktop {
    /* Use !important to override the specific ID styles in sidebar-menu.css regarding position and media queries */
    position: fixed !important;
    display: flex !important;
    /* Default top/right in sidebar-menu.css is 15px. We keep that. */
}

/* Responsive */
@media (max-width: 1024px) {

    /* Switch logo to absolute on smaller screens to prevent overlap with text */
    .home-link {
        position: absolute;
        /* Align with text content on small screens (container padding is 20px) */
        left: 20px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .container {
        padding-top: 90px;
    }

    .intro-section p.lead {
        font-size: 1.4rem;
    }

    .quote-block {
        margin: 3rem 0;
        padding: 2rem;
    }
}