/* Studio section layout */
.studio-section .big_container {
    background-color: white;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    margin-top: 0px;
    margin-bottom: 0;
}

#full_container div.top_box { /* container com a margem superior de todas as páginas ; na progrmação, inclui os filtros */
    height: calc(6 * var(--global-margin)) !important;
    width: 100%;
}

.top_box_estudio { /* container com a margem superior de todas as páginas ; na progrmação, inclui os filtros */
    height: calc(6 * var(--global-margin)) !important;
    margin-bottom: calc(1 * var(--global-margin));    
    margin-left: calc(10 * var(--global-margin));
    margin-right: calc(10 * var(--global-margin));
    padding-left: calc(10 * var(--global-margin));
    padding-right: calc(10 * var(--global-margin));
    box-sizing: border-box !important;

}
.icons_row_estudio{
    width: 100%;
    border-bottom: 2px dotted #060000;      /* one segment per block */
    margin-left: calc(1 * var(--global-margin));
}


.renting_spaces_container {
    display: flex;
    gap: 0.5rem;
/*    align-items: baseline;
    justify-content: left;  /* puts "pack" left and "10 h" right */
/*    align-items: baseline;           /* aligns text baselines nicely */
    margin-left: calc(10 * var(--global-margin));
    margin-right: calc(1 * var(--global-margin));
    margin-bottom: calc(0 * var(--global-margin));
  }

.renting_spaces.title1 {
    font-size:3vh;
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.1em;
    margin-top: calc(1 * var(--global-margin));
    margin-left: calc(10 * var(--global-margin));
    margin-bottom: calc(5 * var(--global-margin));
}
.renting_spaces.title2 {
    font-size:4vh;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-left: calc(10 * var(--global-margin));
    margin-bottom: calc(10 * var(--global-margin));
}


.studio_link_container {
    margin-top: calc(1 * var(--global-margin));
  }
  
  .studio_link_button {
    display: inline-block;
    padding: 10px 16px;
    margin-left: calc(10 * var(--global-margin));
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: 500;
    transition: transform 0.2s ease, background-color 0.2s ease;
  }
  
  .studio_link_button:hover {
    background: #333;
    transform: scale(1.03);
  }

/* Image sizing */
#studio-image {
    position: relative;
    width: 100vw;
    max-height: 90.8vh;
    object-fit: cover;
    margin-left: calc(1 * var(--global-margin));
    margin-right: calc(0 * var(--global-margin));
    margin-bottom: calc(1 * var(--global-margin));
    margin-top: 0;
}

/* Modal (scoped to studio modal) */
#studioInquiryModal {
    display: none !important;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

#studioInquiryModal.show {
    display: flex !important;
}

#studioInquiryModal .modal-content {
    background-color: #fefefe;
    margin: 0;
    padding: 0;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

#studioInquiryModal .modal-header {
    padding: 20px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0 0;
}

#studioInquiryModal .modal-header h2 {
    margin: 0;
    color: #333;
}

#studioInquiryModal .close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

#studioInquiryModal .close:hover { color: #000; }

#studioInquiryModal .modal-body { padding: 20px; }

#studioInquiryModal .form-group { margin-bottom: 15px; }

#studioInquiryModal .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

#studioInquiryModal .form-group input,
#studioInquiryModal .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

#studioInquiryModal .form-group input:focus,
#studioInquiryModal .form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

#studioInquiryModal .form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

#studioInquiryModal .form-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

#studioInquiryModal .form-actions button[type="submit"] { background-color: #007bff; color: white; }
#studioInquiryModal .form-actions button[type="submit"]:hover { background-color: #0056b3; }
#studioInquiryModal .form-actions button[type="button"] { background-color: #6c757d; color: white; }
#studioInquiryModal .form-actions button[type="button"]:hover { background-color: #545b62; }


.big_container + * {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: 0 !important;
    padding-left: calc(50vw - 50%) !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* Studio filmstrip sizing */
.event-filmstrip {
    overflow-x: auto;
    touch-action: pan-y;
    margin-left: calc(1 * var(--global-margin));
    scrollbar-width: none;
    /* optional: constrain width and center
    max-width: 1200px;
    margin: 0 auto;
    */
}

.event-filmstrip::-webkit-scrollbar {
     height: 0; display: none; 
    }  /* Chrome/Edge/Safari */


.filmstrip-track {
    display: flex;
    gap: 4px;          /* spacing between images */
    align-items: flex-start;
}

/* Ensure all filmstrip images have the same height */
.filmstrip-image,
.event-filmstrip .filmstrip-track .filmstrip-image,
.event-filmstrip .filmstrip-image {
    flex: 0 0 auto !important;
    height: 40vw !important;      /* fixed height for all images */
    max-height: 40vw !important;
    min-height: 40vw !important;
    width: auto !important;        /* width adjusts to maintain aspect ratio */
    display: block !important;
    box-sizing: border-box !important;   /* keep height after adding border */
    border-right: 2px solid #fff !important;   /* adjust to 1px if you want even thinner */
    border-radius: 0px !important;       /* matches existing rounding */
}

#full_container { padding-bottom: calc(1 * var(--global-margin)); }

.inquiry-bar{
    position: relative; /* Start as relative, will become fixed on scroll */
    bottom: 0;
    margin-bottom: calc(0 * var(--global-margin));
    margin-left: calc(0 * var(--global-margin));
    margin-right: calc(0 * var(--global-margin));
    border-bottom: 1.5px dotted #666;
    width: auto;      /* JS may override when possible */
    z-index: 9998;
    background: #000 !important;
    color: #fff;
    display: flex;
    gap: calc(1 * var(--global-margin));
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    box-shadow: 0 -2px 8px rgba(0,0,0,.15);
}

.inquiry-bar.fixed{
    position: fixed !important;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    background: #000 !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,.15);
}

.inquiry-bar.sticky-above-footer{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background: #000 !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,.15);
}
  .inquiry-bar-text{ 
    font-size: 14px; 
}
  .inquiry-bar-btn{
      padding: 10px 0px;
      background: #000;
      color: #fff;
      border: none;
      border-radius: 18px;
      font-size: 14px;
      cursor: pointer;
      font-weight: 600;
  }
  .inquiry-bar-btn:hover{ filter: brightness(1.1); }
  
  body.espacos-page {
      padding: 0;
  }

