/* Shared Section Styles - Used by both location and photo-slider sections */

/* Base section layout */
.section-with-info-and-media {
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
}

.section-with-info-and-media__media img {
    width: 100%;
    height: 100vw;
    object-fit: cover;
    display: block;
}

.section-with-info-and-media__info {
    background-color: var(--primary-color);
    color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 110vw;
}

.section-with-info-and-media__label {
    font-family: var(--font-sans-serif);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.section-with-info-and-media__title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 3rem;
}

.section-with-info-and-media__text {
    font-size: 1.3rem;
    line-height: 1.6;
    max-width: 400px;
    opacity: 0.9;
}

.section-with-info-and-media__button {
    font-family: var(--font-sans-serif);
    text-decoration: none;
    color: var(--background-color);
    border: 1px solid var(--background-color);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    transition: background-color 0.3s, color 0.3s;
}

.section-with-info-and-media__button:hover {
    background-color: var(--background-color);
    color: var(--primary-color);
}

/* Desktop layout */
@media (min-width: 768px) {
    .section-with-info-and-media {
        flex-direction: row;
        height: 600px;
    }

    .section-with-info-and-media__info {
        flex: 1;
        min-height: auto;
        padding: 3rem;
    }

    .section-with-info-and-media__title {
        font-size: 4rem;
    }

    .section-with-info-and-media__media {
        flex: 1.5;
        position: relative;
    }

    .section-with-info-and-media__media img {
        height: 100%;
    }
}

/* Reversed section layout for desktop */
@media (min-width: 768px) {
    .section-with-info-and-media--reversed {
        flex-direction: row-reverse;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .section-with-info-and-media__info {
        padding: 3rem 2rem;
    }
    
    .section-with-info-and-media__title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .section-with-info-and-media__info {
        padding: 2rem 1rem;
    }
    
    .section-with-info-and-media__title {
        font-size: 1.75rem;
    }

    .section-with-info-and-media__label {
        max-width: 85%;
        line-height: 1.5;
    }

    .section-with-info-and-media__text {
        max-width: 85%;
    }
} 