/**
 * Theme Name:     BNI Mundo
 * Author:         BYTE TO IT
 * Template:       blocksy
 * Text Domain:	   bni-mundo
 * Description:    BNI Mundo is a fast, modern WordPress theme with advanced WooCommerce support and full compatibility with the block editor.
 */

.swiper-button-next, .swiper-button-prev {
    color: #D22A3D !important;
}

.swiper-slide {
    transition: 500ms all ease;
}

.swiper-slide.swiper-slide-visible {
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.swiper-pagination {
    bottom: -40px !important;
}

.swiper-pagination-bullet-active {
    background: var(--theme-palette-color-1) !important;
}

/* Gallery Swiper container */
.gallery-swiper {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .gallery-swiper {
        max-width: 95%;
    }
}

/* Ensure slides don't overflow */
.gallery-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image styling */

.gallery-swiper img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 5.5;
        display: block;
        border-radius: 12px;
        object-fit: cover;
    }

@media (min-width: 768px) {
    .gallery-swiper img {
        aspect-ratio: 6 / 4;
    }
}

:root {
}

/* ========================
   MODAL BACKGROUND
   ======================== */
#bni-modal {
  display: none; /* hidden initially */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* ========================
   MODAL CONTENT
   ======================== */
#bni-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 40px;
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #333333;
}

#bni-modal-close {
    position: sticky;
    top: 0;
    font-size: 32px;
    background: var(--theme-palette-color-5);
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    cursor: pointer;
    margin-left: auto;
}

/* ========================
   HEADINGS
   ======================== */
#bni-form h1 {
  font-size: 35px;
  line-height: 1.1em;
  color: var(--theme-palette-color-3); /* BNI dark blue */
  margin-top: 12px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  #bni-form h1 {
    font-size: 50px;
  }
}

#bni-form h2 {
  font-size: 1.4em;
  color: var(--theme-palette-color-3); /* lighter blue */
  margin-top: 20px;
  margin-bottom: 10px;
}

#bni-form h3 {
  font-size: 1.2em;
  color: var(--theme-palette-color-3);
  margin-top: 20px;
  margin-bottom: 10px;
}

/* ========================
   PARAGRAPHS AND TEXT
   ======================== */
#bni-form p,
#bni-form b,
#bni-form li {
  line-height: 1.5;
}

#bni-form ul {
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 15px;
}

#bni-form .flex {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

#bni-form .icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Container for side-by-side fields */
.bni-form-row {
  display: flex;
  gap: 20px; /* space between columns */
  flex-wrap: wrap; /* wrap on smaller screens */
  margin-bottom: 15px;
}

/* Each field in the row */
.bni-form-row .bni-form-field {
  flex: 1; /* equal width */
  min-width: 200px; /* prevent too small on narrow screens */
}

/* Labels above inputs */
#bni-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--theme-palette-color-3); /* red like your screenshot */
  font-size: 14px;
  font-weight: 400;
}

/* Inputs */
.bni-form-row .bni-form-field input,
.bni-form-row .bni-form-field select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

/* ========================
   INPUTS & SELECTS
   ======================== */
#bni-form input[type="text"],
#bni-form input[type="email"],
#bni-form input[type="number"],
#bni-form input[type="file"],
#bni-form select {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

#bni-form input[type="checkbox"] {
  margin-right: 8px;
}

/* ========================
   BUTTONS
   ======================== */
#bni-form button {
  background: var(--theme-palette-color-1);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease-in-out;
}

#bni-form button:hover {
  background: var(--theme-palette-color-2);
}

/* ========================
   ADDITIONAL ELEMENTS
   ======================== */
#bni-form fieldset {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 5px;
}

#bni-form hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}

/* ========================
   TOTAL PRICE
   ======================== */
#total-price {
  font-weight: bold;
  font-size: 50px;
  color: var(--theme-palette-color-1);
  margin-top: 15px;
}

/* ========================
   SCROLLBAR FOR MODAL
   ======================== */
#bni-modal-content::-webkit-scrollbar {
  width: 8px;
}

#bni-modal-content::-webkit-scrollbar-thumb {
  background: var(--theme-palette-color-3);
  border-radius: 4px;
}

#bni-modal-content::-webkit-scrollbar-track {
  background: var(--theme-palette-color-5);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  #bni-modal-content {
    padding: 20px;
  }
}

/* ========================
   THANK YOU PAGE
   ======================== */

.page-id-589 .sticky-logo, 
.page-id-589 .dark-mode-logo {
    display: block;
}

.page-id-589 .default-logo {
    display: none;
}

.bni-thank-you {
    max-width: 600px;
    margin: 0 auto;
    background: var(--theme-palette-color-5);
    padding: 32px;
}

.bni-thank-you h2 {
    font-size: 35px;
    line-height: 1.2em;
    color: var(--theme-palette-color-1);
}

.bni-thank-you p strong {
    display: block;
} 

@media (min-width: 768px) {
    .bni-thank-you h2 {
        font-size: 50px;
    }
}