* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    font-family: "Archivo Narrow", serif;
    font-size: 16px;
    overflow: hidden;
}

/* Inline menu styling */
.menu {
    background-color: rgb(0, 0, 0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: block;
    padding: 0;
    padding-left: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 100000;
}

.menu a {
    display: inline-block;
    color: #fff;
    padding: 10px 4px;
    /* Halved from original 10px */
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
}

.menu a.active {
    font-style: italic;
}

.hidden {
    display: none;
}

.vision-content,
.catalogue-content {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

/* Responsive layout for text and image boxes */
.flex-row {
    display: flex;
    flex-direction: row;
}

/* Mobile-specific responsive styles */
@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        overflow-y: auto;
    }

    /* Stack boxes vertically on mobile */
    .flex-row {
        flex-direction: column;
        width: 100%;
    }

    .text-box,
    .image-column {
        width: 100% !important;
        flex: none !important;
    }

    /* Show image first, text below */
    .image-column {
        order: 1;
    }

    .text-box {
        order: 2;
    }

    /* Adjust image height for mobile */
    .image-column {
        height: auto;
        max-height: 50vh;
    }

    /* Image fill width but maintain aspect ratio */
    .image-column img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Ensure proper padding on mobile */
    .vision-content,
    .catalogue-content {
        padding: 20px;
        padding-top: 60px;
    }

    /* Adjust spacing for text content */
    .text-box {
        padding: 15px;
    }
}

@media (max-width: 600px) {
    .menu a {
        font-size: 16px;
        margin: 0 5px;
    }

    .menu {
        padding-left: 20px;
    }
}