/* Font imports */
@font-face {
    font-family: 'Providence Sans';
    src: url('../font/ProvidenceSansBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Boulder';
    src: url('../font/BoulderBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

/* Base styles */
body {
    font-family: 'Providence Sans', sans-serif;
    background-color: #FEFDD7;
    line-height: 1.6;
    color: #333;
    font-size: 1.1rem;
}

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #FEFDD7;
    padding: 15px;
    padding-bottom: 5px;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.sticky-nav.visible {
    transform: translateY(0);
}

.nav-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 10px;
}

.nav-header img {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.nav-header img.visible {
    opacity: 1;
    visibility: visible;
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    width: 100%;
}

.nav-menu a {
    color: #F7C6AE;
    cursor: pointer;
    font-family: 'Boulder', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    margin: 0 50px;
    transition: color 0.3s ease-in-out;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #EB6767;
}



/* Landing section */
.landing-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    width: 100%;
}

/* Section Menu */
.section-menu {
    width: 100%;
    margin-bottom: 80px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.section-menu .menu-items {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.section-menu a {
    color: #F7C6AE;
    cursor: pointer;
    font-family: 'Boulder', sans-serif;
    font-size: 1.5rem;
    text-decoration: none;
    margin: 0 50px;
    transition: color 0.3s ease-in-out;
}

.section-menu a:hover,
.section-menu a.active {
    color: #EB6767;
}

/* Schedule */
.schedule-section {
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 20px;
}

.schedule-images {
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%; 
    gap: 5px;
}
.schedule-images img {
    height: auto;
    width: 50%;
    max-width: 300px;
}

.schedule-txt {
    width: 100%;
    text-align: center;
    padding-top: 30px;
}


/* Info */
.info-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    height: 100vh;
    width: 100%;
    gap: 20px;
    overflow: hidden;
    padding: 0 50px;
    padding-top: 125px;
}

.info-section-img {
    flex-grow: 1;
    height: 100%;
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-section-img img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

.info-section-text {
    flex-grow: 3;
    height: 100%;
    padding-top: 30px;
    overflow-y: auto;
    width: 60%;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent, 
        black 40px,
        black calc(100% - 40px),
        transparent
    );
    mask-image: linear-gradient(to bottom, 
        transparent, 
        black 40px,
        black calc(100% - 40px),
        transparent
    );
}

.info-section-text div  {
    padding-left: 30px;
}

/* Questions */
.questions-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 125px;
}

.questions-section h2 {
    padding-bottom: 20px
}

/* Collapsible Questions */
.collapsible-question {
    margin-bottom: 1rem;
    width: 60%;
    padding-bottom: 20px;
    border-bottom: 2px solid #333;
}

.lbl-toggle {
    display: block;
    cursor: pointer;
    transition: all 0.25s ease-out;
    position: relative;
    padding-right: 35px;
}

.lbl-toggle::after {
    content: '>';
    font-size: 2rem;
    position: absolute;
    right: 1rem;
    top: -0.8rem;
    transform: rotate(0deg);
    transition: transform .4s ease-out;
}

.toggle:checked + .lbl-toggle::after {
    transform: rotate(90deg);
}

.collapsible-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .5s ease-in-out;
}

.toggle:checked + .lbl-toggle + .collapsible-content {
    max-height: 2000px;  /* Large enough value to fit all content while maintaining animation */
}

.collapsible-content .content-inner {
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.toggle {
    display: none;
}

.questions-section-footer {
   margin-top: 20px;
    text-align: center;
}

.questions-section-footer img {
    margin-top: 70px;
}

/* Contact */
.contact-section {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding-top: 115px;
}
.contact-section-content {
    width: 60%;
    text-align: center;
    padding: 20px;
}


.contact-section-form {
    width: 40%;
    margin-bottom: 50px;
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.email-field,
.presence-field,
.children-field,
.restrictions-field,
.dates-field, 
.arrange-transport-field {
  grid-column: 1 / -1;
}

.arrange-transport-field {
    padding-right: 110px;
}

.contact-section-form label {
  display: block;
  margin-bottom: 5px;
  text-align: left;
}

.form-grid input[type="text"],
.form-grid input[type="email"] {
  width: 100%;
  background: none;
  border-radius: 2px;
  border: 2px solid #333;
  outline: none;
  padding: 8px 12px;
  font-size: 1rem;
  font-family: 'Providence Sans', sans-serif;
}

.presence-field div {
  display: flex;
  align-items: center;
}

.presence-field input[type="checkbox"] {
  margin-right: 5px;
}

.presence-field label {
  display: inline;
  margin-right: 15px;
  margin-bottom: 0;
}

.form-grid input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 2px solid #333;
  border-radius: 2px;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-grid input[type="checkbox"]:checked {
   background: #333;
}

.form-submit {
    margin: 30px 0; 
    display: flex;
    justify-content: center;
}

.form-submit button {
    cursor: pointer;
    font-family: 'Providence Sans', sans-serif;
    font-size: 1.1em;
    background: none;
    border: 2px solid #333;
    border-radius: 2px;
    padding: 10px 40px;
}

.form-submit button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.comment-field {
    grid-column: 1 / -1;
    margin-bottom: 20px;
}

.comment-field textarea {
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: 2px solid #333;
    border-radius: 2px;
    resize: vertical;
    font-family: 'Providence Sans', sans-serif;
    font-size: 1rem;
}

.comment-field label {
    display: block;
    margin-bottom: 5px;
}

/* Media query for mobile screens */
@media screen and (max-width: 768px) {
    .nav-header {
        justify-content: flex-end;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        background-color: #FEFDD7;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        margin: 10px 0;
        font-size: 1.2rem;
    }

    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .section-menu {
        display: none !important;  /* Hide section menu on mobile */
    }

    .schedule-section {
        min-height: 100vh;
        height: auto;
        padding-top: 100px;
        margin-bottom: 50px;
    }
    
    .info-section {
        display: flex;
        flex-direction: column;
        height: auto;
        padding: 20px;
        padding-top: 80px;
    }
    
    .info-section-text {
        width: 100%;
    }

    .info-section-img {
        width: 100%;
    }

    .schedule-images {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        padding: 0 10px;
    }

    .schedule-images img {
        width: calc(50% - 5px);
        max-width: none;
        margin-bottom: 0;
    }

    .collapsible-question {
        width: 90% !important;
        margin-bottom: 1.5rem;
    }

    .contact-section-content {
        width: 100% !important;
    }

    .contact-section-form {
        width: 100% !important;
        padding: 20px;
    }

    .collapsible-content .content-inner {
        padding: 0.5rem 0;
    }

    .lbl-toggle {
        padding-right: 45px;  /* Increase touch target area */
    }
}

/* Name rows styling */
.names-container {
    width: 100%;
    grid-column: 1 / -1;  /* Make it span all columns */
}

.name-row {
    margin-bottom: 15px;
    width: 100%;
}

.name-inputs {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    width: 100%;
}

.name-inputs > div {
    flex: 1;
    width: 100%;
}

.name-inputs input {
    width: 100%;
}

.add-name-btn, .remove-name-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: none;
    color: #333;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    padding: 0;
}

.add-name-btn:hover, .remove-name-btn:hover {
    color: #000;
    cursor: pointer;
}

.remove-name-btn {
    font-size: 28px;
}