:root {
    --primary-color: #009999;
    --secondary-color: #0CC;
    --text-color: #666666;
    --white-color: #ffffff;
    --dark-color: #000000;
    --background-color: #f4f4f4;
    --gray-color: #666666;
    --item-bg-color: #f3f3f3;
    --link-hover-color: #202020;
}

/* General */
body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 19px;
    line-height: 1.8em;
    overflow-x: hidden;
}

.tm-container {
    max-width: 1300px;
    margin: 0 auto;
}

.tm-site-header {
    padding: 40px;
}

.tm-nav-link {
    color: var(--white-color);
    text-decoration: none;
    padding: 10px 30px;
    margin: 0 15px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.tm-nav-link:hover,
.tm-nav-link.active {
    color: var(--secondary-color);
    background-color: var(--white-color);
}

.tm-welcome-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 999;
}

.tm-welcome-container-inner {
    margin-top: 100px;
}

.tm-welcome-text {
    font-size: 1.6rem;
}

.tm-btn-cta {
    display: inline-block;
    padding: 20px 40px;
    color: var(--white-color);
    text-decoration: none;
    border: 1px solid var(--white-color);
    margin-top: 50px;
    transition: all 0.3s ease;
}

.tm-btn-cta:hover {
    color: var(--primary-color);
    background-color: var(--white-color);
}

.tm-site-logo {
    font-size: 3rem;
    color: var(--white-color);
}

/* Video background */
#tm-video-container {
    position: relative;
    overflow: hidden;
    background-color: #333;
    min-height: 500px;
}

#tm-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
}

/* Gallery Section */
.tm-catalog-item-list {
    margin-bottom: 40px;
}

.tm-catalog-item {
    margin-bottom: 30px;
}

.tm-thumbnail-container {
    overflow: hidden;
    background-color: var(--item-bg-color);
}

.tm-catalog-item-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.tm-catalog-item:hover .tm-catalog-item-img {
    transform: scale(1.1);
}

.tm-img-overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: all 0.3s ease;
}

.tm-catalog-item:hover .tm-img-overlay {
    opacity: 1;
}

.tm-overlay-icon {
    color: var(--white-color);
    font-size: 2rem;
}

.tm-catalog-item-description {
    padding: 30px;
    background-color: var(--item-bg-color);
}

.tm-catalog-item-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Pagination */
.tm-paging-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

.tm-paging-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    color: var(--text-color);
    background-color: var(--item-bg-color);
    margin: 0 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tm-paging-link.active,
.tm-paging-link:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Footer */
.tm-footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-color);
}

/* Responsive */
@media (max-width: 991px) {
    .tm-catalog-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .tm-catalog-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .tm-nav-link {
        margin: 5px;
    }
}