/* Hero Section */
#hero {
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url('images/hero-bg.jpg'); /* Replace with an actual image */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    position: relative;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adds a dark overlay */
}

#hero h1 {
    font-size: 56px;
    font-family: 'Segoe UI', sans-serif;
    font-weight: 600;
    margin: 0;
    padding: 0;
    z-index: 1;
}

#hero p {
    font-size: 22px;
    font-weight: 300;
    margin: 20px 0;
    z-index: 1;
}

.cta-btn {
    background-color: #f49c42;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 1;
}

.cta-btn:hover {
    background-color: #e4872a;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 40px;
    }

    #hero p {
        font-size: 18px;
    }

    .cta-btn {
        font-size: 16px;
        padding: 12px 25px;
    }
}
/* end of Hero Section */

/* Header Styles */

header {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    position: relative;
    z-index: 10; /* Ensure navbar is above the slideshow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Logo Styling */
.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #f49c42;
    text-decoration: none;
    text-transform: uppercase;
}

/* Navbar Links Styling */
nav ul {
    list-style: none;
    display: flex; /* Makes the links inline */
    padding: 0;
    margin: 0;
}

nav ul li {
    margin-left: 30px; /* Adds space between menu items */
}

nav ul li a {
    font-size: 18px;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    padding: 8px 15px;
    transition: background-color 0.3s, color 0.3s;
    display: inline-block; /* Keeps links inline and clickable */
}

nav ul li a:hover {
    color: #f49c42;
    background-color: #444;
    border-radius: 5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        margin-top: 15px;
    }

    nav ul li {
        margin: 10px 0;
    }
}

/* end of Header Styles */

/* Services Section */
#services {
    padding: 80px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#services h2 {
    font-size: 42px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

.service-card {
    width: 30%;
    margin: 20px;
    display: inline-block;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.service-card h3 {
    font-size: 28px;
    margin-top: 20px;
    font-weight: 600;
}

.service-card p {
    font-size: 16px;
    color: #777;
    margin: 15px 0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
}

.learn-more {
    background-color: #f49c42;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.learn-more:hover {
    background-color: #e4872a;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .service-card {
        width: 45%;
        margin: 15px;
    }
}

@media (max-width: 480px) {
    .service-card {
        width: 90%;
        margin: 15px 0;
    }
}
/* end of Services Section */

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer .social-media {
    margin-bottom: 30px;
}

footer .social-icon {
    font-size: 24px;
    color: white;
    text-decoration: none;
    margin: 0 15px;
    padding: 10px;
    display: inline-block;
    transition: color 0.3s, background-color 0.3s;
}

footer .social-icon:hover {
    color: #f49c42;
    background-color: #444;
    border-radius: 5px;
}

footer .footer-nav {
    margin-bottom: 20px;
}

footer .footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    text-transform: uppercase;
    transition: color 0.3s;
}

footer .footer-nav a:hover {
    color: #f49c42;
}

footer p {
    font-size: 14px;
    color: #aaa;
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    footer .social-media {
        margin-bottom: 15px;
    }

    footer .footer-nav {
        margin-bottom: 15px;
    }

    footer .footer-nav a {
        display: block;
        margin: 5px 0;
    }
}
/* end of Footer Styles */

/* General Styling for Booking Form */
#booking {
    padding: 40px;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
}

#booking .container {
    max-width: 600px;
    margin: 0 auto;
}

h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

form {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 18px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button.cta-btn {
    background-color: #f49c42;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button.cta-btn:hover {
    background-color: #e4872a;
}

.error-messages {
    margin-top: 20px;
    color: red;
}

footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* end of General Styling for Booking Form */

/* CSS to style the dynamic "Other" input box */
#other-service-container {
    margin-top: 20px;
}

#other-service-container input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

/* end of CSS to style the dynamic "Other" input box */

/* Service Page Styles */
#service-details {
    background-color: #f9f9f9;
    padding: 50px 0;
    font-family: 'Arial', sans-serif;
    color: #333;
}

#service-details h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #f49c42;
}

.intro-text {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    width: 30%;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    margin-bottom: 30px;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #f49c42;
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 16px;
    color: #777;
    line-height: 1.5;
    margin-bottom: 20px;
}

.learn-more {
    display: inline-block;
    background-color: #f49c42;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.learn-more:hover {
    background-color: #e4872a;
}

/* Hover Effect for Service Cards */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .service-card {
        width: 45%;
    }
}

@media (max-width: 768px) {
    .service-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    #service-details h2 {
        font-size: 28px;
    }

    .intro-text {
        font-size: 16px;
    }

    .service-content h3 {
        font-size: 20px;
    }

    .service-content p {
        font-size: 14px;
    }
}
/* end of Service Page Styles */


/* Gallery Page Styles */

/* Gallery Page Styles */
#gallery {
    padding: 50px 0;
    background-color: #f9f9f9;
    text-align: center;
}

#gallery h2 {
    font-size: 36px;
    font-weight: bold;
    color: #f49c42;
    margin-bottom: 20px;
}

#gallery p {
    font-size: 18px;
    color: #777;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    #gallery h2 {
        font-size: 28px;
    }

    #gallery p {
        font-size: 16px;
    }
}

/* end of Gallery Page Styles */


/* Contact Section */

#contact {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

#contact .container {
    max-width: 800px;
    margin: 0 auto;
}

#contact h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 20px;
}

#contact p {
    font-size: 18px;
    color: #777;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

/* Aligning text box (textarea) with input fields */
input[type="text"], input[type="email"], textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

textarea {
    height: 150px; /* Maintain a consistent height for textarea */
    resize: vertical;
    padding-top: 12px; /* Align the text inside the text area with the padding of inputs */
}

/* Submit button */
input[type="submit"] {
    background-color: #f49c42;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #e4872a;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #contact {
        padding: 30px 15px;
    }

    #contact h2 {
        font-size: 28px;
    }

    input[type="submit"] {
        width: 100%;
    }
}

/* end of Contact Section */


/* General Slideshow Styles */
.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
}

.mySlides {
  display: none;
  width: 100%;
  height: auto;
}

.mySlides img {
  width: 100%;
  height: auto;
  object-fit: cover; /* Ensures images maintain aspect ratio */
}

/* Fade Effect for Smooth Transitions */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  /* On small screens (like mobile and tablet), the images should be responsive */
  .slideshow-container {
    width: 100%;
    max-width: 100%;
  }

  .mySlides img {
    height: 300px; /* Adjust the height if needed */
    object-fit: cover; /* Keeps image aspect ratio intact */
  }
}
/* end of Slideshow */