/* style.css */

/*
    [cite_start]Based on the project manual[cite: 20, 25, 26, 34, 35, 36, 37, 38, 39],
    we will use the Montserrat font with different weights.
*/
:root {
    /* Updated background colors based on the new images */
    --color-background-sadore: #e3e7e2;
    --color-background-ccdace: #8a9686;
    --color-primary-green: #375249;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-header-text: #36573e; 
    --color-body-text: #bc8b7f; 
}

/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-regular);
    line-height: 1.6;
    color: var(--color-text-dark);
}

/* ========================= HEADER SECTION STYLING ========================= */
.hero-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Slideshow background */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.mySlides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo centered over slides */
.hero-logo {
    position: absolute; /* float above slides */
    top: 20px; /* adjust down from very top */
    left: 50%; /* center horizontally */
    transform: translateX(-50%); /* perfect horizontal centering */
    z-index: 10; /* above images and captions */
}

.hero-logo img {
    height: 60px; /* adjust to your logo size */
    width: auto;
    display: block;
}


/* Responsive logo size */
@media (max-width: 768px) {
    .hero-logo img {
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .hero-logo img {
        max-width: 110px;
    }
}

/* Coming Soon Text - 3/4 from top */
.coming-soon {
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.coming-soon p {
    background-color: rgba(138, 150, 134, 0.9); /* HEX #8A9686 */
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Pagination Dots - bottom left */
.pagination-dots {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 20;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #36573E;
}

/* Fade animation for slides */
.fade {
    animation: fadeEffect 1.5s;
}

@keyframes fadeEffect {
    from { opacity: 0.4; }
    to { opacity: 1; }
}


/* ========================= FOOTER STYLING ========================= */

.site-footer {
    background-color: #36573E;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

/* DISTRICT / GROUP text */
.district-group-info {
    text-align: left;
}

.district-group-info .district-name {
    font-family: var(--font-bold);
    font-size: 1.5em;
    margin: 0;
    line-height: 1;
}

.district-group-info .district-group-text {
    font-family: var(--font-regular);
    font-size: 0.4em;
    margin: 0;
    line-height: 1;
    text-transform: uppercase;
}

/* Contact info + separator */
.contact-info {
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 30px;
    background-color: #fff;
}

.contact-info p {
    font-family: var(--font-regular);
    font-size: 0.9em;
    color: #fff;
    margin: 5px 0;
}

/* Legal text + links */
.legal-links p {
    font-family: var(--font-regular);
    font-size: 0.8em;
    color: #fff;
    margin-bottom: 5px;
}

.legal-links a {
    font-family: var(--font-regular);
    font-weight: 600;
    font-size: 0.8em;
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

/* Desktop layout */
@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .contact-info::before {
        height: 100%;
        top: 0;
        transform: none;
    }

    .legal-links {
        text-align: right;
    }
}

/* Mobile layout with separator */
@media (max-width: 767px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .district-group-info {
        text-align: left;
        flex: 1;
    }

    .contact-info {
        text-align: right;
        flex: 1;
        padding-left: 12px; /* space between stroke & text */
        position: relative;
    }

    .contact-info::before {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 2px;
        height: 70%;
    }

    .contact-info p {
        padding-left: 10px; /* space after stroke */
    }

    .legal-links {
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }
}

:root {
    --font-regular: 'Montserrat', sans-serif;
    --font-semi-bold: 'Montserrat', sans-serif;
    --font-bold: 'Montserrat', sans-serif;
    
    --color-primary-green: #375249;
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-background-light: #f5f5f5;
    --color-background-dark: #2c2c2c; /* A placeholder for Heen Sadore/Ccdace */
}

/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-regular);
    line-height: 1.6;
    color: var(--color-text-dark);
}

/* style.css */



/* ========================= FOOTER STYLING ========================= */

.footer-content {
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.contact-info p {
    margin: 5px 0;
    font-size: 0.9em;
}

.legal-links p,
.legal-links a {
    font-size: 0.8em;
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 5px;
}

.legal-links a:hover {
    text-decoration: underline;
}
/* ========================= WELCOME SECTION STYLING ========================= */
.welcome-section {
    background-color: #fff; /* Background should be white as per your request */
    padding: 50px 20px;
    text-align: center;
}

.welcome-section .welcome-text {
    font-family: var(--font-regular);
    /* The project manual specifies HEX# 8A9686 for this line */
    color: #8A9686;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.welcome-section h3 {
    font-family: var(--font-regular);
    /* The project manual specifies MONTSERRAT REGULAR and HEX #36573E for the main header */
    color: #36573E;
    font-size: 1.5em;
    line-height: 1.2;
    margin-bottom: 20px;
}

.welcome-section .intro-text {
    font-family: var(--font-regular);
    /* The project manual specifies MONTSERRAT REGULAR and HEX# 8C887F for the body text */
    color: #8C887F;
    font-size: 1em;
    max-width: 700px;
    margin: 0 auto;
}
/* ========================= DISCOVER SECTION STYLING ========================= */
.discover-section {
    display: flex;
    flex-direction: column; /* Stacks content on mobile first */
    align-items: center;
    padding: 50px 20px;
    background-color: #fff; /* The background should be white */
}

.discover-image-container {
    width: 100%;
}

.discover-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.discover-text-content {
    padding: 20px;
    text-align: center;
}

.discover-text-content h3 {
    font-family: var(--font-regular); /* Header text is Montserrat Regular */
    font-size: 1.8em;
    color: #36573E; [cite_start]/* The color for this header is HEX #36573E [cite: 38] */
    margin-bottom: 15px;
}

.discover-text-content p {
    font-family: var(--font-regular); /* Body text is Montserrat Regular */
    font-size: 0.8em;
    color: #8C887F; [cite_start]/* The color for the body text is HEX #8C887F [cite: 26, 38] */
    max-width: 600px;
    margin: 0 auto;
}

/* Media query for larger screens (e.g., tablets and desktops) */
@media (min-width: 768px) {
    .discover-section {
        flex-direction: row; /* Arranges content side-by-side on larger screens */
        text-align: left;
    }

    .discover-image-container {
        flex: 1; /* Takes up one part of the space */
    }

    .discover-text-content {
        flex: 1; /* Takes up one part of the space */
        padding: 50px;
    }

    .discover-text-content h3 {
        text-align: left;
    }
}
/* ========================= LIFESTYLE SECTION STYLING ========================= */
.lifestyle-section {
    /* Set the correct background color from the project manual */
    background-color: #ccdace; 
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.lifestyle-section h4 {
    /* Montserrat Semi-bold and the specified hex color */
    color: #36573E;
    font-family: var(--font-semi-bold);
    font-size: 2em;
    margin-bottom: 30px;
}

.lifestyle-carousel-container {
    position: relative;
    padding: 0 50px;
}

.lifestyle-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 10px;
    gap: 20px;
    scroll-behavior: smooth;
}

.lifestyle-grid::-webkit-scrollbar {
    display: none;
}

.lifestyle-item {
    flex: 0 0 80%;
    min-width: 250px;
    max-width: 300px;
    scroll-snap-align: center;
    /* The item background should be the same as the section background */
    background-color: transparent;
    box-shadow: none;
}

.lifestyle-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.lifestyle-item-content {
    padding: 20px;
}

.lifestyle-item-content h5 {
    /* Sub-header is Montserrat Semi-bold with the specified hex color */
    color: #36573E;
    font-family: var(--font-semi-bold);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.lifestyle-item-content p {
    /* Body text is Montserrat Regular with the specified hex color */
    color: #36573E;
    font-family: var(--font-regular);
    font-size: 0.9em;
}

/* Carousel Button Styles */
/* Scroll buttons style */
.carousel-btn {
  background-color: transparent; /* No background */
  border: none; /* No border */
  color: white; /* Button text/icon color */
  font-size: 2em; /* Adjust size as needed */
  cursor: pointer;
  z-index: 10; /* Ensure the button is on top */
  position: absolute; /* Allows for precise positioning */
  top: 50%;
  transform: translateY(-50%); /* Centering the button vertically */
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Media query for desktop screens to show 3 photos at a time */
@media (min-width: 1024px) {
    .lifestyle-slider-mask {
        /* This container is the viewport for the carousel */
        width: 100%;
        max-width: 900px; /* Adjust this width to fit 3 items with some spacing */
        overflow: hidden; /* Hides any items that go beyond the max-width */
        margin: 0 auto;
    }

    .lifestyle-grid {
        /* Changes the grid to a flex container to allow for scrolling */
        display: flex;
        flex-wrap: nowrap;
        gap: 20px; /* Adjust as needed */
        transition: transform 0.5s ease-in-out; /* Smooth transition for scrolling */
    }

    .lifestyle-item {
        /* Ensures all items have the same width and don't stretch */
        flex-shrink: 0;
        width: calc(33.333% - 13.333px); /* Adjust to fit 3 items plus the gap */
    }
}
/* ========================= BONNINGTON SECTION STYLING (UPDATED) ========================= */
.bonnington-section {
    background-color: #f0f0f0; /* A neutral background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.bonnington-image-container {
    width: 100%;
    max-width: 600px;
    margin-bottom: 20px;
}

.bonnington-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.bonnington-content {
    text-align: center;
    max-width: 600px;
}

.bonnington-content h4 {
    /* HEADER: Montserrat Regular, HEX #36573E */
    font-family: var(--font-regular);
    font-size: 1.8em;
    color: #36573E;
    margin-bottom: 10px;
}

.bonnington-content p {
    /* BODY: Montserrat Regular, HEX# 8C887F */
    font-family: var(--font-regular);
    font-size: 1em;
    color: #8C887F;
}

/* Desktop layout for this section */
@media (min-width: 768px) {
    .bonnington-section {
        flex-direction: row;
        justify-content: center;
    }

    .bonnington-image-container {
        flex: 1;
        margin-right: 40px;
    }

    .bonnington-content {
        flex: 1;
        text-align: left;
    }
}
/* ========================= JOIN THE LIST SECTION STYLING ========================= */
.join-list-section {
    background-color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.join-list-section .form-content-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.join-list-section .join-list-heading {
    color: #36573E;
    font-family: var(--font-bold);
    font-size: 2em;
    margin-bottom: 10px;
}

.join-list-section .form-intro-text {
    font-family: var(--font-regular);
    color: #8C887F;
    font-size: 1em;
    margin-bottom: 30px;
}

.join-list-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-list-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.join-list-form input,
.join-list-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #cdd0d3;
    border-radius: 5px;
    font-family: var(--font-regular);
    color: #8C887F;
    box-sizing: border-box;
}

.join-list-form input::placeholder,
.join-list-form select option {
    color: #8C887F;
}

.join-list-form .submit-button {
    background-color: #8A9686; /* Correct button background color */
    color: #fff;
    font-family: var(--font-semi-bold);
    font-size: 1.2em;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.join-list-section .legal-text {
    font-family: var(--font-regular);
    color: #8C887F;
    font-size: 0.7em;
    margin-top: 20px;
    text-align: center;
}

/* Media query for larger screens to enable two-column layout */
@media (min-width: 768px) {
    .join-list-form .form-row {
        flex-direction: row;
    }
}
/* ========================= DISTRICT GROUP SECTION STYLING ========================= */
.district-group-section {
    background-color: #E6E5E5;
    padding: 50px 20px;
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* This is the container for the actual text content */
.district-group-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.district-group-content h3 {
    font-family: var(--font-regular);
    color: #36573E;
    font-size: 2em;
    margin-bottom: 20px;
}

.district-group-content p {
    font-family: var(--font-regular);
    color: #36573E;
    font-size: 0.8em;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

/* Base styling for the watermark (mobile first) */
.district-group-section::before {
    content: "DISTRICT";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-90deg); /* Vertical orientation for phone */
    transform-origin: left;
    font-size: 200px;
    font-family: var(--font-bold);
    color: rgba(255, 255, 255, 0.4);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* Media query for larger screens (e.g., laptops) */
@media (min-width: 768px) {
    .district-group-section::before {
        content: "DISTRICT";
        top: auto;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%); /* Horizontal orientation for desktop */
        font-size: 300px; /* Increase font size for desktop */
    }
}
/* Styling for the entire page */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    /* This will ensure the body takes up the full height of the viewport */
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
}

/* Styling for the header on the thank you page */
.thank-you-header {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 20px; /* Add some space below the logo */
    text-align: center; /* Center the logo inside the header */
}

/* Styling for the logo image */
.thank-you-header .logo {
    width: 150px; /* Adjust size as needed */
    height: auto;
}

/* Styling for the main content area */
.thank-you-page {
    /* Set the background color from the design */
    background-color: white;
    text-align: center;
    padding: 20px; /* Add some general padding */
    /* Flexbox properties to center the content vertically and horizontally */
    flex-grow: 1; /* Allows this section to fill the remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Styling for the main heading */
.thank-you-page h1 {
    color: #36573E;
    font-size: 2em;
    margin: 0 0 30px 0; /* Remove top margin and add bottom margin */
    font-weight: normal;
}

/* Styling for the back button */
.back-button {
    background-color: #A9B2A8; 
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.back-button:hover {
    background-color: #8D998C; 
}
/* Styling for the header on the legal page */
.legal-header {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
}

/* Styling for the logo image within the legal header */
.legal-header .logo {
    width: 150px;
    height: auto;
}

/* Styling for the main legal content area */
.legal-page {
    background-color: white;
    text-align: center;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Styling for the main heading on the legal page */
.legal-page h1 {
    color: #36573E;
    font-size: 2em;
    margin: 0 0 30px 0;
    font-weight: normal;
}

/* Styling for the download button */
.download-button {
    background-color: #A9B2A8;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.download-button:hover {
    background-color: #8D998C;
}

/* This will prevent the logo and text from overlapping on this specific page */
.legal-page + header {
    position: static;
}

/* Base styles for the entire page */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Styling for the header on the terms of use page */
.terms-header {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
}

/* Styling for the logo image within the terms header */
.terms-header .logo {
    width: 150px;
    height: auto;
}

/* Styling for the main content area */
.legal-page {
    background-color: white;
    text-align: center;
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Styling for the main heading on the legal page */
.legal-page h1 {
    color: #36573E;
    font-size: 2em;
    margin: 0 0 30px 0;
    font-weight: normal;
}

/* Styling for the download button */
.download-button {
    background-color: #A9B2A8;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.download-button:hover {
    background-color: #8D998C;
}
/* Add basic styling for other sections here as we go along */