* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    background-color: #f5d8a9;
    overflow-x: hidden;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Background shapes */
.background-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.shape {
    position: absolute;
    transition: transform 0.5s ease;
}

.shape-1 {
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    background-color: #684814;
}

.shape-2 {
    top: 0;
    right: 0;
    width: 50%;
    height: 75%;
    background-color: #f5d8a9;
}

.shape-3 {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #746854;
    transform: skewY(-6deg) translateY(20px);
}

.content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease;
}

.title {
    font-size: 5rem;
    font-weight: bold;
    color: #f4a628;
    text-shadow: 2px 2px 0 #684814, -2px -2px 0 #684814, 2px -2px 0 #684814, -2px 2px 0 #684814;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeIn 1.2s ease;
}

.image-container {
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.description {
    width: 100%;
}

.description p {
    color: #383227;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

.navigation {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 1.5s ease;
}

.nav-button {
    width: 100%;
    padding: 1rem 1.5rem;
    background-color: #2c261e;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: block;
}

.nav-button:hover {
    background-color: #684814;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.subpage-container {
    background-color: rgba(116, 104, 84, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn 1s ease;
}

.subpage-title {
    font-size: 3rem;
    color: #2c261e;
    margin-bottom: 1.5rem;
    text-align: center;
}

.subpage-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background-color: #e6c89a;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-image {
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}

.info-image img {
    width: 100%;
    height: auto;
    display: block;
}

.info-text {
    color: #383227;
    font-size: 1rem;
    line-height: 1.6;
}

.back-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #684814;
    color: white;
    font-weight: bold;
    border-radius: 9999px;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #2c261e;
    transform: translateX(-5px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
    }

    .image-container {
        width: 50%;
    }

    .description {
        width: 50%;
        display: flex;
        align-items: center;
    }

    .subpage-content {
        flex-direction: row;
    }

    .info-card {
        width: 50%;
    }
}