/* General Setup */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

/* Navigation Bar */
header {
    background: #002147; /* Professional Navy */
    color: white;
    padding: 15px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img { height: 50px; }

nav ul { display: flex; list-style: none; align-items: center; }
nav ul li { margin-left: 25px; }
nav a { color: white; text-decoration: none; font-weight: 600; transition: 0.3s; }
nav a:hover { color: #ffb400; }

.cta-button {
    background: #ffb400;
    color: #002147;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Services Page Background & Layout */
.services-page {
    background: linear-gradient(rgba(0, 33, 71, 0.8), rgba(0, 33, 71, 0.8)), 
                url('images/construction-bg.jpg'); /* Ensure this image exists */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 5%;
}

.yellow-title {
    color: #ffb400;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Service Grid (Matching your photo) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1100px;
}

.service-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-left: 6px solid #ffb400;
    padding: 35px;
    color: white;
    text-align: left;
    font-size: 1.2rem;
    font-weight: bold;
    transition: 0.3s;
}

.service-box:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
}
/* Gallery Styles */
.gallery-section {
    padding: 80px 8%;
    background: #ffffff;
    text-align: center;
}

.section-title {
    color: #002147;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.project-item {
    position: relative;
    overflow: hidden;
    height: 250px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps photos from looking stretched */
    transition: transform 0.5s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 33, 71, 0.85); /* Navy background with transparency */
    color: #ffb400; /* Yellow text */
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.project-item:hover .project-overlay {
    transform: translateY(0); /* Slides the text up on hover */
}