* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Basic styles for the body */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #fafafa; /* Light background for readability */
    color: #333;
    font-size: 16px;
    padding: 0;
    margin: 0;
}

/* Main Container */
.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header.main-header {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

header h1.logo {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center; /* Centers the logo */
    margin: 0;
	display: flex;
	justify-content: center;
    padding: 0;
}
header h1.logo img {
    max-width: 100%;  /* Ensures the logo does not stretch beyond its container */
    height: auto;
}
/* Navigation */
nav.navbar {
    text-align: center;
    margin-top: 10px;
}

nav ul.nav-links {
    list-style: none;
    padding: 0;
}

nav ul.nav-links li {
    display: inline-block;
    margin: 0 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
}

nav a:hover {
    color: #f39c12; /* Hover effect to indicate interaction */
}

/* Hero Section */
#hero {
	background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 500px; 
    padding: 50px 0;
   color: white;
}

#hero h2 {
    color: white;
	font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
	
}

#hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
}

#hero .btn {
    background-color: #f39c12;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

#hero .btn:hover {
    background-color: #e67e22;
}

/* Feature Section */
.feature-list {
    display: flex;
    justify-content: space-between; /* Spreads the items evenly */
    gap: 20px; /* Adds space between items */
    flex-wrap: wrap; /* Allows items to wrap on smaller screens */
    align-items: flex-start; /* Aligns items at the top */
}


.feature-item {
    flex: 1;
    position: relative; /* Allows positioning of the text */
    text-align: center; /* Centers the text horizontally */
    max-width: 250px; /* Ensures that items don't stretch too far */
}

.feature-img-container {
    position: relative;
    width: 100%;
    height: 200px; /* Fixed height */
    overflow: hidden; /* Prevents overflow if the image is larger than the container */
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container without distortion */
}

.feature-text {
    font-size: 1.2em; /* Adjust text size */
    color: black; /* Text color */
    font-weight: bold; /* Makes the text bold */
    padding: 5px;
    background-color: rgba(255, 255, 255, 0.7); /* Light background behind text */
    text-align: center; /* Centers the text inside the background */
    margin-bottom: 10px; /* Adds space between text and image */
}

.feature-item p {
    padding: 10px;
    font-size: 1em;
    line-height: 1.5;
}
.rentals {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.rentals h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;  /* Ensures the text color is dark enough */
}

.feature-item {
    position: relative;
    text-align: center;
    margin-top: 20px;
}

.feature-text {
    font-size: 1.5em;
    font-weight: bold;
    color: #333; /* Ensures text is visible */
    margin-bottom: 10px;
}

.feature-img-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #ccc; /* Fallback color */
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text, h3 {
    z-index: 2; /* Make sure text is on top of image */
}

/* Paragraph text styling */
.rentals p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;  /* Ensures text is visible */
}

/* Pricing List */
.rentals .pricing-list {
    list-style: none;
    padding: 0;
    font-size: 1.2em;
    text-align: left; /* Align text to the left */
    margin-top: 20px;
    color: #333; /* Ensures text is visible */
}

.rentals .pricing-list li {
    margin-bottom: 10px;
    padding-left: 20px; /* Adds some spacing to the list */
}

.rentals .pricing-list li strong {
    color: #f39c12; /* Highlighted pricing */
}

/* Mobile Styling */
@media screen and (max-width: 768px) {
    .feature-item {
        padding: 10px;
    }
}

/* Pricing Section */
#pricing {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

#pricing h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

#pricing h3 {
    font-size: 2em;
    margin-top: 30px;
}

.pricing-list {
    list-style: none;
    padding: 0;
}

.pricing-list li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Events Section */
#events {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.events-table {
    width: 80%;
    margin: 0 auto;
    border-collapse: collapse;
    margin-top: 20px;
}

.events-table th, .events-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.events-table th {
    background-color: #f39c12;
    color: white;
}

.events-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Testimonials Section */
.testimonials {
    padding: 50px 0;
    background-color: #f4f4f4;
    text-align: center;
}

.testimonials blockquote {
    font-size: 1.2em;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonials cite {
    display: block;
    font-weight: bold;
    margin-top: 10px;
}

/* Footer */
footer.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    color: #f39c12;
}

footer .social-link {
    margin: 0 10px;
}

footer p {
    margin: 10px 0;
}

footer p:last-child {
    margin-top: 30px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
    }

    header h1.logo {
        font-size: 2em;
        text-align: center; /* Ensures the logo is centered on small screens */
    }

    nav ul.nav-links li {
        display: block;
        margin: 10px 0;
    }

    #hero h2 {
        font-size: 2.5em;
    }

    .features, .pricing, #events, .testimonials {
        padding: 30px 0;
    }

    .events-table {
        width: 100%;
    }
}

/* Intermediate Technique: Flexbox */
.features .feature-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature-list li {
    flex: 1 1 200px;
    margin-bottom: 20px;
}

/* Intermediate Technique: Accessibility */
a:focus, a:hover {
    outline: 3px solid #f39c12; /* Ensure links are visible when focused or hovered */
}