/* Catalog Section Styles */
.catalog-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

.catalog-loading {
    text-align: center;
    padding: 20px;
    font-size: 1.2rem;
    color: #135e34;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Error message styles */
.error-message {
    background-color: #fff0f0;
    border: 1px solid #ffdede;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #d32f2f;
}

/* Turn.js Flipbook Styles */
.flipbook-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    height: 650px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: #fff;
    border-radius: 8px;
}

.flipbook {
    width: 100%;
    height: 100%;
}

/* Page styles */
.page {
    background-color: white;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Hard cover styles */
.hard {
    background-color: #135e34;
    color: white;
    background-image: none !important;
}

.cover-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 40px;
}

.cover-logo {
    width: 120px;
    margin-bottom: 30px;
}

.cover-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cover-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.cover-content p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.contact-email {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 30px;
}

/* Download link styles */
.download-link {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f5f1;
    border-radius: 8px;
    text-align: center;
}

.download-link a {
    color: #135e34;
    font-weight: bold;
    text-decoration: underline;
    transition: color 0.3s;
}

.download-link a:hover {
    color: #0d4024;
}

/* Navigation controls */
.catalog-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.catalog-btn {
    background-color: #135e34;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.catalog-btn:hover {
    background-color: #0d4024;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.catalog-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

/* Page indicator */
.page-indicator {
    text-align: center;
    margin-top: 15px;
    font-size: 1rem;
    color: #555;
}

/* Responsive adaptations */
@media (max-width: 992px) {
    .flipbook-container {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .flipbook-container {
        height: 500px;
    }
    
    .catalog-section {
        padding: 40px 0;
    }
}

@media (max-width: 576px) {
    .flipbook-container {
        height: 400px;
    }
    
    .catalog-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .catalog-btn {
        width: 100%;
        justify-content: center;
    }
    
    .catalog-section {
        padding: 30px 0;
    }
}
