/* Apply the background image and the transparent brown overlay */
body {
    margin: 0;
    padding: 0;
    background: url('BackroundImageHome.png') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* Transparent brown overlay that covers the whole background */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(97, 60, 5, 0.5); /* Transparent brown overlay */
    z-index: -1;
}

/* Header navigation styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px; /* Add some padding, but no height growth */
    background-color: rgba(132, 102, 87, 1);
    height: 80px; /* Fix the height of the header */
    box-sizing: border-box;
    overflow: hidden; /* Prevent any overflow if the logo gets too big */
}

header .logo img {
    width: 300px;
    margin-left: -40px;
    margin-top: 10px;
}

nav ul {
    list-style-type: none;
    display: flex;
    margin-right: 0px;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 25px;
    margin-top: 0px;
    position: relative;  /* Relative positioning for the sliding effect */
    padding-bottom: 5px; /* Space for the underline */
    
}

/* Add the sliding underline using ::after */
nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: white;
    left: 0;
    bottom: 0;
    transition: width 0.1s ease-in-out;  /* Transition for sliding effect */
}

/* On hover, the underline expands to full width */
nav ul li a:hover::after {
    width: 100%;
}

.slider {
    position: relative;
    max-width: 1000px;
    margin: auto;
}

.slider-container {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Caption styling */
.caption {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-top: 15px;
}

/* Button styling */
.prev, .next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(132, 102, 87, 1);
    color: white;
    border: none;
    padding: 25px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgb(150, 123, 110);
}

/* Dot indicators styling */
.dot-container {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: white;
}

/* Limit the size of the main container and center it */
.container {
    max-width: 480px; /* Set the maximum width for the body */
    margin: 0 auto;   /* Center the content horizontally */
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.0); /* Optional: add a semi-transparent background to the container */
    
    
}
