/*
	Name: Kaylan Stake
	Filename: homepagestylesheet.css
	Date: 11/25/2024
*/

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and Nav */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fefae0;
}


header {
    position: sticky;
    top: 0;
    background-color: #cce3de;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h3 {
	color: #4a5759;
	text-align: center;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: auto;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4a5759;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .logo img {
        height: 40px;
    }
}

/* Product Section */

video {
	display: block;
	margin: 0 auto;
	padding: 50 px;
}	
	
.product-section {
    margin: 2rem 0;
    padding: 1rem;
}

.product-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: #333;
}

/* Banner */
.banner {
    position: relative;
    background-image: url('images/banner.png'); 
    background-size: cover;
    background-position: center;
    height: 400px; 
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}

.banner-content {
    position: relative;
}

.banner h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.banner h2 {
    font-size: 1.5rem;
    margin-top: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}
/* Carousel */
.carousel {
    position: relative;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    max-width: 300px;
    flex-shrink: 0;
    object-fit: cover;
    margin: 0 auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #b0c4b1;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    padding: 0.5rem;
    z-index: 10;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

/* Footer */

footer{
    background-color:  #faedcd;
    margin-top: 50px;
	text-align: center;
}