/* Custom Styles for Construction Template */
:root {
    --primary-color: #F7C822; /* Yellow */
    --secondary-color: #1A1A1A; /* Black */
    --text-color: #333333; /* Dark Grey */
    --light-bg: #F9F9F9; /* Light Grey */
    --white: #FFFFFF;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Navbar */
.navbar {
    background-color: var(--white);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar.sticky-nav {
    padding: 10px 0;
}
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--secondary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.navbar-brand span {
    color: var(--primary-color);
}
.nav-link {
    font-weight: 600;
    color: var(--secondary-color) !important;
    margin: 0 12px;
    text-transform: uppercase;
    font-size: 14px;
    position: relative;
    transition: color 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 700;
    padding: 14px 35px;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    box-shadow: none;
}

.btn-outline-primary {
    color: var(--white);
    border-color: var(--primary-color);
    border-width: 2px;
    font-weight: 700;
    padding: 12px 35px;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.section-title span {
    color: var(--primary-color);
}
.section-title p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
}
.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.2;
}
.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    font-weight: 300;
}
.hero .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* Services */
.service-item {
    background: var(--light-bg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
    height: 100%;
    border-radius: 4px;
}
.service-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-bottom-color: var(--primary-color);
    transform: translateY(-10px);
}
.service-icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.3s;
}
.service-item:hover .service-icon {
    transform: scale(1.1);
}
.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.service-item p {
    color: #666;
    margin-bottom: 0;
}

/* Projects */
.project-item {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 4px;
}
.project-item img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}
.project-item:hover img {
    transform: scale(1.1);
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.95));
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: .5s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
}
.project-item:hover .project-overlay {
    opacity: 1;
}
.project-overlay h4 {
    color: var(--white);
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    font-size: 1.5rem;
}
.project-item:hover .project-overlay h4 {
    transform: translateY(0);
}
.project-overlay p {
    color: var(--primary-color);
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
.project-item:hover .project-overlay p {
    transform: translateY(0);
}

/* Statistics */
.stats-section {
    background-image: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    padding: 100px 0;
}
.stat-item {
    text-align: center;
    padding: 20px;
}
.stat-icon {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 25px;
}
.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}
.stat-item p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team */
.team-item {
    background: var(--white);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
}
.team-item:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-10px);
}
.team-img {
    position: relative;
    overflow: hidden;
}
.team-img img {
    width: 100%;
}
.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(247, 200, 34, 0.95); /* Primary color */
    padding: 15px 0;
    transition: bottom 0.4s ease;
}
.team-item:hover .team-social {
    bottom: 0;
}
.team-social a {
    color: var(--secondary-color);
    margin: 0 10px;
    font-size: 18px;
    transition: color 0.3s;
    display: inline-block;
}
.team-social a:hover {
    color: var(--white);
    transform: scale(1.2);
}
.team-info {
    padding: 25px;
}
.team-info h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
}
.team-info p {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}
.testimonial-item {
    background: var(--white);
    padding: 40px;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 4px;
    height: 100%;
}
.testimonial-icon {
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 30px;
    right: 40px;
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #666;
}
.testimonial-author {
    display: flex;
    align-items: center;
}
.testimonial-author img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
}
.testimonial-author h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}
.testimonial-author span {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
}
.contact-info {
    background: var(--secondary-color);
    color: var(--white);
    padding: 50px;
    height: 100%;
    border-radius: 4px;
}
.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
}
.contact-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}
.contact-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}
.contact-item h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.contact-item p {
    margin: 0;
    color: #bbb;
}
.contact-form {
    padding: 30px;
    background: var(--white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.05);
    border-radius: 4px;
}
.form-control, .form-select {
    padding: 15px 20px;
    border-radius: 4px;
    border: 1px solid #ddd;
    background-color: #fcfcfc;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(247, 200, 34, 0.25);
    background-color: var(--white);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 0 0;
}
.footer p {
    color: #bbb;
}
.footer h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    text-transform: uppercase;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}
.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}
.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}
.footer-social a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}
.footer-bottom {
    background: #111;
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    color: #888;
}
.footer-bottom p {
    margin: 0;
}
.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Page Header (Inner Pages) */
.page-header {
    background-image: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    padding: 150px 0 100px;
    text-align: center;
    color: var(--white);
}
.page-header h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}
.breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}
.breadcrumb-item a {
    color: var(--primary-color);
}
.breadcrumb-item.active {
    color: #bbb;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #888;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        margin-top: 15px;
    }
    .hero h1 {
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .stat-item {
        margin-bottom: 30px;
    }
    .contact-info {
        margin-bottom: 30px;
    }
}
