:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --secondary: #f8fafc;
    --accent: #ffc107;
    --accent-blue: #dbeafe;
    --gray-light: #f3f4f6;
    --gray-medium: #94a3b8;
    --gray-dark: #475569;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gray-light);
    color: var(--primary);
    line-height: 1.6;
}

/* Header & Navigation */
.project-header {
    height: 70px;
    background-color: transparent;
    position: relative;
}

.navbar {
    padding: 1rem 0;
    background-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.fixed-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1030;
}

.navbar.scrolled {
    background-color: var(--primary);
    padding: 0.7rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    margin: 0 0.5rem;
    transition: var(--transition);
    color: var(--white);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--accent);
}

.navbar-dark .navbar-nav .nav-link.active {
    color: var(--accent) !important;
    font-weight: bold;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
}

.contact-btn {
    border-radius: 4px;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 7rem auto 2rem;
    padding: 0 1.5rem;
}

/* Project container for side by side display */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Breadcrumbs */
.breadcrumbs {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.breadcrumbs a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs i {
    font-size: 0.9rem;
    margin-right: 0.2rem;
}

/* Project View */
.project-view {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    height: 100%;
}

/* Projects inside the grid container */
.projects-grid .project-view {
    margin-bottom: 0;
}

.project-view.animated {
    opacity: 1;
    transform: translateY(0);
}

.project-details {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.project-title {
    font-size: 1.7rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 700;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.project-meta span {
    display: flex;
    align-items: center;
}

.project-meta i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: var(--accent);
}

.project-description {
    font-size: 1.1rem;
    color: var(--gray-dark);
    max-width: 900px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Project Specs */
.project-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.spec-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--gray-light);
    border-radius: 8px;
    transition: var(--transition);
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.spec-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.spec-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.spec-content p {
    margin: 0;
    color: var(--gray-dark);
}

/* Project Gallery */
.project-gallery {
    padding: 1.2rem 1.5rem 1.5rem;
}

.gallery-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.gallery-item {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    height: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--white);
    font-size: 2rem;
}

/* Other Honda Projects Gallery */
#honda-project-view {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#honda-project-view.animated {
    opacity: 1;
    transform: translateY(0);
}

#honda-project-details {
    padding: 3rem;
    border-bottom: 1px solid var(--gray-light);
}

#honda-project-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

#honda-project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

#honda-project-meta span {
    display: flex;
    align-items: center;
}

#honda-project-meta i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
    color: var(--accent);
}

#honda-project-gallery {
    padding: 2rem 3rem 3rem;
}

#honda-gallery-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

#honda-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

#honda-gallery-grid .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    position: relative;
    cursor: pointer;
}

#honda-gallery-grid .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

#honda-gallery-grid .gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

#honda-gallery-grid .gallery-item:hover img {
    transform: scale(1.03);
}

#honda-gallery-grid .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#honda-gallery-grid .gallery-item:hover .image-overlay {
    opacity: 1;
}

#honda-gallery-grid .overlay-content {
    color: var(--white);
    font-size: 2rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--white);
    margin-bottom: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonials-section.animated {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: 0.5rem;
    position: relative;
    height: 100%;
}

.quote {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.1;
    color: var(--primary);
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--primary);
}

.author-position {
    color: var(--gray-dark);
    margin: 0;
}

.testimonial-controls {
    display: flex;
    gap: 0.5rem;
}

.testimonial-image {
    border-radius: 0.5rem;
    height: 350px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Similar Projects */
.similar-projects {
    margin-top: 3rem;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.similar-projects.animated {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent);
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.8rem;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.card-description {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.view-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-btn:hover {
    background-color: var(--accent);
    color: var(--primary);
    text-decoration: none;
}

/* Modal Styling */
.modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.btn-close {
    background-color: var(--white);
    border-radius: 50%;
    padding: 0.5rem;
    z-index: 100;
}

/* Footer */
.footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-contact i {
    margin-right: 0.75rem;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .copyright {
        margin-bottom: 0;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .projects-grid {
        gap: 1.2rem;
    }
}

@media (max-width: 992px) {
    .project-title {
        font-size: 1.8rem;
    }
    
    .projects-grid {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        margin-top: 5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-details {
        padding: 1.5rem;
    }
    
    .project-gallery {
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .project-title {
        font-size: 1.8rem;
    }
    
    .project-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .testimonial-image {
        height: 250px;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}