html, body {
    overflow-x: hidden;
    background: #282445;
}
  
input {
    -webkit-appearance: none;
    appearance: none;
    transform: perspective(1px);
}
  
body {
    font-family: Verdana, sans-serif;
    color: white;
    margin: 0;
}

h1, h2, h3, h4 {
    font-family: 'Roboto Condensed', 'Archivo Narrow', sans-serif;
}

h1 {
    font-size: 3.5em;
}

h3 {
    font-family: 'Roboto Condensed', 'Archivo Narrow', sans-serif;
    color: #8574AE;
    font-size: 2em;
}

p {
    font-size: 18px;
    line-height: 1.7;
}

@media screen and (min-width: 1920px) {
    p {
        font-size: 20px;
        line-height: 1.9;
    }
}

@media(max-width:950px) {
    h1 {
        font-size: 2.5em;
    }
    p {
        font-size: 16px;
        line-height: 1.5;
    }
    h3 {
        font-size: 1.7em;
    }
}

@media(max-width:500px) {
    h3 {
        font-size: 1.5em;
    }
}

/* styling for header */

.logo {
  display: inline-block;
  height: 40px; /* Match your image height */
  width: 118.75px;  /* Match your image width */
  background-image: url('../img/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}

.logo:hover {
    background-image: url('../img/logo_white.png');
}

.navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3%;
    position: relative;
    z-index: 10;
}

.navigation-left {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.menu {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    gap: 35px;
    font-size: 15px;
}

.menu-link {
    color: white;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.menu-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.4em;   /* Pushes the underline further down (adjust as needed) */
}

#current-page {
    color: #1ECAD3;
    text-decoration: underline;
    text-underline-offset: 0.4em;   /* Pushes the underline further down (adjust as needed) */
}

.button {
    min-width: 275px;
    height: 30px;
    color: #282445;
    background: #1ECAD3;
    font-family: 'Roboto Condensed', 'Archivo Narrow', sans-serif;
    letter-spacing: 0.2em;
    font-size: .8em;
    font-weight: 600;
    text-align: center;
    padding-top: 15px;
    border: none;
    text-decoration: none;
    transition: transform 0.3s ease; 
}

.button:hover {      
    transform: translateY(-5px); 
}

.hamburger {
    display: none;
  cursor: pointer;
  transition: transform 0.3s ease; 
}

.hamburger:hover {
    transform: translateY(-5px); 
}

.bar1, .bar2, .bar3 {
  display: block;
  width: 35px;
  height: 1px;
  margin: 10px auto;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: white;
}

@media(max-width:500px) {
    .logo {
        height: 30px;
    }
    .bar1, .bar2, .bar3 {
        margin: 8px auto;
    }
    .hamburger {
        margin-left: -25px;
    }
    .button {
        min-width: 150px;
        height: 25px;
        padding-top: 10px;
    }
}

.menu-close {
    display: none;
    margin-left: -140px;
    cursor: pointer;
    transition: transform 0.3s ease; 
}

.menu-close:hover {
    transform: translateY(-5px); 
}

.menu-close1, .menu-close2 {
    display: block;
    width: 35px;
    height: 1px;
    margin: 10px auto;
    background: white;
}

.menu-close1 {
    transform: translateY(5px) rotate(45deg);
}

.menu-close2 {
    transform: translateY(-5px) rotate(-45deg);
}


@media(max-width:950px) {
    .navigation-left {
        width: 100%;
        gap: 5%;
    }

  .hamburger {
    display: block;
  }

  .menu{
    position: fixed; /* make sure menu stay on screen when scroll down */
    left: -100%; /* to hide from view */
    top: -15px;
    gap: 50px;
    padding: 70px 0px 70px 70px;
    flex-direction: column;
    background: #282445;
    box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.55);
    width: 175px;
    text-align: left;
    transition: 0.5s;
  }

  .menu-close {
        display: block;
    }

  .menu-link {
        margin: 50px auto; /* add space between links on top + bottom */
  }

  .menu.active { /* create classList. need to activate in javascript*/
        left: 0;
  }
}

.banner {
    display: flex;
    flex-direction: row;
    height: 775px;
} 

.banner-image1, .banner-image2 {
    height: 644px;
    width: 40%;
    object-fit: cover;
}

@media screen and (min-width: 1920px) {
    .banner-image1, .banner-image2 {
        width: 30%;
}
}

header {
    position: relative;
    margin: 0;
}

.banner-image1 {
    position: absolute;
    top: 0;
    right: -100%;
    opacity: 0;
    transition: 1.5s ease;
}

.banner-image2 {
    position: absolute;
    left: -100%;
    opacity: 0;
    transition: 1.5s ease;
}

/* classList for when page load */

.banner-image1.active {
    opacity: 1;
    right: 0;
}

.banner-image2.active {
    opacity: 1;
    left: 0;
}

.headline {
    z-index: 5;
    text-align: center;
    width: 50%;
    margin: 10% auto;
}

@media(max-width:950px) {
    .headline {
        width: 75%;
    }
}

@media(max-width:500px) {
    .banner-image1, .banner-image2 {
        width: 45%;
    }
    .banner-image2 {
        margin-top: 60%;
        height: 500px;
    }
    .headline h1 {
        margin-top: 12%;
        margin-left: -10%;
    }
    .headline h2 {
        margin-top: 105%;
        margin-left: 30%;
        width: 80%;
    }
}

/* styling for membership*/


.cta {
    display: inline-block;
    min-width: 325px;
    height: 35px;
    color: #282445;
    background: #1ECAD3;
    font-family: 'Roboto Condensed', 'Archivo Narrow', sans-serif;
    letter-spacing: 0.2em;
    font-size: .8em;
    font-weight: 600;
    text-align: center;
    padding: 20px 0 0 0;
    border: none;
    text-decoration: none;
    margin-top: 10px;
    transition: transform 0.3s ease; 
}

.cta:hover {      
    transform: translateY(-5px); 
}

.membership {
    margin: 0 0 150px 0;
    padding: 0 15%;
}

.line {
    width: 100%;
    height: .5px;
    background: white;
    margin: 70px 0;
}

b {
    color: #1ecad3; 
}


details[open] summary {
    animation: sweep 1s ease;
}

@keyframes sweep {
    from {
        opacity: 0; margin-top: -10px;
    }
    to {
        opacity: 1; margin-top: 0px;
    }
}

/* to move marker to right - hide the default arrow and create a custom one using a pseudo-element (::after) pushed to the right edge*/


summary h3:hover {   
    color: #644b98;  
}

summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none; /* Hides default marker in Firefox/Chrome */
}


/* 2. Hide default marker in Safari */
summary::-webkit-details-marker {
  display: none;
}

/* 3. Add a custom arrow to the right side */
summary::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 16px;
  background-image: url('../img/arrow.png');
  background-size: contain;
  background-repeat: no-repeat;
  margin-top: -40px;
  transition: transform .5s; /* for when arrow rotate when details is opened */
}

/* 4. Rotate the arrow downward when open */
details[open] summary::after {
  transform: rotate(180deg);
}

details[open] summary h3 {
     color: #644B98;
}   

@media(max-width:950px) {
    .membership {
        padding: 0 10%;
    }
}

@media(max-width:500px) {
    .membership {
        padding: 0 5%;
        margin: 80px 0;
    }
    .line {
        margin: 50px 0;
    }
}


/* style footer */

footer {
    background: #8573ae;
    color: #282445;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 5%;
    margin-top: 125px;
}

h4 {
    font-size: 1.8em;
}

.footer-left a:hover {
    opacity: .6;
}

.footer-left a {
    text-decoration: none;
    color: #282445;
    text-decoration: none;
    font-size: 18px;
}

.footer-right {
    text-align: right;
}

.social-media-icons img {
    width: 25px;
    height: 25px;
}

.social-media-icons {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
}

h5 {
    font-size: 1.3em;
    font-style: italic;
}

.download-icons img {
    width: 160px;
}

.download-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: -20px;
}

.social-media-icons img:hover, .download-icons img:hover {
    opacity: .6;
}

@media(max-width:500px) {
    footer {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .download-icons {
        padding-bottom: 10%;
    }
}