body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    text-align: center;
    background: white;
}

html {
    scroll-behavior: smooth;
}

/* Container holding the text and image with a confined, non-repeating radial gradient */
.container {
    padding: 80px 0 0 0;
    background: radial-gradient(circle 300px at top right, rgb(167, 195, 252), white);
    background-repeat: no-repeat;
}

/* Title styling for larger screens */
h1 {
    font-size: 3em;
    font-weight: normal;
    margin: 0;
}

/* Subtitle styling for larger screens */
.subtitle {
    font-size: 1.2em;
    font-weight: 300;
    color: grey;
    margin: 5px auto 20px;
    max-width: 500px;
    width: 70%;
}

/* Image styling */
.image-container img {
    width: 70%;
    max-width: 600px;
    height: auto;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    .subtitle {
        max-width: 90%;
        font-size: 1em;
    }
}



/* Dark purple section spanning full width */
.purple-section {
    background-color: #002f6d;
    /* Dark purple */
    padding: 40px 0;
    margin-top: 20px;
}

.white-section {
    background-color: white;
    padding: 40px 0;
    padding-bottom: 0px;;
}

.blue-section {
    background-color: #002f6d;
    padding: 40px 0;
    margin-top: 0px;
    padding-bottom: 0px;
}



/* Inner container with same width restrictions as the image */
/* Inner container with same width restrictions as the image */
.inner-container {
    width: 70%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    /* For purple section, color is set in its specific styles */
    font-size: 1.2em;
}

/* Text color adjustments for sections */
.purple-section .inner-container {
    color: white;
}

.white-section .inner-container {
    color: black;
}

.blue-section .inner-container {
    color: rgb(255, 255, 255);
}

/* Section and list titles inside purple section with the same font size */
.inner-container .section-title,
.inner-container .list-title {
    margin: 0 0 10px;
    font-size: 1.5em;
    /* Same size for both titles */
}

.blue-section .inner-container .section-title{
    text-align: center;
    /* Same size for both titles */
}

/* Paragraph styling in the purple section */
.inner-container .section-paragraph {
    margin: 0 0 20px;
    font-size: 0.9em;
}

/* Custom ordered list styling */
.custom-list {
    list-style: none;
    padding: 0;
    counter-reset: list-counter;
}

.custom-list li {
    counter-increment: list-counter;
    position: relative;
    padding-left: 40px;
    /* space for the white circle */
    margin-bottom: 20px;
    /* Increased spacing between items */
    font-size: 0.9em;
}

/* Each list number on a white circle with dark purple text */
.custom-list li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4B0082;
    /* dark purple for the number */
    font-weight: bold;
}

/* Highlight class for bold thick yellow underlining */
/*.highlight {
    text-decoration: underline;
    text-decoration-thickness: 6px;
    text-decoration-color: rgba(255, 255, 0, 0.816);
    text-decoration-skip-ink: none;
  }*/


/* Hero Buttons container */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0;
    /* No extra space between location text and buttons */
    margin-bottom: 20px;
}

/* Button styling */
.hero-btn {
    border: 2px solid rgb(118, 132, 255);
    color: rgb(118, 132, 255);
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: clamp(0.8rem, 2vw, 1.rem);
    transition: background-color 0.3s, color 0.3s;
}

.hero-btn:hover {
    background-color: rgb(118, 132, 255);
    color: #2E004F;
}





/* Gallery Section */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    width: 90%;
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 50px;
    justify-items: center;
}


/* Each gallery item now has a fixed height and relative positioning without a border */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: 300px;
    /* Adjust this value to make the item taller */
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.134);
}


/* Gallery image fills the container with cropping */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Gallery caption overlays on the bottom of the image */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #eee;
    /* Solid grey background */
    color: #333;
    padding: 10px;
    text-align: left;
    font-size: 1em;
}

/* Responsive adjustments for gallery */
@media (max-width: 800px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
        width: 70%;
    }

    @media (max-width: 650px) {
        .gallery {
            width: 90%;
        }

        .gallery-item {
            height: 200px;
            /* Adjust this value to make the image taller */
        }

    }
}


/* This adds a 100px buffer on top when scrolling to the target */
#overview {
    scroll-margin-top: 60px;
  }

  #photos {
    scroll-margin-top: 60px;
  }