/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* background gradient image */
body {
    background-image:
        /* top-to-bottom fade */
            linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 1) 80%),
            url('body-bg-image.jpg');

    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    background-color: #ffffff;
}

.site-wrapper {
    /* If using wrapper, can use lighter effect here instead */
    position: relative;
    z-index: 1; /* so content goes over background */
    /* Maybe add an overlay to soften background beneath content */
    /* But likely not needed if image is very light */
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    color: #111;
    padding: 10px 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
    border-bottom: 1px solid #ddd;
}

/* Menu links */
.nav-links {
    display: flex;
}

.nav-links a {
    color: #444;
    text-decoration: none;
    margin-left: 20px;
    font-size: 1.2em;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Blur effect when scrolling */
.top-bar.scrolled {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.8);
}

/* Logo */
.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    width: 200px;
    margin-right: 10px;
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.burger .line {
    width: 100%;
    height: 3px;
    background-color: #111;
}

/* Mobile styles */
@media screen and (max-width: 800px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        right: 40px;
        background-color: #fff;
        flex-direction: column;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 4px;
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 1em;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: flex;
    }
}

/* Main Content */
.content {
    text-align: center;
    margin-top: 100px;
    padding: 0 20px;
    color: #444;
}

.app-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 60px;
}

h1 {
    font-size: 4em;
    margin-bottom: 60px;
}

.tagline {
    font-size: 2em;
    color: #555;
    margin-bottom: 60px;
}

.description {
    font-size: 1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.5em;
}

.cta-button {
    background-color: #0078d7;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #005ea3;
}

/* Slideshow */
.slideshow {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 60px auto;
    height: 450px;
    overflow: hidden;
    border-radius: 16px;

    /* Enhanced 3D shadow effect */
    box-shadow:
            0 10px 20px rgba(0, 0, 0, 0.15),   /* main soft shadow */
            0 6px 6px rgba(0, 0, 0, 0.10),    /* closer, denser shadow */
            0 0 30px rgba(0, 0, 0, 0.05);     /* ambient glow shadow */

    background-color: #fff; /* Adds nice contrast and depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Fix: explicitly anchor each absolutely-positioned image to top-left,
   ensure it fills container, is centered, and displayed as block */
.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    will-change: opacity;
}

.slideshow img.active {
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .slideshow {
        height: 250px;
    }
}

/* Red contact button variant */
.cta-button.red {
    background-color: #c54644; /* red tone */
}

.cta-button.red:hover {
    background-color: #d62e28; /* darker red on hover */
}
