.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
}

.catalog-actions {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    margin-top: auto;
}

.open-btn, .download-btn {
    flex: 1 1 0;
    text-align: center;
    padding: 0.75rem 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.open-btn {
    background: #007bff;
    color: #fff;
}
.open-btn:hover {
    background: #0056b3;
}
.download-btn {
    background: #28a745;
    color: #fff;
}
.download-btn:hover {
    background: #1e7e34;
}
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

/* Main content styles */
main {
    padding: 2rem;
    min-height: calc(100vh - 160px);
}

/* Catalog styles */
.catalog-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1300px;
    margin: 0 auto;
    align-items: stretch;
}


.catalog-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.catalog-item:hover {
    transform: translateY(-5px);
}

.catalog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.catalog-item h2 {
    padding: 1rem;
    font-size: 1.5rem;
}

.catalog-item p {
    padding: 0 1rem 1rem;
    flex-grow: 1;
}

.catalog-item p {
    padding: 0 1rem 1rem;
}


.view-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    margin-top: 1.5rem;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
}

.view-btn:hover {
    background: #0056b3;
}

/* About page styles */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.about-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Contacts page styles */
.contacts-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.contacts-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: #007bff;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #007bff;
}

/* Footer styles */
footer {
    background: #f8f9fa;
    padding: 1rem 2rem;
    border-top: 1px solid #dee2e6;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content nav {
        margin-top: 1rem;
    }
}
