/* BelloMondo Chi Siamo - Page Styles */

:root {
    --bm-black: #1D1D1D;
    --bm-white: #FFFFFF;
    --bm-red: #BF3D27;
    --bm-green: #00896F;
    --bm-yellow: #FFD433;
    --bm-blue: #027BA3;
    --bm-bg: #F9F9F9;
    --font-main: 'Host Grotesk', sans-serif;
}

body {
    font-family: var(--font-main);
    color: var(--bm-black);
    background-color: #F9F9F9; /* Flat background as requested */
    margin: 0;
    line-height: 1.6;
}

.bm-page-wrapper {
    overflow-x: hidden;
}

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

.bm-container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}



/* Sections */
section {
    padding: 100px 0;
}

.bm-steps-section {
    padding-top: 0;
}

.bm-bg-light {
    background-color: #F9F9F9;
}

/* Hero Section */
.bm-hero {
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: left;
}

.bm-hero-animated-text {
    height: 120px;
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
}

.bm-word {
    display: block;
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    color: var(--bm-black);
    letter-spacing: -3px;
}

.bm-word.active {
    top: 0;
    opacity: 1;
}

.bm-hero-intro {
    max-width: 800px;
    font-size: 24px;
    font-weight: 400;
    color: var(--bm-black);
    line-height: 1.4;
}

/* Image Sections */
.bm-image-section {
    padding: 0;
}

.bm-full-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    display: block;
    object-fit: cover;
}

/* Text Sections */
.bm-section-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -2px;
    line-height: 1.1;
}

.bm-text-content {
    max-width: 900px;
    font-size: 20px;
}

.bm-text-content p {
    margin-bottom: 30px;
}

.bm-text-content strong {
    font-size: 24px;
    display: block;
    margin-bottom: 40px;
    line-height: 1.3;
}

/* Steps Grid */
.bm-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.bm-step-item {
    position: relative;
    padding-top: 40px;
}

.bm-step-num {
    font-size: 24px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 0;
    color: var(--bm-black);
    margin-right: 15px;
}

.bm-step-item h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.bm-step-item p {
    font-size: 18px;
    color: #555;
}

/* Parallax */
.bm-parallax-section {
    height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    border-radius: 0;
    margin: 60px 0;
}

.bm-parallax-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

.bm-parallax-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-final-text {
    font-size: 36px;
    font-weight: 400;
    color: var(--bm-white);
    width: 100%;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: left;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Features Grid */
.bm-features-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.bm-feature-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.bm-feature-block h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 0;
    text-align: right;
    padding-top: 5px;
}

.bm-feature-block p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #444;
}

.bm-link-underline {
    color: var(--bm-black);
    text-decoration: none;
    border-bottom: 2px solid var(--bm-black);
    font-weight: 700;
    transition: all 0.3s ease;
}

.bm-link-underline:hover {
    color: var(--bm-red);
    border-color: var(--bm-red);
}

/* CoordinaMondo Placeholder */
.bm-coordina-section {
    display: none !important;
}

.bm-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.bm-placeholder-box {
    background: var(--bm-black);
    aspect-ratio: 3/4;
    overflow: hidden;
}

.bm-placeholder-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width: 1024px) {
    .bm-hero-word {
        font-size: 70px;
    }
    .bm-section-title {
        font-size: 48px;
    }
    .bm-features-grid {
        display: flex;
        flex-direction: column;
    }
    .bm-feature-block {
        grid-template-columns: 1fr;
    }
    .bm-feature-block h3 {
        text-align: left;
        margin-bottom: 10px;
    }
    .bm-steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 50px 0;
    }
    .bm-hero {
        padding-top: 100px !important; 
        padding-bottom: 40px;
    }
    .bm-word {
        font-size: 54px;
        letter-spacing: -2px;
    }
    .bm-steps-grid {
        gap: 20px;
    }
    .bm-step-item {
        padding-top: 20px;
    }
    .bm-hero-animated-text {
        height: 65px;
        margin-bottom: 25px;
    }
    .bm-hero-intro {
        font-size: 18px;
        line-height: 1.5;
    }
    .bm-section-title {
        font-size: 38px;
        margin-bottom: 30px;
    }
    .bm-final-text {
        font-size: 16px; /* Decreased from 18px */
        line-height: 1.4;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    .bm-placeholder-grid {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 0 20px 20px 20px;
        margin: 0 -20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .bm-placeholder-grid::-webkit-scrollbar {
        display: none;
    }
    .bm-placeholder-box {
        flex: 0 0 280px;
        scroll-snap-align: center;
        aspect-ratio: 3/4;
    }
    .bm-coordina-section {
        padding-bottom: 50px;
    }
    .bm-full-img {
        height: auto;
        aspect-ratio: auto; /* Removed fixed aspect ratio to avoid crop */
        object-fit: contain;
    }
}

#parallax-giappone {
    background-image: url('../images/bellomondo/giappone.webp');
}

#parallax-cina {
    background-image: url('../images/bellomondo/cina.webp');
}


/* Desktop Specific Aspect Ratios */
@media (min-width: 1025px) {
    .bm-image-section .bm-full-img {
        aspect-ratio: 3 / 1;
        object-fit: cover;
    }
    
    .bm-parallax-overlay .bm-container {
        max-width: 80% !important;
        width: 80% !important;
    }
}

/* Specific colors from palette for accents if needed */
.bm-accent-red { color: var(--bm-red); }
.bm-accent-green { color: var(--bm-green); }
.bm-accent-yellow { color: var(--bm-yellow); }
.bm-accent-blue { color: var(--bm-blue); }
