/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #dae8f2;
}

.header {
  width: 100%;
  background-color: #BEDEF3;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  flex-wrap: wrap;
}

.page img, 
.page video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.info-item a {
  color: white; 
  font-weight: bold;      /* Inherit the text color from parent */
  text-decoration: none; /* Remove underline */
  display: flex;
  align-items: end;
  gap: 8px;
}

.info-item a:hover {
  opacity: 0.8; /* Optional: slight hover effect */
}


.right-section {
width: 100%;
align-items: center;
justify-content: center;
flex-direction: column;
text-align: left;

}

.info-item {
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 8px;
  margin-top: 10px;
  font-size: 25px;
  color: #4A2C15;
}

.icon {
  width: 20px;
  height: 20px;
}

.center-section {
  text-align: center;
}

.logo {
  height: 100px;
  width: auto;
}

/* Container for Flipbook */
#container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
}

/* Flipbook Container */
#album-container {
    transition: transform 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Flipbook */
#album {
    margin-top:30px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 800px;
    min-width: 10px;
    min-height: 10px;
    height: 570px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Pages inside Flipbook */
#album > div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}


/* Move Flipbook to the Left on Last Page */
.move-left {
    transform: translateX(-200px);
}

/* Next/Prev Buttons */
.button {
    width: 50px;
    height: 80px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#prev {
    margin-left: 5px;
}

#next {
    margin-right: 5px;
}

#first {
    margin-left: 5px;
}

#last {
    margin-right: 5px;
}

#bottom-nav {
  display: flex;
  justify-content: center;
  margin: 20px auto;
  gap: 20px;
}

/* Hover Effect */
.button:hover {
    background-color: #555;
}

.back-button-container {
  width: 100%;
  padding: 10px 30px;
}

.back-button-container button {
  padding: 8px 16px;
  font-size: 14px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.back-button-container button:hover {
  background-color: #444;
}


.branding-corner {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}

.branding-corner img {
  width: 50px;
  max-width: 50px;
  height: auto;
}

.back-button {
  position: fixed;
  top: 110px;   /* adjust this value */
  left: 20px;  /* adjust this value */
  padding: 8px 16px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #555;
}

#first, #last {
  width: 80px;
  height: 45px;
  font-size: 14px;
}

@media (max-width: 388px) {
  #first, #last {
    width: 70px;
    height: 35px;
    font-size: 12px;
  }
}

/* Laptop & Large screens */
@media (max-width: 1200px) {
  .header {
    padding: 15px 20px;
  }

  .logo {
    height: 65px;
  }

  #contact-buttons {
    display: none;
    text-align: center;
    position: absolute;
    right: 25%;
    top: 30%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease-in-out;
}
}
@media (max-width: 1200px){
#contact-buttons {
    display: none;
    text-align: center;
    position: absolute;
    right: 25%;
    top: 65%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease-in-out;

}
}

@media (max-width: 1024px){
    #contact-buttons {
    display: none;
    text-align: center;
    position: absolute;
    right: 25%;
    top: 70%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease-in-out;
}

}

@media (max-width: 853px) {
    #album {
    margin-top:30px;
    margin-bottom: 10px;
    width: 100%;
    max-width: 800px;
    height: 550px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}
}

@media (max-width: 820px) {
    #album {
        width: 100%;
        max-width: 900px;
        height: 520px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #contact-buttons {
    display: none;
    text-align: center;
    position: absolute;
    right: 20%;
    top: 65%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease-in-out;
}

}

/* Tablet: iPad */
@media (max-width: 768px) {
        .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }



    .left-section,
    .right-section {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .center-section {
        order: -1; /* move logo to top */
    }

    .logo {
        height: 80px;
    }

    #contact-buttons {
        display: none;
        text-align: center;
        position: absolute;
        right: 20%;
        top: 60%;
        transform: translateY(-50%);
        transition: opacity 0.5s ease-in-out;
    }

    #album {
        max-width: 900px;
        width: 400px; /* smaller width for mobile */
        height: 570px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #logo-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 80px; /* Adjust as needed */
        background-color: white;
        display: flex;
        align-items: center;
        padding-left: 20px; /* Adjust padding around logo */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Optional: subtle shadow */
        z-index: 1000; /* Make sure it's above other content */
    }

    #auks1logo-container {
        position: absolute;
        top: 90%;  /* You can reduce this if needed */
        left: 89%; /* You can reduce this if needed */
        z-index: 999; /* Ensure it stays on top */
    }

    #auks1logo {
        width: 100px;
    }

    .back-button {
        position: fixed;
        top: 40px;   /* adjust this value */
        left: 20px;  /* adjust this value */
        padding: 8px 16px;
        background-color: #333;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 16px;
        cursor: pointer;
        z-index: 9999;
        transition: background-color 0.3s ease;
    }
}

@media (max-width: 540px) {
    #album {
        width: 100%;
        max-width: 900px;
        height: 320px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #contact-buttons {
        display: none;
        text-align: center;
        position: absolute;
        right: 20%;
        top: 50%;
        transform: translateY(-50%);
        transition: opacity 0.5s ease-in-out;
    }

    #contact-buttons p {
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }

    .contact-btn {
        padding: 2px 9px;
        margin: 8px;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 12px;
        display: block;
        height: 40px;
        width: 110px;
        text-align: center;
        font-weight: bold;
        transition: 0.3s, transform 0.2s;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .info-item {
        font-size: 14px;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    .logo {
        height: 70px;
    }

    body {
        margin-top: 20px;
        max-height: fit-content;
    }

    #album {
        width: 100%;
        max-width: 437px;
        height: 280px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #contact-buttons p {
        text-align: center;
        font-size: 16px;
        font-weight: bold;
    }


    .contact-btn {
        padding: 2px 9px;
        margin: 8px;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 12px;
        display: block;
        height: 40px;
        width: 110px;
        text-align: center;
        font-weight: bold;
        transition: 0.3s, transform 0.2s;
    }

    .button {
        width: 20px;
        height: 35px;
        font-size: 16px;
        cursor: pointer;
        border: none;
        background-color: #333;
        color: white;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #contact-buttons {
        display: none;
        text-align: center;
        position: absolute;
        right: 15%;
        top: 42%;
        transform: translateY(-50%);
        transition: opacity 0.5s ease-in-out;
    }
}

@media (max-width: 414px) {
    #album {
        width: 100%;
        max-width: 437px;
        height: 265px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 390px) {
    #album {
        width: 100%;
        max-width: 437px;
        height: 250px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
}

@media (max-width: 388px) {
    .contact-btn {
        width: 50%;
        height: 20px;
        padding: 3px;
        font-size: 6px;
        align-items: center;
    }

    #album {
        width: 100%;
        max-width: 325px;
        height: 230px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    #contact-buttons p {
        text-align: center;
        font-size: 12px;
        font-weight: bold;
    }


    .contact-btn {
        padding: 2px 9px;
        margin: 5px;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 8.5px;
        display: block;
        height: 30px;
        width: 80px;
        text-align: center;
        font-weight: bold;
        transition: 0.3s, transform 0.2s;
    }

    .button {
        width: 20px;
        height: 35px;
        font-size: 16px;
        cursor: pointer;
        border: none;
        background-color: #333;
        color: white;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #contact-buttons {
        display: none;
        text-align: center;
        position: absolute;
        right: 15%;
        top: 52%;
        transform: translateY(-50%);
        transition: opacity 0.5s ease-in-out;
    }
}

@media (max-width: 344px) {
    #album {
        width: 100%;
        max-width: 325px;
        height: 220px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
    }
    #contact-buttons {
    display: none;
    text-align: center;
    position: absolute;
    right: 18%;
    top: 40%;
    transform: translateY(-50%);
    transition: opacity 0.5s ease-in-out;
}
}

/* Very small mobile (e.g., 280px) */
@media (max-width: 288px) {

    .header {
    padding: 10px;
  }

  .info-item {
    font-size: 12px;
  }

  .icon {
    width: 16px;
    height: 16px;
  }

  .logo {
    height: 60px;
  }
  
    .contact-btn {
        width: 50%;
        height: 20px;
        padding: 3px;
        font-size: 6px;
        align-items: center;
    }

    #album {
        width: 100%;
        max-width: 300px;
        height: 175px;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        margin-top: 25%;
    }

    #contact-buttons p {
        text-align: center;
        font-size: 9px;
        font-weight: bold;
    }


    .contact-btn {
        padding: 0px 7px;
        margin: 4px;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        font-size: 7px;
        display: block;
        height: 23px;
        width: 50px;
        text-align: center;
        text-align: center;
        font-weight: bold;
        transition: 0.3s, transform 0.2s;
    }

    .button {
        width: 20px;
        height: 35px;
        font-size: 16px;
        cursor: pointer;
        border: none;
        background-color: #333;
        color: white;
        border-radius: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    #contact-buttons {
        display: none;
        text-align: center;
        position: absolute;
        right: 15%;
        top: 57%;
        transform: translateY(-50%);
        transition: opacity 0.5s ease-in-out;
    }
}  