:root {
    --primary-color: #5d4037;
    --accent-color: #ff9800;
    --bg-color: #f5f5f5;
    --text-color: #333;
    --card-bg: #fff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
}

.logo-symbol {
    height: 40px;
    margin-right: 10px;
}

.logo-title {
    height: 40px;
}

.title-overlay {
    padding: 0.25em 0.5em;
    background-color: rgba(250, 250, 250, 0.4);
    border-radius: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

    nav ul li {
        margin-left: 20px;
    }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }

            nav ul li a:hover {
                color: var(--accent-color);
            }

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

.not-found {
    text-align: center;
    padding: 100px 20px;
    color: darkred;
    text-transform: uppercase;
}

.main-content {
    padding: 30px 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 5px;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
}

.read-more {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

    .read-more:hover {
        background-color: #e68a00;
    }

.view-all-trips {
    text-align: center;
    margin-bottom: 25px;
}

.trips-list, .books-list {
    margin-bottom: 40px;
}

.trip-item, .book-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

.trip-image, .book-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

    .trip-image img, .book-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.trip-details, .book-details {
    flex-grow: 1;
}

.trip-title, .book-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

    .trip-title:hover {
        color: var(--accent-color);
    }

.trip-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.book-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}
    .book-link:hover {
        color: #e68a00;
    }

.trip-description, .book-description {
    font-size: 0.9rem;
    color: #555;
}

.sidebar {
    position: sticky;
    top: 80px;
    height: fit-content;
}

.favorite-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.profile-card {
    text-align: center;
    padding: 20px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--accent-color);
}

    .profile-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.profile-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.profile-bio {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.profile-link {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

    .profile-link:hover {
        background-color: var(--accent-color);
    }

.social-links {
    background-color: #f8f8f8;
    padding: 15px;
}

.social-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.3s;
}

    .social-icon:hover {
        background-color: var(--accent-color);
    }

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-text {
    font-size: 0.9rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        margin-top: 30px;
    }

    .hamburger {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
    }

        nav.active {
            max-height: 300px;
        }

        nav ul {
            flex-direction: column;
            padding: 0 20px;
        }

            nav ul li {
                margin: 0;
                padding: 10px 0;
                border-bottom: 1px solid #6d4c41;
            }

                nav ul li:last-child {
                    border-bottom: none;
                }

    .post-grid {
        grid-template-columns: 1fr;
    }
}
