/* Basic Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #464646;
    color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    justify-content: center;
}
/* Sticky header styling */
.sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: black;
    opacity: 0.80;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #444;
}

.logo {
    width: 200px;
    height: auto;
}

.phone-number {
    font-size: 2rem;
}

/* Second row: Navigation Menu */
sticky-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: black;
    opacity: 0.80;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
}

nav {
    width: 100%;
}

ul {
    display: flex;
    justify-content: space-evenly; /* Evenly space items */
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}




/* Content styling for demonstration */
.content {
    padding: 20px;
    margin-top: 140px; /* Adjusted margin for the height of the double-row header */
    text-align: center;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Hero section styling */
/* Hero section styling */
.hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Adapts to viewport height */
    background-image: url('printer-video1.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 0.80;
}

/* Hero button styling */

.hero-button {
    margin-top: 450px;
    padding: 10px 20px;
    font-size: 3rem;
    background-color: transparent; /* Transparent background */
    color: white; /* White text */
    border: 2px solid white; /* White border */
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-button:hover {
    background-color: #333;
    color: white;
}



.content-section {
    padding: 60px 20px;
    text-align: center;
}

.content-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.content-section p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

.graphics {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping for smaller screens */
    justify-content: center;
    gap: 40px; /* Increase the space between each graphic */
    margin-top: 40px;
}

.graphic {
    background-color: #1e1e1e;
    flex: 1 1 calc(30% - 40px); /* Adjust width for larger size on wide screens */
    max-width: 425px; /* Increase max-width for larger screens */
    height: auto;
    aspect-ratio: 1 / 1; /* Keeps a square ratio */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    opacity: 0.80;
}

/* Media query for medium screens (e.g., tablets) */
@media (max-width: 992px) {
    .graphic {
        flex: 1 1 calc(45% - 40px); /* Two graphics per row on medium screens */
    }
}

/* Media query for small screens (e.g., phones) */
@media (max-width: 768px) {
    .graphic {
        flex: 1 1 100%; /* Full width for single column on small screens */
        max-width: 100%; /* Removes max-width for smaller screens */
    }
}

/*gallery page info*/
.project {
    position: relative;
    margin: 40px 20px;
}

.hero-project-image {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.side-image {
    position: absolute;
    top: 75%;
    right: 5%;
    transform: translateY(-50%);
    width: 350px;
    z-index: 2;
}

.side-image img {
    width: 100%;
    height: auto;
}

.video-thumbnail {
    position: absolute;
    top: 75%;
    left: 5%;
    transform: translateY(-50%);
    width: 150px;
    border: 3px solid white;
    z-index: 2;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    margin-top: -50px;
    z-index: 1;
}

h2 {
    margin-bottom: 10px;
}

p {
    margin: 0;
}



/* Adjust layout for medium screens */
@media (max-width: 992px) {
    .side-image,
    .video-thumbnail {
        width: 120px; /* Reduce size for smaller screens */
    }

    .project-content {
        margin-top: 20px; /* Push content down slightly */
    }
}

/* Adjust layout for small screens */
@media (max-width: 768px) {
    .hero-image {
        padding: 0;
    }

    .side-image,
    .video-thumbnail {
        position: static;
        transform: none;
        margin: 10px 0;
    }

    .project-content {
        align-items: center;
    }
}



/*footer information */
.footer-bar {
    background-color: #222;
    opacity: .80;
    color: white;
    padding: 10px 0;
    text-align: center;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ddd;
}

/* Second footer section */
.footer-bottom {
    background-color: black;
    opacity: .80;
    color: white;
    padding: 5px 0;
    text-align: center;
    font-size: 0.8rem;
    border-top: 1px solid #444;
}

.viewer-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.png'); /* Replace with your image path */
    background-size: cover;
    background-position: center;
    z-index: -1; /* Puts the image behind the content */
}



