/* Generic Styles */
/* Set the background color and default font for the entire page */
body {
    background-color: rgb(245, 242, 245); /* Light background color */
    font-family: 'Roboto', Arial, sans-serif !important; /* Default font */    
}

/* Navbar Section */
/* Style the navigation bar to be fixed at the top with custom background and shadow */
.navbar {
    position: fixed; /* Fixed position */ 
    top: 0; /* At the top */
    left: 0; /* Align to the left */
    background-color: rgb(196, 185, 199); /* Background color */
    width: 100%; /* Full width */
    z-index: 1000; /* On top of other elements */
    padding: 10px 20px; /*Padding for spacing */    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
/* Style for each navigation item */
.nav-item {
    margin: 0 10px; /* Space between items */
    font-size: 1.2rem; /* Font size */
    font-weight: bold; /* Font weight */
    color: purple; /* Text color */
    text-decoration: none; /* No underline */
}

/* Lead text style for highlighted paragraphs */
.lead {
    font-size: 1.2rem;
    font-weight: normal;
    font-style: italic;
    color: brown;
    text-align: center;
    }    


/* Restricting searchbar from growing too much */
.d-flex .search-bar {
    flex: 8 6 200px; 
}  
/* Search Highlight */ 
.search-highlight {
  background: yellow;
  color: #212529;
  font-weight: bold;
  padding: 0 2px;
  border-radius: 2px;
}

/* Banner Section */     
/* Styles for the homepage banner section with overlay and text */
 .banner-section {
    background:url('../assets/homepage_imgs/homepage_banner.JPG') no-repeat center center;
    background-size: cover;
    height: 85vh; /* viewport height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: beige;
    }
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind the content */
    background: rgba(0, 0, 0, 0.5); /* Making overlay dark for a better readability */
    }
.banner-content {
    position: relative;
    z-index: 1; /* On top of the overlay */          
    }
.banner-spcontent {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;            
    z-index: 1;
    color: pink;
    }
.display-5 {    /* Banner text styling */
    font-family: 'Playfair Display', serif; /* Use a more elegant font for the heading */
    font-size: 50px; /* Larger size for the headline */
    font-weight: bold; /* Bold weight */
    font-style: normal; 
    color: beige; /* Text color */
    letter-spacing: 1px; /* Spacing between letters */
    text-transform: uppercase; /* Uppercase letters */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5); /* Adds shadow for a more dramatic effect */
    line-height: 1.2;
    max-width: 100%;
    margin: 0;
    padding: 0;
}


/*Search Bar*/
/* Style for buttons and search bar */
.btn{
    display: inline-block;
    padding: 10px 10px;
    margin: 10px 5px;
    border: none;
    border-radius: 10px;
    box-shadow: 0px 2px 6px 2px beige;
    background:purple;
    color: beige;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary {
    background-color: purple;
    border: none;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: darkorchid; /* Dark orchid on hover */
}
.search-bar {
    padding: 10px 10px;
    border: 2px solid purple;
    border-radius: 10px;
    width: 300px;
    font-size: 1rem;
    font-weight: normal;
    color: purple;
    align-items: center;
    margin: 10px 5px;
}

/* Welcome Section */
/* Style for welcome section heading */
.welcome-section {
    text-align: center;
    margin: 40px 0 20px;
    font-style:normal;
    font-size: 1.8rem;
    font-weight: bold;
    color: purple;
    }

 /* Featured Services Carousel Section */
/* Styles for the featured services carousel */
.featured-services {
    background-color: #FFFFF0; /* Ivory White background */
    padding: 2rem 0; /* Add vertical spacing */
}

.featured-services h2 {
    font-family: 'Playfair Display', serif; /* Elegant font for headings */
    color: purple; /* Text color */
    margin-bottom: 1.5rem;
}

/* Center the carousel and limit its width */
.carousel-wrapper {
    max-width: 80%; /* Set the carousel to take up 80% of the viewport width */
    margin: 0 auto; /* Center the carousel horizontally */
}

.carousel-item img {
    width: 100%; /* Ensure the image spans the full width of the carousel */
    height: 80vh; /* Set a fixed height for the images(newly added) */
    object-fit: cover; /* Ensure the image covers the container without distortion */
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text */
    color: #FFFFFF; /* White text for contrast */
    padding: 1rem;
    border-radius: 5px;
}
.carousel-item p {
    font-size: 1rem; /* Font size for the description */
    font-weight: normal; /* Normal weight for description */
    color: beige; /* Beige color for description */
}


/*Testimonial Section*/
/* Styles for the reviews/testimonials section */
.reviews-container {
    max-height: 400px; /* Adjust height as needed */
    overflow-y: auto; /* Enables vertical scrolling */
}
.review-box {
    border: 1px solid purple;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    background: rgb(207, 199, 209);
}
/* Rating Star color */
.rating {
    color: #ffc107; 
}

/* General paragraph styles */
p {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    color: purple;
}

/* Centered text utility class */
.text-center {
    text-align: center;
    color: purple;
    font-size: 1.5rem;
    font-weight: bold;
    font-style: normal;
}
/* Primary text utility class */
.text-primary {
    font-size: 1.1rem;
    font-weight: bold;    
    font-style: normal;
    color: blueviolet!important;
    text-decoration: none; /* No underline */
} 

/* Left-aligned text utility class */
.text-start {
    text-align: left;
    margin: 40px 0 20px;
    font-style: normal;
    font-size: 0.9rem;
    font-weight: bold;
    color: purple;
    display: inline-block;
    padding-left: 1.5rem;    
}   

/* Blog Section*/
/* Styles for blog card titles and text */
.card-title {
    text-align:left;
    margin: 40px 0 20px;
    font-style:normal;
    font-size:medium;
    font-weight: bold;
    color: purple;
    }
.card-text {
    text-align:left;
    margin: 40px 0 20px;
    font-style: normal;
    font-size:small;
    font-weight: normal;
    color: purple;
    }

/* Footer Section */
/* Styles for the footer and its text/icons */
.footer {
    color: beige;
    text-align: center;
    padding: 8px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
.footer-text {
    font-size: 1rem;
    font-weight: normal;
    font-style: italic;
    color: violet;
}
.icons {
    flex: 1;
    margin: 8px 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}
    
    /* Responsive Design */
/* Responsive grid for portfolio or gallery items */
@media (max-width: 992px) {
.grid-item {
    /* 3 per row on medium screens */
    width: calc(33.33% - 20px); 
}
}
@media (max-width: 768px) {
.grid-item {
    /* 2 per row on smaller screens */
    width: calc(50% - 20px); 
}
}

/* Custom Modal Styles for My Account */
/* Styles for custom modal popups */
.custom-modal {
  display: none; 
  position: fixed; 
  z-index: 1050; 
  left: 0; top: 0; width: 100vw; height: 100vh;
  overflow: auto; 
  background: rgba(0,0,0,0.5); 
  justify-content: center; 
  align-items: center;
}

.custom-modal-content {
  background: #fff;
  margin: auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  border-radius: 12px;
  max-width: 350px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.custom-modal-close {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 1.5rem;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
.custom-modal-close:hover { color: #d33; }
