* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    flex-direction: row-reverse; /* Places nav on the right for PC */
    background-color: #f4f4f4;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

/* Sidebar Navigation */
header {
    width: 250px;
    height: 100vh;
    position: fixed;
    right: 0;
    background: #333;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

nav ul {
    list-style: none;
    margin-top: 2rem;
}

nav ul li {
    margin: 1rem 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Main Content Area */
main {
    margin-right: 250px; /* Offset for the sticky sidebar */
    width: 100%;
    padding: 20px;
}

section { 
    min-height: 100vh; /* Forces each section to be at least the full height of the screen */
    display: flex;
    align-items: center; /* Vertically centers the content within that full page */
    justify-content: center; /* Horizontally centers the content */
    border-bottom: 1px solid #eee; 
    padding: 60px 10%; /* Ensures content doesn't hit the very top/bottom on small screens */
    scroll-snap-align: start;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff
}

.center-content {
    max-width: 600px;
}

/* Reusable Content Sections */
.content-block {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
}

.info-text { flex: 1; }
.info-image img { max-width: 100%; border-radius: 8px; }

.button {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

/* Mobile Responsiveness */
.menu-toggle { display: none; }

@media (max-width: 768px) {
    body { flex-direction: column; }
    
    header {
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        transition: 0.3s;
        z-index: 1000;
    }

    header.active { right: 0; }

    main { margin-right: 0; padding-top: 60px; }

    .content-block { flex-direction: column; text-align: center; }

    .menu-toggle {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 1100;
        padding: 10px;
        background: #333;
        color: white;
        border: none;
        cursor: pointer;
    }
}