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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #F2F1EC;
    color: #233F7A;
    overflow-x: hidden;
    position: relative;
}

/* Parallax Bike Container */
#bike-parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bike-container {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 50%;
    max-width: 700px;
    opacity: 0.08;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.bike-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(35, 63, 122, 0.1));
}

/* Sidebar */
#sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 380px;
    height: 100vh;
    background: #233F7A;
    padding: 3rem 2rem;
    z-index: 1000;
    overflow-y: auto;
}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.logo h1 {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
}

.logo p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    font-family: 'Segoe UI Light', 'Segoe UI', sans-serif;
    font-weight: bold;
}

nav {
    margin-top: 3rem;
}

nav a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 1rem 0;
    font-size: 1.4rem;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Berlin Sans FB', 'Segoe UI Light', 'Segoe UI', sans-serif;
    font-weight: 300;
}

nav a .nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    fill: white;
}

nav a:hover {
    color: #fff;
}

nav a.active {
    color: #fff;
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(137,188,214,0.8) 50%, rgba(255,255,255,0.3) 100%);
    transition: width 0.3s ease;
}

nav a.active::before,
nav a:hover::before {
    width: 100%;
}

/* Main Content */
#wrapper {
    margin-left: 380px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

section {
    min-height: 100vh;
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.inner {
    max-width: 900px;
    width: 100%;
}

h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #233F7A;
    font-family: 'Berlin Sans FB', sans-serif;
}

.subtitle {
    font-size: 1.2rem;
    color: #233F7A;
    margin-bottom: 2rem;
    font-family: 'Candara', sans-serif;
    font-weight: 300;
}

.subtitle strong {
    font-weight: bold;
}

h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #233F7A;
}

.about-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.about-title h2 {
    margin: 0;
}

.about-title .human-icon {
    width: 50px;
    height: 50px;
    fill: #233F7A;
    filter: drop-shadow(0 4px 8px rgba(35, 63, 122, 0.2));
}

h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #233F7A;
}

p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(35, 63, 122, 0.85);
    text-align: justify;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #89BCD6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #233F7A;
    font-size: 1rem;
}

.btn-round svg {
    width: 18px;
    height: 18px;
}

.btn-round:hover {
    background: #7280A2;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(35, 63, 122, 0.2);
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #89BCD6;
    color: #233F7A;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: #7280A2;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(35, 63, 122, 0.2);
}

/* Profile Image */
.profile-section {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #89BCD6;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    overflow: visible;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(35, 63, 122, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in;
}

.portfolio-item img:hover {
    transform: scale(1.5) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background-color: white;
    padding: 10px;
    border-radius: 12px;
    z-index: 10;
    position: relative;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(35, 63, 122, 0.15);
}

/* Blog Posts */
.blog-post {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(35, 63, 122, 0.1);
}

.blog-post h3 {
    margin-bottom: 0.5rem;
}

.blog-meta {
    color: rgba(35, 63, 122, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(35, 63, 122, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #233F7A;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #89BCD6;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    color: #233F7A;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #7280A2;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* Guestbook */
.guestbook-entries {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(35, 63, 122, 0.1);
    margin-top: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.guestbook-entry {
    padding: 1rem;
    border-bottom: 1px solid rgba(35, 63, 122, 0.1);
}

.guestbook-entry:last-child {
    border-bottom: none;
}

.entry-author {
    font-weight: 600;
    color: #233F7A;
}

.entry-date {
    font-size: 0.85rem;
    color: rgba(35, 63, 122, 0.6);
}

/* Donation Section */
.donation-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(35, 63, 122, 0.1);
    margin-top: 2rem;
    text-align: center;
}

.donation-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.architecture-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    #sidebar {
        width: 280px;
    }
    #wrapper {
        margin-left: 380px;
    }
    .bike-container {
        width: 60%;
        left: 80%;
    }
}

@media (max-width: 768px) {
    #sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    #wrapper {
        margin-left: 0;
    }
    section {
        padding: 3rem 2rem;
    }
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    .bike-container {
        width: 80%;
        left: 85%;
        opacity: 0.05;
    }
    nav a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .bike-container {
        width: 90%;
        left: 90%;
        opacity: 0.04;
    }
    nav a {
        font-size: 1.2rem;
    }
}
