/* Main Content Styling */
.main-content {
    background-color: #F8DA91;
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Spacing */
.introduction, .services, .testimonials, #cta {
    margin-bottom: 50px;
}

/* Service Cards */
.service-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials */
    .blockquote {
        font-size: 1.1rem;
        font-style: italic;
        color: #555;
        border-left: 5px solid #4caf50;
        background-color: #f9f9f9;
    }
    .blockquote-footer {
        font-size: 0.9rem;
        color: #fff;
    }
    

/* CTA Banner - Improved */
.cta-banner {
    background-color: #2d472d;
    color: white;
    text-align: center;
    padding: 20px 10px; /* More padding for better spacing */
    border-radius: 8px; /* Slightly larger radius for a smoother look */
    margin: 4px auto; /* Adds some spacing above & below */
    max-width: 90%; /* Prevents stretching on larger screens */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-banner {
        padding: 30px 15px;
        border-radius: 5px;
    }
}


.cta-banner h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.cta-banner p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-banner .btn-primary {
    background-color: #ffffff;
    color: #2d472d;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.cta-banner .btn-primary:hover {
    background-color: #f4f4f4;
}







/* Content Area */
/* Main Content Area */
.content-area {
    background-color: #ffffff; /* White background */
    padding: 20px; /* Spacing inside */
    border-radius: 10px; /* Optional rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}


.container {
    margin-top: 4px; /* Add spacing above content */
}

main {
    margin-bottom: 20px;
}

main h2, main h3 {
    color: #2d472d; /* Consistent heading color */
}

main p {
    margin-bottom: 15px;
    line-height: 1.6; /* Improved readability */
}

/* Sidebar Styling */
.sidebar {
    background-color: #f4f4f0; /* Light background for sidebar */
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    margin-bottom: 20px; /* Add spacing below sidebar */
}

.sidebar h3 {
    color: #2d472d; /* Consistent heading color */
}

.sidebar form .form-label {
    font-weight: bold;
}




/* Contact Form Styling */
.contact-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
	background-color: #DEFDE2;
}

.contact-form textarea {
	background-color: #DEFDE2;
    resize: none;
}

.contact-form .btn-primary {
    background-color: #2d472d;
    border: none;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
}

.contact-form .btn-primary:hover {
    background-color: #243d24;
}

.contact-form .g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}







/* Contact Form Styling */
.contact-form1 {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form1 label {
    font-weight: bold;
    margin-bottom: 5px;
}

.contact-form1 .form-control {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
	background-color: #DEFDE2;
}

.contact-form textarea {
	background-color: #DEFDE2;
    resize: none;
}

.contact-form1 .btn-primary {
    background-color: #2d472d;
    border: none;
    padding: 10px 20px;
    width: 100%;
    font-size: 16px;
    border-radius: 5px;
}

.contact-form1 .btn-primary:hover {
    background-color: #243d24;
}

.contact-form1 .g-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}










/* General Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full-screen height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hero Section Video and Image Styling */
.hero-section .slide img, 
.hero-section .slide video {
    display: block !important; /* Make sure it's visible */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1 !important; /* Ensure images are not hidden */
    visibility: visible !important;
    
}

.hero-section .slide {
    background: black; /* Helps visualize empty spaces */
}

/* Overlay */
.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
    z-index: 1;
}

/* Slide Content Styling */
.hero-section .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}


@media (max-width: 768px) {
    .hero-section .slide-content {
        gap: 0.5rem;
    }
}



.hero-section .slide-content h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.hero-section .slide-content p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.5;
}

/* Slide Styling */
.hero-section .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Hide inactive slides */
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-section .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Animations */
@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-title {
    animation: fadeSlideIn 1.5s ease-out forwards;
    opacity: 0;
}

.animate-text {
    animation: fadeSlideIn 2s ease-out 0.5s forwards;
    opacity: 0;
}

/* Ken Burns Animation */
@keyframes kenburns {
    0% { transform: scale(1); }
    25% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.ken-burns {
    animation: kenburns 15s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh; /* Adjust height for smaller screens */
        position: relative;
        overflow: visible; /* Allow images to overflow */
        min-height: 50vh; /* Ensure the section doesn't collapse */
    }

    /* Ensure images/videos fit within the container */
    .hero-section video,
    .hero-section img {
        object-fit: contain; /* Ensure the whole image/video is visible */
        object-position: center;
        width: 100%;
        height: 100%;
        display: block;
    }

    /* Adjust slide content for smaller screens */
    .hero-section .slide-content {
        width: 95%;
        padding: 0 10px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
    }

    .hero-section .slide-content h2 {
        font-size: 1.8rem;
    }

    .hero-section .slide-content p {
        font-size: 1rem;
    }
}


/* Modify link styles in the footer */
.footer-tiles .tile a {
    text-transform: uppercase; /* Make text uppercase */
    color: #fff; /* Set a custom color (change as per your design) */
    text-decoration: none; /* Remove underline */
    padding: 10px 15px; /* Add padding around the link */
    display: block; /* Ensure the link fills the area */
    transition: color 0.3s ease, background-color 0.3s ease; /* Smooth hover transition */
}

.footer-tiles .tile a:hover {
    color: #333; /* White text color on hover */
    background-color: #F8DA91; /* Blue background on hover */
    border-radius: 5px; /* Optional: Adds rounded corners to the link on hover */
}

/* Optional: Style for the text inside the link (tile-caption) */
.footer-tiles .tile .tile-caption {
    font-size: 14px; /* Adjust font size */
    font-weight: bold; /* Make the text bold */
    text-align: center; /* Center the caption text */
    margin-top: 10px; /* Add space above the text */
    transition: color 0.3s ease;
}

/* Optional: Hover effect for the caption */
.footer-tiles .tile a:hover .tile-caption {
    color: #2D472D; /* Change caption color on hover */
}




#postcode {
  text-transform: uppercase;
}





#success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s forwards;
    z-index: 9999;
}

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content img {
    width: 150px; /* Adjust logo size */
    height: auto;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}




.title {
    font-family: 'Playfair Display', serif; /* Use the chosen font */
    font-size: 2rem; /* Adjust size as needed */
    text-align: center; /* Center the text */
    margin-top: 4px; /* Add some top margin */
    color: #DEFDE2; /* Example color, adjust as needed */
}






/* Fancybox overrides */
.fancybox__image {
    object-fit: contain; /* Ensures the image scales proportionally */
    object-position: center; /* Keeps the image centered */
    display: block;
    margin: 0 auto; /* Centers the image horizontally */
  }
  
  /* Optional: Controls the zoom effect and image position on zoom */
  .fancybox__image:focus {
    outline: none; /* Remove any focus outline */
  }
  
  .fancybox-button {
    z-index: 9999; /* Ensures buttons stay above image */
  }
  