body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #F8F9FA;
    color: #333;
}

header {
    background: #007BFF;
    color: white;
    padding: 1em;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
}

.logo {
    height: 40px;
    width: auto;
}

ul {
    list-style: none;
    display: flex;
    gap: 1em;
}

a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ddd;
}

/* Padding for all main content sections to avoid header overlap */
.hero, .about, .services, .portfolio, .contact, .services-overview {
    margin-top: 60px; /* Matches header height; adjust if header is taller */
    padding: 1em;
}

.hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
}

.cta {
    background: #007BFF;
    color: white;
    padding: 0.5em 1em;
    border-radius: 5px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1em;
}

.card {
    background: white;
    padding: 1em;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1em;
}

.item img, .item iframe {
    width: 100%;
    cursor: pointer;
}

#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 90%;
    max-height: 90%;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 1em;
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 1em;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    .hero-text h1 {
        font-size: 2em;
    }
}