/* Ensure html and body take full height */
html, body {
    height: 100%;  /* Ensures both html and body stretch to full height */
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Lora';
    src: url('/fonts/Lora-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Link to Honey Beauty Font */
@font-face {
    font-family: 'Honey Beauty';
    src: url('/fonts/HoneyBeauty-rvYzy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Apply Maison de Artisan font to the body */
body {
    font-family: 'Lora', sans-serif;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-synthesis: none;
    background-image: url('/images/Flowers background.jpg') !important;  /* Path to your background image */
    background-size: 110% 190%; /* Keeps height at 100%, adjusts width proportionally */
    background-position: center; /* Keeps the image centered */
    background-repeat: repeat-y; /* Repeats the image vertically */
    color: #333;
    line-height: 1.6;
    box-sizing: border-box;
}

/* Link to Sweet Hipster Font */
@font-face {
    font-family: 'Sweet Hipster';
    src: url('/fonts/SweetHipster-PzlE.ttf') format('truetype'); /* TrueType font */
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4, h5 {
    font-family: 'Sweet Hipster', cursive !important;
    font-size: 6.0em !important; /* Use !important to force the font size */
    line-height: 1.1; /* Tighter spacing between lines */
}

h6 {
    font-family: 'Sweet Hipster', cursive !important;
    font-size: 3.6em !important;
}

/* Optional: Styles for the content section */
.content {
    max-width: 1200px; /* Ensures the content does not stretch too wide */
    margin: 0 auto; /* Centers the content */
    padding: 20px;
}

/* Header styling */
header {
    background-color: #eae2f7;
    color: #000000;
    padding: 5px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo styling */
.logo img {
    width: 160px;
    height: 120px;
}

/* Navigation styling */
nav ul {
    display: flex;
    list-style-type: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    gap: 30px;
}

nav ul li a {
    color: #000000;
    font-family: 'Honey Beauty', sans-serif;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 5px;
    border-radius: 20px;
    background-color: #ffffff;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: #e0e0e0;
    color: #9b9b9b;
}

/* Social Media Icons Section */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: inline-block;
}

.social-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Hero section styling */
.hero {
    position: relative;
    background-image: url('/images/other Flowers background.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: black;
    padding: 20px;
    box-sizing: border-box;
}

/* Heading and paragraph inside hero */
.hero h2 {
    font-size: 1.3em;
    margin: 0;
    padding: 0;
    font-weight: normal;
    z-index: 2;
}

.hero p {
    font-size: 1.5em;
    margin: 10px auto;
    z-index: 2;
    max-width: 800px;
    width: 90%;
    text-align: center;
}

/* Introduction Section Styling */
.introduction {
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2em;
    color: #666;
}

/* Highlights Section Styling */
.highlights {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fafafa;
}

.highlight {
    text-align: center;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.highlight h3 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 10px;
}

.highlight p {
    font-size: 1.2em;
    color: #555;
}

/* About Heading Section */
.about-heading {
    background-color: #ffffff;
    padding: 30px 30px;
    text-align: center;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10px;
}

.about-heading h2 {
    font-size: 3em;
    color: #333;
    font-weight: bold;
    margin: 0;
}

/* About Section */
.about {
    background-color: #ffffff;
    padding: 0;
    color: #333;
    text-align: center;
}

/* About Content */
.about-content {
    margin-top: 0;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
    text-align: center;
}

.about-content p {
    font-size: 1.2em;
    color: #333;
    line-height: 1.6;
}

/* Original image gallery styling for all pages */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Adjustments for About Section */
.about {
    padding: 0 5px 5px;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* This class forces the heading to appear on a full-width row */
.center-heading {
    flex: 1 1 100%;
    text-align: center;
    font-size: 4em;
    color: #333;
    font-weight: normal;
    margin-top: 0 !important;
    margin-bottom: 0;
}

.about-content {
    flex: 1;
    text-align: center;
}

.about-content h3 {
    font-size: 4em;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.about-content p {
    font-size: 1.3em;
    color: #555;
    line-height: 1.4;
}

.about .gallery-item {
    flex: 1;
}

.about .gallery-item img {
    width: 100%;
    border-radius: 0;
    max-width: 400px;
}

/* Testimonials Section */
.testimonials {
    background-image: url('/images/Flowers background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    margin-top: 20px;
}

.testimonial {
    margin-bottom: 40px;
    font-size: 1.1em;
    color: #555;
}

.testimonials h6 {
    font-size: 1.1em;
    color: #555;
    margin-top: 0;
    margin-bottom: 50px;
    font-weight: normal;
}

.testimonial p {
    margin: 0 0 20px 0;
    font-size: 1.1em;
    color: #555;
    line-height: 1.0;
    padding-left: 300px;
    padding-right: 300px;
}

.testimonials h5 {
    font-size: 2.5em;
    font-weight: normal;
    margin-bottom: 60px;
    margin-top: 2px;
    color: #555;
    text-align: center;
    text-transform: uppercase;
}

/* Call to Action Section */
.cta {
    text-align: center;
    padding: 20px 20px;
    background-color: #eae2f7;
    margin: 0;
}

.cta h3 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: #333;
    font-weight: normal;
}

.cta p {
    font-size: 1.3em;
    margin-bottom: 20px;
    color: #555;
}

.cta-button {
    padding: 5px 30px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    font-size: 1.8em;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #555;
}

/* Booking section styling */
.booking {
    text-align: center;
    padding: 10px 15px 30px 15px;
    background-color: #eae2f7;
    margin-top: 10px auto;
    border-radius: 15px;
    max-width: 750px;
    margin: 40px auto;
}

.booking h3 {
    font-size: 1.9em;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: normal;
}

.booking p {
    font-size: 1.3em;
    color: #555;
    margin-bottom: 15px;
}

.booking-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.booking-button:hover {
    background-color: #555;
}

/* Footer styling */
footer {
    text-align: center;
    padding: 25px;
    background-color: #333;
    color: #fff;
    font-size: 1em;
}

.footer-contact {
    margin-top: 10px;
}

.footer-contact a {
    color: #fff;
    text-decoration: none;
    margin: 0 8px;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Specific styles for the index.ejs page */
.index-page .index-text {
    text-align: center;
    margin: 10px auto;
    padding: 10px;
    max-width: 800px;
    font-size: 1.2em;
    line-height: 1.6;
}

.index-page .index-text h2 {
    margin-bottom: 5px;
    font-size: 1.6em;
    font-weight: normal;
}

.index-page .index-text p {
    margin: 8px 0;
    font-size: 1.0em;
}

.index-page .index-text .gallery-item {
    height: 450px;
}

.index-page .index-text .gallery-item img {
    height: 100%;
    object-fit: cover;
}

.index-page .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
}


.index-page .gallery-item {
    overflow: hidden;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    position: relative;
}

.index-page .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.index-page .gallery-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 15px;
    font-size: 1.2em;
    border-radius: 5px;
    opacity: 1; 
    transition: none;
    text-align: center;
}

/* Override for the overlay so it stays fully visible */
.index-page .gallery-item:hover .gallery-title {
    opacity: 1;
}


.index-page .banner {
    width: 100%;
    max-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: 14px;
}

.index-page .banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.index-page .banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
}

.index-page .banner-content h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.index-page .banner-content p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.index-page .banner-content .banner-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.index-page .banner-content .banner-button:hover {
    background-color: #cc5200;
}

/* Custom styles for the specific 8 images in the index-page */
.index-page .custom-image-gallery {
    display: grid;
    grid-template-rows: repeat(4, auto);
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.index-page .custom-image-gallery .gallery-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.index-page .custom-image-gallery .gallery-item {
    flex: 1;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.index-page .custom-image-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.index-page .custom-image-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.index-page .custom-image-gallery .gallery-item .overlay-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    font-size: 1.2em;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: center;
}

.index-page .custom-image-gallery .gallery-item:hover .overlay-title {
    opacity: 1;
}

/* Override for the special-booking-cta */
.index-page .booking.special-booking-cta {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    background-color: #eae2f7;
    padding: 50px 0;
    box-sizing: border-box;
}

/* Slideshow (Hero Slider) Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 40%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    z-index: 3;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* ------------------------------------------- */
/* Styles for 404 Page (error-page) */
/* ------------------------------------------- */
.error-page {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    text-align: center;
}

.error-page h1 {
    font-size: 4em;
    margin: 0;
}

.error-page p {
    font-size: 1.5em;
    margin: 10px 0;
}

.error-page a {
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    background-color: #efefef;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.error-page a:hover {
    background-color: #ddd;
}

/* Custom Logo Section Styling */
.custom-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 40px 0;
}

.custom-logo {
    display: inline-block;
    line-height: 1.2;
}

.custom-logo-title { 
    font-size: 6.8rem;
    font-weight: normal;
    color: #000;
    margin: 0;
    letter-spacing: 2px;
}

.custom-logo-subtitle {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: normal;
    color: #000;
    margin: 5px 0 0 0;
    letter-spacing: 1px;
}

/* Lead form container */
.lead-form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 80px;
}

/* Title and description */
.lead-form h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: normal;
    font-family: 'Caveat Brush', cursive;
}

.lead-form p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #555;
}

/* Flex container for image and form */
.lead-form-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Lead form image styling */
.lead-form-image {
    flex: 1;
    margin-right: 20px;
    min-width: 300px;
}

.lead-form-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Form container */
.lead-form-data {
    flex: 1;
    text-align: left;
    min-width: 300px;
}

/* Input and label styling */
.lead-form-container label {
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

.lead-form-container input,
.lead-form-container select,
.lead-form-container textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.lead-form-container input:focus,
.lead-form-container select:focus,
.lead-form-container textarea:focus {
    border-color: #ff6600;
    outline: none;
}

.lead-form-container button {
    padding: 12px 20px;
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.lead-form-container button:hover {
    background-color: #cc5200;
}

/* ------------------------------------------- */
/* MOBILE RESPONSIVE OVERRIDES */
/* ------------------------------------------- */
@media (max-width: 768px) {
    /* General adjustments */
    body {
        background-size: cover;
        font-size: 0.8rem;
    }
    h1, h2, h3, h4, h5 {
        font-size: 3.5rem;
        line-height: 1.2;
    }
    h6 {
        font-size: 2.2rem;
    }
    p {
        font-size: 0.9rem; /* slightly smaller for mobile */
    }
    }

    @media (max-width: 480px) {
    p {
        font-size: 0.8rem; /* even smaller on very small screens */
    }
}
      
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: 60vh;
        padding: 10px;
        background-size: cover;
        background-position: center;
    }
    .hero-slider {
        width: 80%;
        height: 300px;
    }

    /* About Section */
    .about {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 10px;
    }
    .about-content {
        max-width: 100%;
        padding: 15px;
    }
    .about-content h3 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .about-content p {
        font-size: 0.8rem;
        line-height: 1.5;
        max-width: 90%;
        margin: 0 auto;
    }
    .about .gallery-item img {
        max-width: 70%;
        height: auto;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 20px 15px;
        text-align: center;
    }
    .testimonial {
        max-width: 90%;
        margin: 0 auto 20px;
    }
    .testimonial p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding: 0 20px;
    }
    .testimonials h5 {
        font-size: 2em;
        margin-bottom: 20px;
    }
    .testimonials h6 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* Call to Action and Booking */
    .cta, .booking {
        padding: 20px;
    }
    .cta-button, .booking-button {
        padding: 0.8rem 1.5rem;
        font-size: 1.2rem;
    }
    
    /* Lead Form */
    .lead-form {
        padding: 20px;
    }
    .lead-form h2 {
        font-size: 2rem;
    }
    .lead-form p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4, h5 {
        font-size: 3em;
    }
    h6 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Make the header container stack vertically and center its items */
    .header-container {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 0 10px; /* optional: reduce side padding if needed */
    }
  
    /* Center the logo and give it some bottom margin */
    .logo {
      margin-bottom: 10px;
      text-align: center;
    }
    .logo img {
      display: block;
      margin: 0 auto;
      max-width: 100%; /* ensure it scales if needed */
    }
  
    /* Adjust the navigation styling */
    nav ul {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 5px;  /* reduce gap between items */
      padding: 0;
      margin: 0;
    }
    
      /* Optionally add a small margin on each list item to add extra vertical spacing */
  nav ul li {
    margin: 2px; /* Adjust this value as needed */
  }
    nav ul li a {
      /* Reduce horizontal padding to keep buttons compact */
      padding: 6px 2px;  /* 6px vertical, 2px horizontal */
      white-space: nowrap;
    }
  
    /* Center the social media icons */
    .social-icons {
      display: flex;
      justify-content: center;
      gap: 10px; /* adjust gap as needed */
      margin-top: 10px;
    }
    
    .social-icons a {
      display: inline-block;
    }

    }
 @media only screen and (max-width: 768px) {
    .index-page .index-text .gallery-item {
        width: 110% !important;
        margin-left: -5% !important;
        height: 300px !important;
        overflow: hidden !important;
    }
    .index-page .index-text .gallery-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: scale(0.8) !important;
        transition: transform 0.3s ease !important;
    }
    }
      
@media (min-width: 768px) and (max-width: 1024px) {
        /* Adjust the gap between navigation items */
    nav ul {
        gap: 10px;
    }
        
    /* Scale down the nav button font size and padding for tablets */
    nav ul li a {
        font-size: 1.2em;   /* Reduce font size for tablets */
        padding: 8px 4px;   /* Reduce padding so buttons don't break into two lines */
        /* You can tweak the border-radius or any other properties if needed */
    }
    }