/* Custom Styling for MovieTVMarine 11ty Version */

/* Projects Page Styles */
.projects_filter .filter_buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.projects_filter .nav-link {
    margin: 0 0.5rem;
    color: #333;
    background-color: #f8f9fa;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.projects_filter .nav-link.active,
.projects_filter .nav-link:hover {
    color: #fff;
    background-color: #0d6efd;
}

.project_card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    height: 100%;
    transition: transform 0.3s ease;
}

.project_card:hover {
    transform: translateY(-5px);
}

.project_img {
    position: relative;
    overflow: hidden;
}

.project_img img {
    transition: transform 0.5s ease;
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.project_card:hover .project_img img {
    transform: scale(1.05);
}

.project_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project_card:hover .project_overlay {
    opacity: 1;
}

.project_category {
    color: #fff;
    font-weight: 500;
    background: rgba(13, 110, 253, 0.8);
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.project_content {
    padding: 1.5rem;
    background: #fff;
}

.project_title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: #333;
}

.project_services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project_service_tag {
    font-size: 0.75rem;
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    display: inline-block;
}

/* Services Page Styles */
.service_card {
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease;
    background: #fff;
    border-top: 5px solid #0d6efd;
}

.service_card:hover {
    transform: translateY(-5px);
}

.service_icon {
    font-size: 2.5rem;
    color: #0d6efd;
    margin-bottom: 1.5rem;
}

.service_title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.service_content p {
    margin-bottom: 1rem;
    color: #666;
}

.service_features {
    padding-left: 1.25rem;
}

.service_features li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Call to Action Section */
.cta_section {
    background: linear-gradient(to right, #0d6efd, #0a58ca);
    color: white;
}

.cta_title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta_text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta_btn {
    background: #fff;
    color: #0d6efd;
    border: 2px solid #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta_btn:hover {
    background: transparent;
    color: #fff;
}

/* Movie Carousel Continuous Scroll */
.movie-scroll {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

.movie-scroll-track {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.movie-scroll .movie_outer {
    flex: 0 0 auto;
    margin: 0 10px;
}

.movie-scroll .movie_img {
    width: 180px;
    height: 270px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.movie-scroll .movie_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.movie-scroll .movie_img:hover img {
    transform: scale(1.05);
}

.movie_img {
    position: relative;
}

/* Team Member IMDb Links */
.imdb-link {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 8px;
    transition: all 0.3s ease;
}

.imdb-link:hover {
    opacity: 0.8;
}

.imdb-icon {
    height: 20px;
    vertical-align: text-bottom;
}

/* Team Member Subtitle Styles */
.about_content_subtitle {
    font-size: 0.9rem;
    color: #333;
}

/* Clean implementation for the red dot */
.about_content_subtitle .red-dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #dc3545;
    border-radius: 50%;
    margin: 0 8px;
    vertical-align: middle;
    padding: inherit;
}

/* Contact Page Styles */
.contact_item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact_item i {
    font-size: 1.5rem;
    color: #0d6efd;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact_text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.map_outer {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

/* Error Page Styles */
.error_content {
    text-align: center;
    padding: 5rem 0;
}

.error_title {
    font-size: 8rem;
    font-weight: 800;
    color: #0d6efd;
    line-height: 1;
    margin-bottom: 1rem;
}

.error_subtitle {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.error_text {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.error_action {
    margin-top: 2rem;
}

/* Fleet Collection Page */
.fleet-collection .fleet-category-cards {
    margin-top: 2rem;
}

/* About Page Team Section */
.team-members .about_us_content {
    padding: 1.5rem;
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.about_content_title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--primary); /* Changed from #333 to white to match old website */
}

.about_content_subtitle {
    color: var(--light); /* Changed from blue to gray to match old website */
    font-size: 18px; /* Changed from 0.9rem to match old site */
    position: relative;
    display: inline-block; /* Changed from flex to match old site */
}

.about_content_subtitle span {
    color: var(--light); /* Match gray color from old site */
    background: transparent; /* Remove the blue background */
    padding: 0 10px 0 0; /* Adjusted padding to match old site spacing */
    display: inline-block; /* Changed to match old site */
}

.mission_outer {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
}

/* About page banner image adjustment - Desktop Only */
@media (min-width: 992px) {
    .about_page .slider_outer {
        height: 100vh;
        position: relative;
        overflow: hidden;
    }

    .about_page .carousel-1_desktop {
        height: 100%;
        object-fit: cover;
    }

    .about_page .slider_content {
        position: absolute;
        bottom: 0;
        padding-bottom: 30px;
    }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .project_img img {
        height: 200px;
    }
    
    .cta_title {
        font-size: 1.75rem;
    }
    
    .error_title {
        font-size: 6rem;
    }
    
    .about_content_title {
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .projects_filter .filter_buttons {
        flex-wrap: wrap;
    }
    
    .projects_filter .nav-link {
        margin-bottom: 0.5rem;
    }
    
    .error_title {
        font-size: 5rem;
    }
    
    .error_subtitle {
        font-size: 2rem;
    }
    
    .mission_outer {
        padding: 2rem;
    }
}
