:root {
    --color-instagram: #E1306C;
    --color-strava: #FC6100;
    --color-komoot: #76da24;
    --color-youtube: #FF0000;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-variation-settings: "wdth" 87.5;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.main-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 50px;
}

.intro-layout {
    grid-column: 1;
}

.banner-container {
    grid-column: 1 / span 2;
    margin-bottom: 40px;
    overflow: hidden;
    background: #000;
}

.banner-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-column {
    grid-column: 2;
}

.photobook-header {
    grid-column: 1 / span 2;
    margin-top: 30px;
}

.image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f5f5f5;
}

.social-links a:hover {
    background: var(--color-instagram);
    color: #fff;
    transform: translateY(-3px);
}

.social-links a.strava:hover {
    background: var(--color-strava);
}

.social-links a.komoot:hover {
    background: var(--color-komoot);
}

.social-links a.youtube:hover {
    background: var(--color-youtube);
}

p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

p a {
    color: var(--color-instagram);
    text-decoration: none;
    font-weight: 700;
}

p a:hover {
    text-decoration: underline;
}

.text-column p:first-child {
    margin-top: 0;
}

.photobook-header {
    margin-top: 30px;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    justify-content: flex-start;
}

.book-item {
    text-align: center;
}

.book-item img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.book-item img:hover {
    transform: translateY(-5px);
}

.book-title {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -1.5px;
    display: block;
    color: #333;
    line-height: 1.2;
}

.book-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 820px) {
    .banner-container {
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    .main-container {
        display: flex;
        flex-direction: column;
        padding: 0 20px 40px 20px;
    }

    .intro-layout {
        margin-bottom: 0;
    }

    .image-column {
        text-align: center;
        order: 3;
    }

    .social-links {
        justify-content: center;
        margin-bottom: 30px;
    }

    .photobook-header {
        order: 2;
    }

    .image-column img {
        max-width: 250px;
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    p {
        font-size: 1rem;
    }

    .book-grid {
        justify-content: center;
        gap: 20px;
    }
}
