/* ============================
   VDArtGym Hero (all classes end with -1)
============================== */

.hero-1 {
  position: relative;
  padding: 3rem 1.5rem;
  color: #1d1d1f;
  background-size: cover;
  background-position: center;
  overflow: hidden;

  background-color: #faf7f2; /* fallback color */
  opacity: 0;
  transition: opacity 0.6s ease;
}

/* when image is loaded via JS */
.hero-1.hero-1-loaded {
  opacity: 1;
}

.hero-overlay-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(250, 247, 242, 0.75),
    rgba(250, 247, 242, 0.75)
  );
}

.hero-content-1 {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.hero-text-1 {
  max-width: 620px;
}

/* base: applies to mobile AND desktop */
.hero-title-1 {
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  font-family: "Fredoka", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;
}

.hero-desc-1 {
  font-size: 0.98rem;
  color: #555555;
  margin-bottom: 0.2rem;
}

/* USP boxes */

.hero-usps-1 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-usp-card-1 {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  border: 1px solid #e8dfd3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.hero-usp-title-1 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: #2b2320;
}

.hero-usp-body-1 {
  font-size: 0.9rem;
  color: #555151;
}

/* Hero CTAs */

.hero-ctas-1 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.btn-1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, transform 0.06s ease;
}

.hero-btn-primary-1 {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(227, 107, 77, 0.35);
}

.hero-btn-primary-1:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.hero-btn-outline-1 {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.hero-btn-outline-1:hover {
  background: rgba(227, 107, 77, 0.05);
}

/* Hero side artwork (for larger screens, but safe on mobile) */

.hero-art-1 {
  display: none; /* hidden on small screens */
}

.hero-art-card-1 {
  background: #cececc; /* warm beige */
  border-radius: 16px;
  padding: 0.6rem;
  border: 1px solid #e2d6c8; /* subtle warm border */
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}

.hero-art-card-1 img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

/* ---------- RESPONSIVE FOR HERO-1 ---------- */

@media (min-width: 768px) {
  .hero-1 {
    padding: 4.5rem 1.5rem;
  }

  .hero-content-1 {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: 2.5rem;
  }

  /* base: applies to mobile AND desktop */
  .hero-title-1 {
    font-size: 2.4rem;
  }

  .hero-usps-1 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-ctas-1 {
    flex-direction: row;
    align-items: center;
    gap: 0.9rem;
  }

  .btn-1 {
    width: auto;
  }

  .hero-art-1 {
    display: block;
  }
}

@media (min-width: 1024px) {
  .hero-1 {
    padding: 5rem 1.5rem 4.5rem;
  }

  .hero-title-1 {
    font-size: 2.8rem;
  }
}

/* ================================
     ART WALL (HOME GALLERY SECTION)
     ================================ */
.section.featured-work-1 {
  position: relative;
  padding: 4rem 1.5rem;
  background-color: #faf7ff; /* soft wall */
  overflow: hidden;
}

/* Doodle shapes (SVG as background) */
/* Doodle pattern: flower + rocket + smiley + star */
.section.featured-work-1::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23d2c7ff' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- flower --%3E%3Ccircle cx='22' cy='22' r='4' /%3E%3Ccircle cx='22' cy='14' r='3' /%3E%3Ccircle cx='30' cy='22' r='3' /%3E%3Ccircle cx='22' cy='30' r='3' /%3E%3Ccircle cx='14' cy='22' r='3' /%3E%3Cline x1='22' y1='26' x2='22' y2='38' /%3E%3Cline x1='22' y1='38' x2='18' y2='44' /%3E%3C!-- rocket --%3E%3Cpath d='M70 18 L82 40 L70 36 L58 40 Z' /%3E%3Cline x1='70' y1='18' x2='70' y2='10' /%3E%3Ccircle cx='70' cy='26' r='3' /%3E%3C!-- smiley face --%3E%3Ccircle cx='104' cy='34' r='8' /%3E%3Ccircle cx='101' cy='32' r='1.5' /%3E%3Ccircle cx='107' cy='32' r='1.5' /%3E%3Cpath d='M100 36 Q104 40 108 36' /%3E%3C!-- star --%3E%3Cpath d='M52 80 L54 85 L60 85 L55 88 L57 94 L52 91 L47 94 L49 88 L44 85 L50 85 Z' /%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;

  opacity: 0.35; /* adjust for subtlety (0.2–0.4) */
}

/* Bring gallery and text above doodles */
.section.featured-work-1 > .container {
  position: relative;
  z-index: 1;
}

/* ================================
     GALLERY GRID ON ART WALL
     ================================ */

.featured-gallery-1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  margin-bottom: 2.5rem; /* space above "View Full Gallery" button */
}

/* ================================
     PAPER-ON-WALL ART CARDS
     ================================ */

.wall-art-card {
  position: relative;
  z-index: 1;
  display: block;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* slight random tilt so they feel “pinned” */
.wall-art-card:nth-child(1) {
  transform: rotate(-2deg);
}

.wall-art-card:nth-child(2) {
  transform: rotate(1.5deg);
}

.wall-art-card:nth-child(3) {
  transform: rotate(-1deg);
}

.wall-art-card:nth-child(4) {
  transform: rotate(2deg);
}

.wall-art-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

/* Image inside the paper frame */
.wall-art-card img {
  display: block;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Cute tape on top */
.wall-art-card::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 60px;
  height: 18px;
  background: #f7e9b5; /* tape color */
  opacity: 0.9;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}
