/* GLOBAL.CSS */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    font-family: 'Montserrat';
    line-height: 1.6;
    color: #222;
    -webkit-font-smoothing: antialiased;
}

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

/* Cover Section */
.cover-section {
    position: relative;
    margin-top:-50px;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    min-height: 400px;
    overflow: hidden;
}

.cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cover-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    max-width: 1200px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cover-title h1 {
    font-size: 3.5rem;
    font-weight: 100;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.cover-title p {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Hero Sections */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    padding: 60px 0;
    background-color: #F9F5F2;
    width: 100%;
}

.hero-section.flip {
    flex-direction: row-reverse;
}

.hero-text {
    width: 40%;
    padding: 20px;
    flex: 0 0 40%;
}

.hero-text h1 {
    font-size: 2.2rem;
    font-weight: 200;
    line-height: 1.2;
    color: #000;
    margin-bottom: 16px;
}

.hero-text p {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
}

.hero-images {
    width: 60%;
    flex: 0 0 60%;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.hero-images .grid-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 6px;
}

.hero-images .grid-row {
    display: flex;
    width: 100%;
    gap: 6px;
    margin-bottom: 6px;
}

.hero-images .grid-item {
    border-radius: 6px;
    overflow: hidden;
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Grid Sizes */
.hero-images .grid-row-1 { height: 300px; }
.hero-images .grid-row-2 { height: 150px; }
.hero-images .grid-row-3 { height: 300px; }

.hero-images .img-full { width: 100%; }
.hero-images .img-three-quarter { width: calc(75% - 3px); }
.hero-images .img-quarter { width: calc(25% - 3px); }

/* Final Section */
.final-section {
    padding: 60px 0;
    background-color: #F9F5F2;
    text-align: center;
}

.final-section h1 {
    font-size: 2.2rem;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #000;
}

.final-section p {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive: Mobile */
@media (max-width: 767px) {
    .content-container {
        padding: 0 15px;
    }

    .cover-section {
        height: 100vh;
        min-height: 300px;
    }

    .cover-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
    }

    .cover-title h1 { font-size: 2.2rem; margin-bottom: 15px; }
    .cover-title p { font-size: 1rem; margin-bottom: 60px; }

    .hero-section, .hero-section.flip {
        flex-direction: column;
        padding: 40px 0;
    }

    .hero-text, .hero-images {
        width: 100%;
        flex: 0 0 100%;
    }

    .hero-text h1 { font-size: 1.8rem; text-align: center; }
    .hero-text p { font-size: 0.9rem; text-align: center; }

    .hero-images .grid-row { flex-direction: column; margin-bottom: 6px; }
    .hero-images .grid-row-1, .grid-row-2, .grid-row-3 { height: auto; }

    .hero-images .img-full,
    .hero-images .img-three-quarter,
    .hero-images .img-quarter {
        width: 100%;
        height: 150px;
        margin-bottom: 6px;
    }

    .final-section { padding: 40px 0; }
    .final-section h1 { font-size: 1.8rem; line-height: 1.3; }
    .final-section p { font-size: 0.9rem; }
}

/* Responsive: Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .content-container { padding: 0 20px; }
    .cover-section { height: 100vh; }
    .cover-title h1 { font-size: 2.8rem; }
    .cover-title p { font-size: 1.2rem; }

    .hero-section, .hero-section.flip {
        padding: 40px 0;
        flex-direction: column;
    }

    .hero-text {
        width: 100%;
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 30px;
    }

    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 0.95rem; }

    .hero-images {
        width: 100%;
        flex: 0 0 100%;
    }

    .hero-images .grid-row-1 { height: 280px; }
    .hero-images .grid-row-2 { height: 140px; }
    .hero-images .grid-row-3 { height: 280px; }

    .final-section { padding: 50px 0; }
    .final-section h1 { font-size: 2rem; }
    .final-section p { font-size: 0.95rem; }
}
