body {
  margin: 0;
  padding: 0;
  background: url('Background.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Georgia', serif;
  color: #5a4e4b;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(250, 235, 215, 0.7);
  z-index: -1;
}

/* Header styling */
header {
  text-align: center;
  padding: 50px 20px;
  background: rgba(0, 0, 0, 1);
}

header p {
	margin-top: 0;
  font-size: 28px;
  color: #B727C4;
}

/* Reviews section */
.reviews {
  padding: 60px 20px;
  background-color: rgba(224, 122, 144, 0.1);
}

h2 {
  display: flex;
  align-items: center;       /* vertically center text with the lines */
  justify-content: center;   /* ensure the text is centered horizontally */
  text-align: center;        /* fallback for older browsers */
  font-size: 24px;           /* adjust as desired */
  margin: 40px 0;            /* space above and below the heading */
}

/* The lines to the left and right of the h2 text */
h2::before,
h2::after {
  content: "";
  flex: 1;                   /* stretch line to fill the space */
  border-bottom: 2px solid #FFFFFF; /* line color & thickness */
  margin: 0 10px;            /* space between the line and the text */
}


.reviews h2 {
  text-align: center;
  font-size: 36px;
  color: #6e4446;
  margin-bottom: 50px;
}

.review-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ðŸ”¹ Search Bar Container */
.search-container {
    position: relative;
    text-align: center;
    margin: 20px auto;
    width: 100%;
    max-width: 400px;
}

/* ðŸ”¹ Search Input */
#search-box {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    font-family: 'Georgia', serif;
    border-radius: 5px;
    border: 2px solid #3b2f2f;
    background-color: #2e1f1f;
    color: #f4f0e6;
    text-align: center;
}

/* ðŸ”¹ Search Results Dropdown */
#search-results {
    position: absolute;
    width: 100%;
    background-color: #2e1f1f;
   
    border-top: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

/* ðŸ”¹ Search Result Item */
.search-result {
    padding: 10px;
    color: #f4f0e6;
    font-size: 16px;
    font-family: 'Georgia', serif;
    border-bottom: 1px solid #3b2f2f;
    cursor: pointer;
}

.search-result:hover {
    background-color: #453534;
}


.review-card {
    background-color: black;
    border-radius: 15px;
    width: 280px;
    margin: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.55);
    border: 3px solid #000000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    height: 380px; /* Fixed height for uniformity */
    transition: transform 0.3s ease; /* Smooth transition for card scaling */
}

.review-card img {
    width: 100%;
    height: 250px;
    object-fit: contain; /* Display the full image without cropping */
    background-color: #000000; /* Black background color */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    display: block;
    margin: 10px auto 0;
}

.review-card h3 {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 18px);
    line-height: 1; /* Slightly taller lines for more room */
    text-align: center;
    background-color: black;
    padding: 14px; /* Reduce padding a bit to add more space for the text */
    margin: 0;
    margin-bottom: 1px;
    display: -webkit-box;
    align-items: center;
    justify-content: center;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    border-radius: 0;
}


.review-card a {
  text-decoration: none;
}

/* Fix button styles */
.review-card button {
    width: 100%;
    padding: 10px;
    background-color: rgb(5, 154, 144);
    border: none;
    color: white;
    font-size: 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    cursor: pointer;
    margin-top: auto;
    text-align: center;
}


.review-card button:hover {
  background-color: #68156F; /* Optional: Hover color */
}

/* Ensure links wrap around cards correctly */
.review-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}
.review-link:hover {
  transform: scale(1.2); /* Zoom the card to 120% size */
  
}


/* subtle “design by” line  */
.site-credit{
  font-family:'Georgia', serif;     /* matches headings/body */
  font-size:14px;                   /* smaller than normal text */
  color:#B727C4;                    /* same accent purple       */
  text-align:center;
  margin:12px 0 4px;                /* little breathing room    */
  opacity:.85;
}

/* optional tiny flourish on hover */
.site-credit span:hover{
  text-decoration:underline;
  cursor:default;
}


.button-container {
  display: flex;
  flex-wrap: wrap; /* Allows buttons to wrap to the next row if needed */
  justify-content: center; /* Centers buttons horizontally */
  gap: 15px; /* Adds spacing between buttons */
  margin-top: 30px;
  padding: 0 10px; /* Optional: Adds some padding to prevent content from touching screen edges */
}

.button-container a {
  background-color: rgb(5, 154, 144);
  color: #ffffff; /* Brighter white for better contrast */
  font-weight: bold;
  padding: 10px 20px;
  font-size: 22px;
  font-family: 'Garamond', serif;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  flex: 1 1 calc(33.333% - 30px); /* Adjust button width dynamically */
  max-width: 200px; /* Prevent buttons from becoming too large */
  min-width: 150px; /* Prevent buttons from becoming too small */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for contrast */
}
.button-container a:hover {
  background-color: #68156F; /* Optional hover color */
}
/* About Section */
.about {
  padding: 60px 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.8);
}

.about h2 {
  font-size: 36px;
  color: #FFFFFF;
}

.about p {
  font-size: 20px;
  max-width: 1000px;
  margin: 20px auto;
  color: #FFFFFF;
}

.contact-link {
  text-decoration: none; /* Remove underline for the link */
  color: inherit; /* Inherit text color */
  display: block; /* Make the entire block clickable */
}



.contact-section {
  text-decoration: none; /* Remove underline for the link */
  color: inherit; /* Inherit text color */
  display: flex; /* Flexbox for layout */
  flex-direction: row; /* Layout: image and text side by side */
  justify-content: center; /* Center the content horizontally */
  align-items: center; /* Center the content vertically */
  text-align: center;
  background-color: rgb(5, 154, 144);
  padding: 20px;
  border-radius: 10px;
  margin: 20px auto;
  max-width: 40%; /* Restrict width for smaller screens */
  min-width: 300px; /* Prevent the box from getting too small */
  gap: 15px; /* Adds spacing between image and text */
  box-sizing: border-box; /* Includes padding in total width/height */
  cursor: pointer; /* Show pointer to indicate clickable area */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Hover effects */
  flex-wrap: wrap; /* Allow wrapping for content on smaller screens */
}

.contact-section img {
  pointer-events: none; /* Ensure clicks on the image bubble up to the <a> */
  width: 80px;
  height: 60px;
  margin-right: 10px;
  border-radius: 8px; /* Rounds the corners of the image */
  border: 2px solid rgba(255, 255, 255, 0.8); /* Subtle border */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a soft shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effects */
}

.contact-section span {
  font-size: 1.2em; /* Slightly larger text */
  color: #FFFFFF; /* Text color */
  font-weight: bold; /* Bold text */
  word-wrap: break-word; /* Ensure long text breaks to new lines */
}

.contact-section:hover {
  transform: scale(1.05); /* Slight zoom for entire section on hover */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Optional shadow effect */
}




.review-card2 {
  background-color: black;
  border-radius: 15px;
  width: 220px; /* Fixed width */
  height: 380px; /* Fixed card height */
  margin: 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.55);
  border: 3px solid #000000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.3s ease; /* Smooth transition for hover scaling */
}

.review-card2 img {
  width: 100%;
  flex-grow: 1; /* Image grows to take up available space */
  margin-top: 3px;
  max-height: 320px; /* Ensures the image doesn't exceed this height */
  object-fit: contain; /* Ensures the image fits without distortion */
  background-color: black; /* Fill any empty space with black */
	 border-radius: 15px;
}

.review-card2 button {
  width: 100%;
  padding: 3px;
  background-color: #C14382; /* Updated button color */
  border: none;
  color: white;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  flex-shrink: 0; /* Prevent the button from shrinking */

  /* Handle long text */
  white-space: normal; /* Allow text wrapping */
  overflow-wrap: break-word; /* Ensure long words break to the next line */
  min-height: 50px; /* Reserve space for the button */
  max-height: none; /* Allow the button to expand as needed */
}

.review-card2 button:hover {
  background-color:  rgb(5, 154, 144); /* Optional hover color */
}

.review-card2:hover {
  transform: scale(1.2); /* Zoom effect on hover */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Add shadow effect on hover */
}



/* Author listing section */
.author-listing {
  padding: 60px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  text-align: center;
  max-width: 1000px;
  margin: 20px auto;
}

.author-card {
  display: flex;
  gap: 20px;
  max-width: 800px;
  background-color: #603B3C;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  justify-content: center;
  align-items: center;
}

.author-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex-grow: 1;
  text-align: left;
}

.author-info p {
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 10px;
}

.author-info p strong {
  color: #e06b8d;
}

.heading-line {
  position: relative;       /* Needed so ::before can span behind it */
  margin: 40px 0;           /* Spacing above/below the heading */
  text-align: center;       /* Centers the text horizontally */
}

/* The "box" around your heading text (similar to .info-box style) */
.heading-line span {
  position: relative;       /* So it layers above the line (z-index above 0) */
  display: inline-block;
  background: rgba(255, 255, 255, 0.5); /* Semi-transparent background */
  border: 2px solid #000;   /* Black border (like your info-box) */
  border-radius: 5px;
  padding: 10px 20px;       /* Space inside the box */
  font-size: 24px;          /* Or 18px, etc. Adjust as needed */
  color: #68156F;              /* White text color (matching your site) */
  z-index: 1;               /* So the box is above the ::before line */
}


/* Footer Section */
footer {
  padding: 30px;
  text-align: center;
  background-color: #000000;
  border-top: 2px solid #FFFFFF;
}

footer p {
  color: #FFFFFF;
}
