:root {
    --font-sans: Verdana, sans-serif;
    --font-serif: 'Merriweather', serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    zoom: 0.75;
    font-family: var(--font-serif);
    color: #333;
}

#main-header {
    background-image: url('images/banner.webp');
    background-size: cover;
    background-position: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    font-size: larger;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(100, 0, 255, 0.25);
    padding: 5rem;
    border-radius: 10px;

    color: goldenrod;
    text-transform: uppercase;

}

.header-content h1, .header-content h3{

    font-family: var(--font-serif);
}
header {
    font-family: var(--font-sans);
    /* capitalize all words */
    letter-spacing: 1px;
    line-height: 1.2;
}

p {

    line-height: 1.6;
    font-family: var(--font-serif);
}

header h1 {
    font-size: 4em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
header h3 {
    margin-bottom: 5rem;

}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;

}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    color: white;
}

#hero {
    font-family: var(--font-serif);
    margin: 2rem auto;
    max-width: 66%;
}

#hero h2 {
    margin-bottom: 0;
}

#hero>header {
    font-family: var(--font-serif);
    font-size: 2em;
    font-weight: bold;


    margin-bottom: 1rem;
} 

#hero p {
    font-size: 1.5em;
}

.cta-button {
    background-color: darkgreen;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 1.2em;
}

.header-content .cta-button {
    margin-bottom: 1rem;
}
main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
    text-align: center;
}

h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

section img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
}


.accommodation {
    margin-bottom: 40px;
}
#accommodations, #pet-friendly {
    max-width: 66%;
    margin: 0 auto 0 auto;
    background-color: #f9f9f9;
    padding: 40px 20px;
    text-align: center;
}

#accommodations h2, #pet-friendly h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.accommodation_type {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.fadeshow-container {
    flex: 1 1 50%;
    position: relative;
    max-width: 500px;
    margin: 20px;
    min-height: 20rem;
}

.skinny-banner-container {
    background-image: url('/images/garden_banner.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 8rem;
    position: relative;
    width: 100%;
}

.skinny-banner {
    width: 100%;
    height: 8rem;
    object-fit: cover;
    object-position: center;
    display: block;
}

.badges {
    background: rgba(50, 50, 50, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5rem;
}

.badge {
    color: goldenrod;
    padding: 2rem 3rem;
    border-radius: 1rem;
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
}

.back-link {
    font-size: 1.25rem;
}

.cabin-slide {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 2s;
}

.cabin-slide.active {
    display: block;
    position: relative;
    opacity: 1;
}

.cabin-description {
    font-size: 1.5rem;
    flex: 1 1 50%;
    text-align: left;
    padding: 20px;
    width: 50%;
    text-align: left;
}

.cabin-description h3 {
    margin-bottom: 10px;
}

.cabin-description p {
    margin-bottom: 20px;
}

.cabin-description ul {
    list-style-type: none;
    padding-left: 0;
}

.cabin-description li {
    margin-bottom: 10px;
}

.cabin-description .cta-button {
    font-size: 1rem;
    clear: both;
    display: block;
    margin-bottom: 1rem;
}

.footer-content {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

.footer-content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.footer-content a {
    color: white;
    text-decoration: none;
}

#social-media {
    padding: 2rem;
}

#highlights, #policies {
    text-align: center;
    overflow: hidden;
    position: relative;
    width: 66%;
    background-color: #f9f9f9;
    padding: 40px 20px;
    margin: 0 auto 0 auto;
}

#highlights h2, #policies h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.slideshow-wrapper {
    overflow: hidden;
    width: 100%;
}

.slideshow-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.highlight {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.highlight img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.highlight h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
}

.highlight p {
    font-size: 1.5em;
    color: #555;
}

.highlight blockquote {
    font-size: 1.3em;
    font-style: italic;
    color: #777;
    margin-top: 10px;
    padding-left: 20px;
    border-left: 5px solid #008080;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.highlight blockquote img {
    margin-bottom: 10px;
}

#about h3 {
    text-transform: uppercase;
    margin-bottom: 0;
}

#about, #discounts, #terms {
    max-width: 50%;
    margin: 0 auto 0 auto;
}

#about p, #discounts p {
    font-size: 1.5em;
    padding: 2rem 3rem;
}

#policies p {
    margin: 0 auto;
    text-align: left;
}
#policies h3 {
    text-align: center;
    margin-bottom: 1rem;
}
#policies section {
    padding: 2rem 3rem;
}
#policies li {
    max-width: 75%;
    margin: 2rem auto;
    text-align: left;
    list-style: disc;
}
#pet-friendly, #discounts, #policies, #terms {
    text-align: left;
    margin-top: 3rem;
}
#terms p {
    text-align: left;
    padding: 2rem 3rem;
}
#terms ol{
    text-align: left;
}
#terms ul {
    padding: 1rem 3rem;
    list-style: disc;
}
#terms ul li {
    margin-bottom: 1rem;
}

#discounts li {
    list-style: none;
    font-size: 1.25rem;
    padding-bottom: 2rem;
}
.two-column-list {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax( 200px, 1fr ) );
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.two-column-list li {
    list-style: none;
    font-weight: bolder;
    background-color: #eee;
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem;
}

.accommodation-details {
    font-family: var(--font-sans);
}

.unit-card {
    font-family: var(--font-sans);

    font-size: 1.5rem;
    display: block;
    margin: 1rem auto;
    padding: 1.25rem; /* More padding for breathing room */
    border: 0.0625rem solid #ddd;
    border-radius: 0.5rem;
    background-color: #fff;
}

.unit-card .fadeshow-container {
    max-width: none;
}

.accommodation-details * {
    font-family: inherit !important;
}

.unit-image-container {
    aspect-ratio: 16 / 9 ;
    overflow: hidden;
    border-radius: 0.5rem;
}

.unit-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unit-details {
    margin-top: 1rem; /* Space between image and details */
}

.unit-header {
    display: flex;
    justify-content: space-between; /* Name on the left, price on the right */
    align-items: center;
}

.unit-name {
    color: #333;
    margin: 0;
    flex: 1; /* Take up remaining space */
    text-align: left;
    font-weight: bold;
    padding: 0.5rem;
}

.unit-name a {
    text-decoration: none;
    color: inherit;
    display: inline-block; /* Ensure proper spacing with price */
}

.unit-price {
    color: #555;
    margin: 0;
    white-space: nowrap; /* Prevent wrapping */
    flex: 1;
}

.unit-price .holiday-price {
    color: #E53935;
    font-weight: bold;
}
/*
.unit-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 0.5rem;     list-style: none;
    margin: 0;
    padding: 0;
    color: #fff;
    background-color: gray;
    padding: 1rem 3rem;
    font-size: smaller;
}
*/
.unit-features {
    display: grid; /* Switch to grid layout */
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Responsive columns */
    gap: 0.5rem; /* Space between grid items */
    list-style: none;
    margin: 0;
    padding: 1rem 3rem; /* Adjust padding as needed */
    color: #fff;
    background-color: gray;
    font-size: smaller;
}
.unit-features li {
    position: relative;
}

/*
.unit-features li + li::before {
  content: "•"; 
  margin-right: 0.5rem;
  color: #fff;
}
*/
.view-details {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background-color: darkgreen;
    color: #fff;
    text-decoration: none;
    border-radius: 0.25rem;
    text-transform: uppercase;
    font-weight: bold;
    font-size: smaller;
}

.cta {
    text-transform: uppercase;
    font-weight: bold;
}
.cta:hover {
    background-color: green;
}
.cta:active {
    background-color: gray;
}

#unit-description {
    position: relative;
    font-size: 1.5rem;
    color: #444;
    margin-top: 1rem;
    line-height: 1.5;
    text-align: justify;
}

.description-text {
    display: block;
    max-height: 4.5em; /* Limit height to ~3 lines */
    overflow: hidden; /* Hide overflowing text */
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: max-height 0.3s ease; /* Smooth expand/collapse */
    font-family: var(--font-serif);
}

/* Style the label (more/less button) */
label[for="toggle-description"] {
    display: inline-block;
    margin-top: 0.5em;
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    font-size: 0.9em;
}

/* When checkbox is checked, expand the description */
#toggle-description:checked ~ .description-text {
    max-height: none; /* Remove height limit */
    text-overflow: unset;
    white-space: normal;
}

/* Change label text based on checkbox state */
#toggle-description:checked ~ label::after {
    content: " Show less";
}

label::after {
    content: " Show more";
}

/* Hide the checkbox itself */
#toggle-description {
    display: none;
}

.unit-details .fadeshow-container {
    max-width: none;
}

nav.breadcrumbs {
    color: white;
}
@media (min-width: 1025px) {
    #unit-description {
        max-width: 50%;
        margin-left: auto;
        margin-right: auto;
    }
    .back-link {
        font-size: 1.25rem;
    }
}
@media (max-width: 1024px) and (min-width: 501px) {
    .fadeshow-container {
        min-height: 15rem;
    }

}

@media (max-width: 764px) {
    nav ul {
        flex-direction: column;
        font-size: 1.5rem;
        gap: 2rem;
    }

    #main-header {
        font-size: 1rem;
    }

    .header-content {
        align-items: center;
    }
    .header-content h4 {
        padding: 1rem;
        font-size: 1.5rem;
    }

    .cta-button {
        margin-top: 2rem;
    }

    section {
        padding: 10px;
    }

    #hero {
        max-width: 100%;
    }

    .badges {
        background-color: transparent;
    }

    .badge {
        display: none;
        font-size: 1rem;
        background-color: transparent;
    }

    #accommodations, #pet-friendly {
        max-width: 100%;
    }

    #about, #discounts, #terms {
        max-width: 100%;
    }

    .footer-content ul {
        flex-direction: column;
        gap: 5px;
    }
    #highlights, #policies {
        width: 100%
    }
    #policies section {
        padding: 2rem 1rem;
    }
    #policies li {
        max-width: 100%;
    }

    .fadeshow-container {
        min-height: 10rem;
    }

    .fadeshow-container,
    .cabin-description {
        flex: 1 1 100%;
        max-width: 100%;
    }

    #contact p {
        margin-top: 2rem;
    }

    #social-media ul {
        gap: 2rem;
    }
}

