/* Consolidated and cleaned CSS */
/* Overlay */
#imageOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

#imageOverlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

#container {
  cursor: default;
  user-select: none;
  scroll-behavior: smooth; /* smooth scrolling */

  /* Hide scrollbar for Firefox and IE/Edge */
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

/* Hide scrollbar for Chrome, Safari, and Opera */
#container::-webkit-scrollbar {
  display: none;
}

.artist-alt {
    text-transform: capitalize;
    position: fixed;
    top: 5%;
}

.volver-btn {
    position: fixed;
    bottom: 5%;
    padding: 10px 20px;
    background: #222;
    border-radius: 10px;
    color: #fff;
}

 /* Horizontal scroll container */
  .gallery-container, .gallery2-container {
    display: flex;
    gap: 20px;
    overflow-x: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;

    cursor: default;
    user-select: none; /* prevent accidental text selection */
  }

  .gallery-container.active {
    cursor: default;
  }

  /* Hide scrollbar on webkit browsers */
  .gallery-container::-webkit-scrollbar {
    display: none;
  }

img {
  pointer-events: none;
}
  /* Card styling */
  .cont-new-gal {
    flex: 0 0 calc(25% - 20px); /* 4 cards in desktop */
    background-color: #fff;
    /* border-radius: 8px; */
    overflow: hidden;
    text-align: center;
    scroll-snap-align: start;
    /* box-shadow: 0 2px 8px rgba(0,0,0,0.1); */
  }

  .roll-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .card-profile {
    width: 100%;
    height: 375px;
  }

  .profile-pic {
    width: 100%;
    height: 375px;
    display: block;
    object-fit: cover;
    object-position: top;
  }

  .artist-name {
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #000;
    margin-top: 8px;
  }

  .speciality {
    font-size: 0.9rem;
    color: #666;
  }

  .quote-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.3s;
  }

  .quote-btn:hover {
    background-color: #333;
  }

  .see-more {
    font-size: 0.85rem;
    color: #999;
    text-decoration: underline;
    cursor: pointer;
    margin-bottom: 10px;
  }

  /* Portrait view: 1 card per row */
  @media (max-width: 768px) {
    .cont-new-gal {
      flex: 0 0 100%;
    }
  }

#container, #container2 {
  cursor: default;
  user-select: none;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE, Edge */
}



#container2 {
    position: fixed;
    width: 100vw;
    /* display: none; */
    height: 100vh;
    top: 0;
    display: flex;
    left: 0;
    background: #FFF;
    z-index: 10;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

#container.active {
  cursor: default;
}

#closeBtn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

/* Container */
.container {
    display: flex;
    padding: 1rem;
    box-sizing: border-box;
    gap: 2rem;
    overflow: hidden;
}

.left-column, .right-column {
    overflow: hidden;
}

.left-column {
    flex: 1;
}

.left-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.right-column {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.bio {
    flex-shrink: 0;
}

.bio h2 {
    margin-bottom: 0.5rem;
}

.portfolio {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 0.5rem;
    margin-top: 1%;
    overflow: hidden;
}

.portfolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.cta {
    margin-top: 1rem;
}

.cta button {
    background-color: black;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: bold;
}

.cta button:hover {
    background-color: #444;
}

/* Responsive Portfolio */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .portfolio {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio {
        grid-template-columns: 1fr;
    }
}

/* Video and Play/Mute Buttons */
.video-container {
    position: relative;
    display: inline-block;
}

video {
    display: block;
    height: fit-content;
    margin-bottom: 50px;
}

.play-button, .mute-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button::before {
    content: '';
    display: inline-block;
    margin-left: 5px;
    border-style: solid;
    border-width: 20px 0 20px 35px;
    border-color: transparent transparent transparent white;
}

.play-button.hidden {
    display: none;
}

.mute-button {
    color: white;
    font-size: 16px;
    user-select: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-container:hover .mute-button {
    opacity: 1;
    pointer-events: auto;
}

.mute-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Insta Gallery */
.container-insta {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    align-content: center;
}

.square-top-crop {
    aspect-ratio: 1 / 1;
    width: 70%;
    opacity: 0;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    display: block;
}

/* Slider */
.slider-container2 {
    width: 100vw;
    margin-top: 70px;
}

.slide {
    position: absolute;
}


@media (orientation: portrait) {
    .hide-on-portrait {
        display:none;
}}
	
	@media (orientation: landscape) {
    .hide-on-landscape {
        display:none;
    }}

@media (orientation: portrait) {
    .slider-container2 {
        height: 30vh;
    }

    .slide img {
        height: 30vh;
        width: 100vw;
        object-fit: cover;
    }
}

@media (orientation: landscape) {
    .slider-container2 {
        height: 60vh;
    }

    .slide img {
        height: 60vh;
        width: 100vw;
        object-fit: cover;
    }
}

/* About Section */
.about-section {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
    gap: 20px;
    background: #FFF;
    justify-content: space-around;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 0px 40px;
}

.about-text h1 {
    font-size: 3rem;
    margin: 0;
    color: #000;
}

.about-text h1 span {
    color: #000;
}

.about-text h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 20px 0;
}

.about-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #000;
}

.appointment-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    border: 1px solid #000;
    background: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.appointment-btn:hover {
    background: #000;
    color: #fff;
}

.about-gallery {
    column-count: 3;
    column-gap: 5px;
    max-width: 600px;
}

.about-gallery img {
    width: 100%;
    margin-bottom: 5px;
    break-inside: avoid;
    border-radius: 0;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 0px;
    }
}

/* Astro Components */
astro-island, astro-slot, astro-static-slot {
    display: contents;
}

/* Hidden artist portfolio */
#portfolio-ARTISTAS {
   
}

/* Mobile specific backgrounds */
.juan-mobile {
    background-image: url('/galeria-juan/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.luis-mobile {
    background-image: url('/galeria-luis/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.pamela-mobile {
    background-image: url('/galeria-pamela/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.daniel-mobile {
    background-image: url('/galeria-daniel/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.mario-mobile {
    background-image: url('/galeria-mario/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.daniil-mobile {
    background-image: url('/galeria-daniil/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.viktoriia-mobile {
    background-image: url('/galeria-viktoriia/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

.giuliano-mobile {
    background-image: url('/galeria-giuliano/perfil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

/* --- Mobile Menu Link Color Active/Focus Fix --- */
#menu a, 
#menu a:visited, 
#menu a:hover, 
#menu a:active, 
#menu a:focus {
    color: #000000 !important;
    text-decoration: none !important;
}

#menu a[href="#contato"], 
#menu a[href="#contato"]:visited, 
#menu a[href="#contato"]:hover, 
#menu a[href="#contato"]:active, 
#menu a[href="#contato"]:focus {
    color: #4A3500 !important;
}

/* --- Artist Gallery Profile Images Layout Fix --- */
.ha-ihe-wrapper {
    display: block !important;
    width: 100% !important;
}

.ha-ihe-fig {
    width: 100% !important;
    margin: 0 !important;
    aspect-ratio: 3 / 4 !important;
    overflow: hidden !important;
}

.ha-ihe-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
}

/* --- Artist Gallery Spacing Adjustments --- */
/* Remove all margins and paddings between the profile photo and the carousel */
.elementor-widget.ha-image-hover-effect,
.elementor-widget.ha-image-hover-effect .elementor-widget-container,
.elementor-widget.ha-image-hover-effect .ha-ihe-wrapper,
.elementor-widget.ha-image-hover-effect .ha-ihe-fig {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.elementor-widget.elementor-widget-image-carousel,
.elementor-widget.elementor-widget-image-carousel .elementor-widget-container,
.elementor-widget.elementor-widget-image-carousel .elementor-image-carousel-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.elementor-widget.elementor-widget-image-carousel {
    margin-bottom: 20px !important; /* Keep the gap below the 3 small photos */
}

/* Natively offset scroll positions for sticky header */
#inicio2, #alma, #servicios, #artistas, #portfolio, #depoimentos, #mapinha, #contato {
    scroll-margin-top: 80px;
}

/* --- Embla Carousel Testimonials Section Styles --- */
.embla {
  overflow: hidden;
  width: 100vw;
}
.embla__container {
  display: flex;
}
.embla__slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .embla__slide {
    flex: 0 0 50%;
  }
}
@media (min-width: 1024px) {
  .embla__slide {
    flex: 0 0 33.333%;
  }
}
.testimonial-card {
  background: #fdfdfd;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}