/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0d1b2a;
    color: white;
}

/* HEADER */
header {
    background: #0d1b2a;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    height: 100px;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #00ff99;
}

/* HAMBURGER BUTTON */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 5px 15px;
    background: #1b263b;
}

.hero-text {
    flex: 1;
    min-width: 280px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 0px;
    margin-top: 2px;
}

.hero-text h2 {
    color: #ffdd55;
    margin-top: 0;
}

/* SERVICES */
.services {
    padding: 40px 20px;
    background: #0d1b2a;
}

.services h2 {
    text-align: center;
    margin-bottom: 30px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: #1b263b;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.2s;
}

.service-card:hover {
    background: #24344d;
}


.service-card h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #00ff99;
}

.service-icon {
    max-width: 100px;
    height: auto;
    margin-top: 10px;
}

/* SERVICE DETAIL PAGE */
.service-detail {
    padding: 40px 20px;
    background: #0d1b2a;
}
.service-title {
    display: flex;
    align-items: center;
    justify-content: center; /* centers the whole block */
    gap: 12px; /* space between icon and text */
    margin-bottom: 30px;
}

.service-title img {
    width: 50px;   /* adjust as needed */
    height: auto;
}

.service-detail h2 {
    text-align: center;
    margin-bottom: 30px;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    justify-content: center;
}

.service-text {
    flex: 1 1 55%;
    max-width: 700px;
    line-height: 1.6;
}

.service-images {
    flex: 1 1 35%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-figure {
    text-align: center;
    margin: 10px auto;
}

.service-figure img {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    background: #1b263b;
    padding: 10px;
}

.service-figure figcaption {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 8px;
}

/* Only one image block needed */
.service-images img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    background: #1b263b;
    padding: 10px;
    align-self: center;
}

.service-video iframe {
    width: 100%;
    max-width: 560px;
    height: 315px;
    border-radius: 8px;
    display: block;
    margin: 20px auto 0;
}

/* CONTACT SECTION */
.contact {
    padding: 40px 20px;
    background: #1b263b;
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact-card img,
.business-card {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}

/* LIGHTBOX OVERLAY */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Show popup when targeted */
.lightbox:target {
    display: flex;
}

/* Enlarged image */
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

/* Clicking outside closes the popup */
.lightbox-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* FOOTER */
footer {
    background: #1b263b;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #cccccc;
}

/* MOBILE RESPONSIVE NAV */
@media (max-width: 800px) {

    /* Show hamburger */
    .hamburger {
        display: block;
    }

    /* Hide nav by default */
    nav {
        display: none;
        flex-direction: column;
        background: #0d1b2a;
        position: absolute;
        top: 80px;
        right: 20px;
        padding: 15px;
        border-radius: 8px;
        width: 200px;
    }

    /* Show nav when toggled */
    nav.open {
        display: flex;
    }
}
