/* Basic Styles */
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url(Untitled-3.jpg);
    overflow: hidden;
}

.catalog-container {
    width: 90%;
    max-width: 1000px; /* Maximum width */
    height: 80vh; /* 80% of the viewport height */
    perspective: 1500px;
    position: relative;
    padding-bottom: 60px; /* Space for the bottom section */
}

#flipbook {
    width: 100%;
    height: 100%;
}

.page {
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.page img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Maintain aspect ratio */
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #333;
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 5px;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* Marketing and Branding Team Section */
.marketing-team {
    width: 100%; /* Full width */
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    position: relative;
    z-index: 100;
    margin-top: 20px; /* Adjust space between flipbook and the section */
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
    .catalog-container {
        height: 70vh; /* Reduce height for smaller screens */
    }

    .page {
        font-size: 18px; /* Smaller text for mobile */
    }

    .nav {
        font-size: 28px; /* Smaller navigation arrows */
        padding: 8px; /* Less padding for mobile */
    }

    .left-arrow, .right-arrow {
        top: 40%; /* Adjust positioning */
    }

    .marketing-team {
        font-size: 16px; /* Adjust font size for smaller screens */
        padding: 15px; /* Reduce padding */
    }
}

@media only screen and (max-width: 480px) {
    .catalog-container {
        height: 60vh; /* Further reduce height for very small screens */
    }

    .page {
        font-size: 16px; /* Even smaller text */
    }

    .nav {
        font-size: 24px; /* Even smaller navigation arrows */
        padding: 5px; /* Smaller padding */
    }

    .marketing-team {
        font-size: 14px; /* Smaller font size for mobile */
        padding: 10px; /* Less padding */
    }
}
