/* 
Theme Name: Hello Art Resonance
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-artresonance
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ──────────────────────────────────────
   Sticky Header: transparent → white
   ────────────────────────────────────── */

/* Homepage header: transparent → white on scroll */
  .elementor-103 .elementor-element-5a1ced5b {
    background-color: transparent !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

.elementor-103 .elementor-element-5a1ced5b.header--scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  color: red !important; 
}

.elementor-103 .elementor-element-5a1ced5b.header--scrolled 
.elementor-nav-menu--main .elementor-item {
  color: #000000 !important;
}

.heart-yanco {
  color: #bd2c29;
  display: inline-block;
  animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}

/* ──────────────────────────────────────
   Latest Exhibition Hero
   ────────────────────────────────────── */

.arh-latest-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.arh-latest-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.15) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.arh-latest-hero__content {
  position: relative;
  max-width: 520px;
  padding: 3rem;
  color: #fff;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  margin: 2rem;
}

.arh-latest-hero__artists {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.arh-latest-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: #fff;
}

.arh-latest-hero__date {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0 0 0.75rem;
}

.arh-latest-hero__excerpt {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
  margin: 0 0 1.5rem;
}

.arh-latest-hero__cta {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #fff;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}

.arh-latest-hero__cta:hover {
  background-color: #1a1a1a;
  color: #fff;
}

.arh-latest-hero__cta-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.arh-latest-hero__cta-icon--right {
  margin-left: 8px;
}

.arh-latest-hero__cta-icon--left {
  margin-right: 8px;
}

.arh-latest-hero__cta-icon svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
}

.arh-latest-hero__cta-icon i {
  font-size: 16px;
}

/* Bottom Icon */
.arh-latest-hero__bottom-icon {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 10px;
  transition: opacity 0.3s;
}

.arh-latest-hero__bottom-icon:hover {
  opacity: 0.7;
}

.arh-latest-hero__bottom-icon svg {
  fill: currentColor;
}

.arh-latest-hero__bottom-icon--bounce {
  animation: arh-bounce 4s infinite;
}

@keyframes arh-bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ──────────────────────────────────────
   Upcoming Exhibitions Grid
   ────────────────────────────────────── */

.arh-upcoming__grid {
  display: grid;
  gap: 24px;
  width: 100%;
}

.arh-upcoming__grid--horizontal {
  grid-template-columns: repeat(var(--arh-upcoming-cols, 3), 1fr);
}

.arh-upcoming__grid--vertical {
  grid-template-columns: 1fr;
}

.arh-upcoming__card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.arh-upcoming__grid--vertical .arh-upcoming__card {
  flex-direction: row;
}

.arh-upcoming__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.arh-upcoming__image-link {
  display: block;
  flex-shrink: 0;
}

.arh-upcoming__image {
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.arh-upcoming__image--placeholder {
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arh-upcoming__placeholder-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
}

.arh-upcoming__grid--vertical .arh-upcoming__image-link {
  width: 280px;
  flex-shrink: 0;
}

.arh-upcoming__grid--vertical .arh-upcoming__image {
  height: 100%;
  min-height: 200px;
}

.arh-upcoming__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.arh-upcoming__artists {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.35rem;
}

.arh-upcoming__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.arh-upcoming__title a {
  color: inherit;
  text-decoration: none;
}

.arh-upcoming__title a:hover {
  opacity: 0.7;
}

.arh-upcoming__date {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 0.5rem;
}

.arh-upcoming__excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin: 0 0 1.25rem;
}

.arh-upcoming__cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.arh-upcoming__cta:hover {
  background-color: #fff;
  color: #1a1a1a;
}

.arh-upcoming__cta-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.arh-upcoming__cta-icon--right {
  margin-left: 8px;
}

.arh-upcoming__cta-icon--left {
  margin-right: 8px;
}

.arh-upcoming__cta-icon svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
}

.arh-upcoming__cta-icon i {
  font-size: 14px;
}

.arh-upcoming__fallback {
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 2rem;
}

/* ──────────────────────────────────────
   Artists Grid
   ────────────────────────────────────── */

.arh-artists__grid {
  display: grid;
  gap: 24px;
  width: 100%;
}

.arh-artists__grid--horizontal {
  grid-template-columns: repeat(var(--arh-artists-cols, 3), 1fr);
}

.arh-artists__grid--vertical {
  grid-template-columns: 1fr;
}

.arh-artists__card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.arh-artists__grid--vertical .arh-artists__card {
  flex-direction: row;
}

.arh-artists__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.arh-artists__image-link {
  display: block;
  flex-shrink: 0;
}

.arh-artists__image {
  height: 300px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.arh-artists__image--placeholder {
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arh-artists__placeholder-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
}

.arh-artists__grid--vertical .arh-artists__image-link {
  width: 280px;
  flex-shrink: 0;
}

.arh-artists__grid--vertical .arh-artists__image {
  height: 100%;
  min-height: 200px;
}

.arh-artists__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.arh-artists__name {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.arh-artists__name a {
  color: inherit;
  text-decoration: none;
}

.arh-artists__name a:hover {
  opacity: 0.7;
}

.arh-artists__bio {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin: 0 0 1.25rem;
}

.arh-artists__cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  margin-top: auto;
  align-self: center;
}

.arh-artists__cta:hover {
  background-color: #fff;
  color: #1a1a1a;
}

.arh-artists__cta-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.arh-artists__cta-icon--right {
  margin-left: 8px;
}

.arh-artists__cta-icon--left {
  margin-right: 8px;
}

.arh-artists__cta-icon svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
}

.arh-artists__cta-icon i {
  font-size: 14px;
}

.arh-artists__fallback {
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 2rem;
}

/* ──────────────────────────────────────
   Slider (Carousel)
   ────────────────────────────────────── */

.arh-slider {
  position: relative;
  width: 100%;
}

.arh-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.arh-slider__track {
  display: flex;
  will-change: transform;
}

.arh-slider__slide {
  flex-shrink: 0;
}

.arh-slider__slide .arh-artists__card {
  height: 100%;
}

/* Arrows */
.arh-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #fff;
  color: #1a1a1a;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 2;
}

.arh-slider__arrow:hover {
  opacity: 0.8;
  transform: translateY(-50%) scale(1.1);
}

.arh-slider__arrow--prev {
  left: -16px;
}

.arh-slider__arrow--next {
  right: -16px;
}

/* Dots */
.arh-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.25rem;
}

.arh-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #ccc;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s, transform 0.3s;
}

.arh-slider__dot--active {
  background-color: #1a1a1a;
  transform: scale(1.3);
}

.arh-slider__dot:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .arh-latest-hero {
    min-height: 70vh;
    justify-content: center;
  }

  .arh-latest-hero__content {
    max-width: 100%;
    padding: 2rem 1.5rem;
    text-align: center;
    margin: 1rem;
  }

  .arh-latest-hero__title {
    font-size: 1.75rem;
  }

  .arh-upcoming__grid--horizontal {
    --arh-upcoming-cols: 1 !important;
    grid-template-columns: 1fr;
  }

  .arh-upcoming__grid--vertical .arh-upcoming__card {
    flex-direction: column;
  }

  .arh-upcoming__grid--vertical .arh-upcoming__image-link {
    width: 100%;
  }

  .arh-upcoming__grid--vertical .arh-upcoming__image {
    height: 200px;
    min-height: auto;
  }

  .arh-artists__grid--horizontal {
    --arh-artists-cols: 1 !important;
    grid-template-columns: 1fr;
  }

  .arh-artists__grid--vertical .arh-artists__card {
    flex-direction: column;
  }

  .arh-artists__grid--vertical .arh-artists__image-link {
    width: 100%;
  }

  .arh-artists__grid--vertical .arh-artists__image {
    height: 200px;
    min-height: auto;
  }

  .arh-artist-exh__card,
  .arh-artist-exh__card--img-right {
    flex-direction: column;
  }

  .arh-artist-exh__image-link,
  .arh-artist-exh__body {
    width: 100% !important;
  }

  .arh-artist-exh__image {
    min-height: 250px;
  }

  .arh-slider__arrow--prev {
    left: 4px;
  }

  .arh-slider__arrow--next {
    right: 4px;
  }
}
/* ── Artist Exhibitions Widget ──────────────── */

.arh-artist-exh__card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

/* Image on the right: reverse the order */
.arh-artist-exh__card--img-right {
  flex-direction: row-reverse;
}

.arh-artist-exh__image-link {
  display: block;
  flex-shrink: 0;
  width: 50%;
}

.arh-artist-exh__image {
  height: 100%;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.arh-artist-exh__image--placeholder {
  background-color: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arh-artist-exh__placeholder-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
}

.arh-artist-exh__body {
  flex: 1;
  min-width: 200px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.arh-artist-exh__type {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.arh-artist-exh__artists {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.35rem;
}

.arh-artist-exh__title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.arh-artist-exh__title a {
  color: inherit;
  text-decoration: none;
}

.arh-artist-exh__title a:hover {
  opacity: 0.7;
}

.arh-artist-exh__date {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 0.5rem;
}

.arh-artist-exh__excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin: 0 0 1.25rem;
}

.arh-artist-exh__cta {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background-color: #1a1a1a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
  margin-top: auto;
  align-self: flex-start;
}

.arh-artist-exh__cta:hover {
  background-color: #fff;
  color: #1a1a1a;
}

.arh-artist-exh__cta-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.arh-artist-exh__cta-icon--right {
  margin-left: 8px;
}

.arh-artist-exh__cta-icon--left {
  margin-right: 8px;
}

.arh-artist-exh__cta-icon svg {
  fill: currentColor;
  width: 14px;
  height: 14px;
}

.arh-artist-exh__cta-icon i {
  font-size: 14px;
}

.arh-artist-exh__fallback {
  text-align: center;
  color: #888;
  font-size: 1rem;
  padding: 2rem;
}

#gallery-1 .gallery-icon a {
  display: block;
  width: 100%;
  height: 400px; /* adjust as needed */
  overflow: hidden;
}

#gallery-1 .gallery-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
