/* Basic Reset & Body Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #F2F2F2; /* White/Light Background */
    color: #2D2A29; /* Dark Gray Text */
    line-height: 1.6;
}

/* Header/Hero Section */
.hero {
    background-color: #333333; /* Dark Gray Background */
    color: #F2F2F2; /* White/Light Text */
    text-align: center;
    padding: 40px 20px;
}

.logo-placeholder {
    font-size: 2.5em;
    font-weight: bold;
    color: #0097DB; /* Blue Accent for Logo (text) */
    margin-bottom: 20px;
    border-bottom: 2px solid #F2F2F2; /* Now a 2px solid white line! */
    padding-bottom: 15px;
}

.logo-image {
    max-width: 300px; /* Adjust as needed */
    height: auto; /* Keeps image proportion */
    display: block; /* Centers the image */
    margin: 0 auto; /* Centers the image */
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #F2F2F2; /* White/Light Headline */
}

.hero h2 {
    font-size: 1.8em;
    margin-top: 0;
    color: #0097DB; /* Blue Accent for Sub-headline */
}

.hero p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
}

/* Main Content Sections */
main {
    padding: 20px;
    max-width: 1200px;
    margin: 0px auto;
}

section {
    background-color: #F2F2F2; /* White/Light Section Background */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Work Examples Gallery */
.gallery-wrapper {
    overflow-x: auto; /* Enables horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-bottom: 15px; /* Space for scrollbar */
}

.image-gallery {
    display: flex; /* Arranges images in a row */
    flex-wrap: nowrap; /* Prevents images from wrapping to next line */
    gap: 15px; /* Space between images */
    padding: 5px; /* Little padding inside wrapper */
}

.image-gallery img {
    flex-shrink: 0; /* Prevents images from shrinking */
    width: 300px; /* Fixed width for images */
    height: 200px; /* Fixed height for images */
    object-fit: cover; /* Ensures images cover the area without distortion */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.image-gallery img:hover {
    transform: scale(1.03);
}

/* Contact Info */
.contact-info p {
    text-align: center;
    font-size: 1.1em;
}

.contact-info a {
    color: #0097DB; /* Blue Accent for links */
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #333333; /* Dark Gray Background */
    color: #F2F2F2; /* White/Light Text */
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9em;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }

    .hero h2 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 1em;
    }

    .image-gallery img {
        width: 250px; /* Slightly smaller images on smaller screens */
        height: 180px;
    }
}

@media (max-width: 480px) {
    .logo-placeholder {
        font-size: 1.8em;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero h2 {
        font-size: 1.3em;
    }

    .hero p, .contact-info p {
        font-size: 0.95em;
    }

    .image-gallery img {
        width: 200px; /* Even smaller images on very small screens */
        height: 150px;
    }
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* High z-index to be on top */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent black background */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    cursor: pointer; /* Indicate it's clickable to close */
}

.lightbox img {
    max-width: 90%; /* Don't let the image get too wide */
    max-height: 90%; /* Don't let the image get too tall */
    object-fit: contain; /* Make sure the whole image is visible */
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Lightbox Navigation Buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    color: #F2F2F2; /* White arrows */
    border: none;
    padding: 15px 10px;
    font-size: 2em;
    cursor: pointer;
    z-index: 1001; /* Above image, below lightbox overlay */
    user-select: none; /* Prevent text selection */
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.lightbox-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#lightbox-prev {
    left: 20px;
}

#lightbox-next {
    right: 20px;
}

/* Optional: Make image slightly smaller to ensure buttons are visible on small screens */
@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.5em;
        padding: 10px 8px;
    }
    #lightbox-prev { left: 10px; }
    #lightbox-next { right: 10px; }

    .lightbox img {
        max-width: 85%; /* Make a little more room for buttons */
        max-height: 85%;
    }
}