/* --- INDEX PAGE STYLES --- */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #fff;
  color: #333;
  font-family: "Jost", sans-serif !important;
  overflow-x: hidden;
  cursor: none;
}

.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.name {
  font-family: "Libre Baskerville", serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
  transition: transform 0.18s cubic-bezier(0.4, 2, 0.6, 1);
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 300;
  margin: 1rem 0 2rem;
  opacity: 0.9;
  max-width: 600px;
  transition: transform 0.18s cubic-bezier(0.4, 2, 0.6, 1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  transition: all 0.18s cubic-bezier(0.4, 2, 0.6, 1);
  position: relative;
  overflow: hidden;
}
.nav-links a:hover,
.nav-links a:focus,
.nav-links a:active,
.nav-links a.current {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #ff1493;
  transform: scale(1.13) rotate(-3deg);
}

.footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  opacity: 0.6;
}

.language-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
}

.language-toggle button {
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}

.language-toggle button.active {
  opacity: 1;
  font-weight: 500;
  color: #ff69b4;
}

.language-toggle button:hover {
  opacity: 1;
  color: #ff1493;
}

.custom-cursor {
  width: 16px;
  height: 16px;
  background: #ff69b4;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.18s cubic-bezier(0.4, 2, 0.6, 1), background 0.2s;
  box-shadow: 0 0 16px 4px #ff69b455;
  mix-blend-mode: normal;
  opacity: 1;
  left: 0;
  top: 0;
  display: block;
}

.custom-cursor.active {
  transform: scale(2.1);
  background: #ff1493;
}

@media (max-width: 768px) {
  .landing-container {
    padding: 1rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
  .language-toggle {
    right: 2rem;
    top: 1.5rem;
  }
  .custom-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Enhanced mobile detection for Samsung Galaxy and other touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  #custom-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Additional Samsung Galaxy specific rules */
@media screen and (max-width: 768px), screen and (max-device-width: 768px), screen and (max-width: 1024px) and (orientation: portrait) {
  .custom-cursor,
  #custom-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Samsung Galaxy and Android specific rules */
@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-width: 1024px),
  screen and (max-width: 1024px) and (orientation: portrait),
  screen and (max-device-width: 1024px) {
  .custom-cursor,
  #custom-cursor {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Force hide cursor on all touch devices */
@media (pointer: coarse) {
  .custom-cursor,
  #custom-cursor {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  body {
    cursor: auto !important;
  }
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background-color: white;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent !important;
}

#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  background: rgba(255, 105, 180, 0.5); /* soft pink */
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.3s ease;
}

#custom-cursor.hovered {
  width: 30px;
  height: 30px;
  background: rgba(255, 105, 180, 0.3);
  border-color: rgba(255, 105, 180, 0.4);
}

body,
a,
button {
  cursor: none !important;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  padding: 1rem;
  z-index: 1000;
}

nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav a {
  color: #333;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  transition: all 0.18s cubic-bezier(0.4, 2, 0.6, 1);
  position: relative;
  overflow: hidden;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff69b4;
  transition: width 0.3s ease;
}

nav a:hover,
nav a:focus,
nav a:active,
nav a.current {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #ff1493;
  transform: scale(1.13) rotate(-3deg);
}

nav a:hover::after {
  width: 100%;
}

.bio-container {
  padding: 3rem 2rem 4rem;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.bio-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bio-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mobile-break {
  display: none;
}

@media (max-width: 768px) {
  .mobile-break {
    display: block;
  }
}

.bio-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: start;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bio-image {
  width: 80%;
  border-radius: 50%;
  border: 5px solid #262c35;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  display: block;
}

.bio-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  font-family: "Jost", sans-serif;
}

.bio-text p {
  margin-bottom: 1.8rem;
  max-width: 100%;
}

@media (max-width: 768px) {
  .bio-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0;
  }

  .bio-image {
    width: 85%;
    max-width: 320px;
    margin: 0 auto;
  }

  .bio-text {
    font-size: 1.08rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto;
    padding: 0;
  }

  .bio-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.1);
  }

  .bio-text p:last-child {
    margin-bottom: 0;
  }

  /* Add a subtle text shadow for better contrast */
  .bio-text p {
    text-shadow: 0 0 0.5px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 480px) {
  .bio-text {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 98%;
  }
  .bio-text p {
    margin-bottom: 1rem;
  }
}

.language-toggle {
  position: fixed;
  top: 2rem;
  right: 2rem;
  z-index: 10000;
}

.language-toggle button {
  background: none;
  border: none;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  padding: 0.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}
.language-toggle button:hover {
  opacity: 1;
  color: #ff1493;
}
.language-toggle button.active {
  opacity: 1;
  font-weight: 500;
  color: #ff69b4;
}

.blob {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.3;
}

.blob1 {
  width: 200px;
  height: 200px;
  background: hotpink;
  top: 10%;
  left: 5%;
}

.blob2 {
  width: 150px;
  height: 150px;
  background: turquoise;
  bottom: 10%;
  right: 5%;
}

.blob3 {
  width: 100px;
  height: 100px;
  background: yellow;
  top: 50%;
  left: 50%;
}
.hover-target {
  cursor: none !important;
}

[data-de] {
  display: none;
}

@media (max-width: 768px) {
  .bio-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .bio-image {
    width: 70%;
    max-width: 300px;
    margin: 0 auto;
  }

  .bio-text {
    text-align: left;
    padding: 0 1rem;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 100%;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .bio-title {
    font-size: 2.5rem;
  }
  .bio-container {
    padding: 2rem 1rem 2rem;
  }
  nav {
    gap: 1rem;
  }
  .language-toggle {
    right: 2rem;
    top: 1.5rem;
  }
}
#interactive-bg {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -10;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* --- WORKS PAGE STYLES --- */
.works-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 4rem 4rem 4rem;
  max-width: 1400px;
  margin: auto;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 280px));
  gap: 5rem 4rem;
  margin-top: 3rem;
  justify-content: center;
}

.work-card {
  position: relative;
  width: 220px;
  aspect-ratio: 1/1;
  overflow: visible;
  border-radius: 50%;
  transition: all 0.4s ease;
  background: #f8f8f8;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  pointer-events: none;
}

.work-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    rgba(255, 105, 180, 0.1) 0%,
    rgba(0, 255, 255, 0.1) 25%,
    rgba(255, 255, 0, 0.1) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.work-card:hover {
  transform: scale(1.05);
  border-radius: 50%;
}

.work-card:hover::before {
  opacity: 1;
}

.work-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.work-image {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-image::before {
  display: none;
}

.work-info {
  position: relative;
  padding: 0.5rem 0;
  text-align: center;
  background: none;
  width: 100%;
  pointer-events: none;
}

.work-title {
  font-size: 1.2rem;
  margin: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
  transition: color 0.3s ease;
}

.work-year {
  font-size: 0.9rem;
  opacity: 0.7;
  display: inline-block;
  color: #666;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.work-card:hover .work-title,
.work-card:hover .work-year {
  color: #262c35;
}

.work-card:hover .work-year {
  opacity: 1;
}

.work-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
  transition: all 0.4s ease;
  pointer-events: none;
}

.work-blob-1 {
  width: 150px;
  height: 150px;
  background: hotpink;
  top: -30px;
  right: -30px;
}

.work-blob-2 {
  width: 100px;
  height: 100px;
  background: turquoise;
  bottom: -20px;
  left: -20px;
}

.work-card:hover .work-blob-1 {
  transform: scale(1.2) rotate(45deg);
}

.work-card:hover .work-blob-2 {
  transform: scale(1.1) rotate(-30deg);
}

@media (max-width: 1200px) {
  .works-container {
    padding: 0 2rem 4rem 2rem;
  }
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 280px));
    gap: 5rem 3rem;
    max-width: 600px;
    margin: 3rem auto;
  }
  .work-card {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .works-container {
    padding: 0 1rem 2rem 1rem;
  }
  .works-grid {
    grid-template-columns: minmax(0, 280px);
    max-width: 280px;
    margin: 2rem auto;
    gap: 4rem;
  }
  .work-card {
    width: 180px;
  }
}

* {
  cursor: none;
}

body::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #ff69b4;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease;
  left: var(--mouse-x, 50%);
  top: var(--mouse-y, 50%);
}

body:hover::after {
  transform: translate(-50%, -50%) scale(1.2);
}

body:active::after {
  transform: translate(-50%, -50%) scale(0.9);
}

/* Remove any other custom cursor styles to avoid overlap */
#custom-cursor,
.custom-cursor {
  display: none !important;
}

/* --- PILATES PAGE STYLES --- */
.pilates-container {
  max-width: 1100px;
  margin: 4rem auto 0 auto;
  padding: 2rem 2rem 4rem 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pilates-content {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
  width: 100%;
}

.pilates-media {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.pilates-image {
  width: 350px;
  max-width: 100%;
  border-radius: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.pilates-video-wrapper {
  width: 350px;
  max-width: 100%;
  aspect-ratio: 16/9;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pilates-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.pilates-text {
  flex: 2 1 400px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1.5rem;
  padding: 2rem 2rem 1rem 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pilates-text h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 2rem;
  color: #333;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  text-align: left;
}

@media (max-width: 900px) {
  .pilates-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .pilates-media,
  .pilates-video-wrapper,
  .pilates-image {
    width: 100%;
    max-width: 100%;
  }
  .pilates-text {
    padding: 1.5rem 1rem 1rem 1rem;
  }
}

@media (max-width: 600px) {
  .pilates-container {
    padding: 1rem 0.5rem 2rem 0.5rem;
  }
  .pilates-text h2 {
    font-size: 1.3rem;
  }
}

.pilates-video-hero {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 16 / 9;
}

.pilates-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
  width: 100%;
}

.pilates-images .pilates-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.pilates-images .pilates-image:hover {
  transform: scale(1.02);
}

@media (max-width: 900px) {
  .pilates-images {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pilates-images .pilates-image {
    height: 300px;
  }
}

/* --- CONTACT PAGE STYLES --- */
.creative-contact {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.contact-bg-accent {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  background: var(--bubble-bg, rgba(255, 255, 255, 0.85));
  border: 2.5px solid var(--bubble-border, #ff69b4);
  box-shadow: 0 0 32px 8px var(--bubble-glow, #ff69b455), 0 2px 12px 0 var(--bubble-glow, #ff69b455) inset;
  pointer-events: auto;
  z-index: 21;
  transition: background 0.3s, border 0.3s, box-shadow 0.3s;
  animation: blobAppear 1.1s cubic-bezier(0.4, 2, 0.6, 1) forwards;
}
@keyframes blobAppear {
  to {
    opacity: 0.13;
    transform: scale(1);
  }
}
.blob-pop {
  animation: blobPop 0.7s cubic-bezier(0.4, 2, 0.6, 1);
}
@keyframes blobPop {
  0% {
    opacity: 0.13;
    transform: scale(1);
  }
  60% {
    opacity: 0.5;
    transform: scale(1.25);
  }
  100% {
    opacity: 0;
    transform: scale(1.5);
  }
}
.contact-image-frame {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 32px 0 rgba(255, 105, 180, 0.1);
  border: 4px solid #fc2828;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  overflow: hidden;
  pointer-events: none;
}
.contact-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  object-position: center 0%;
  pointer-events: auto;
}
.contact-name {
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0.5rem 0 1.2rem 0;
  color: #222;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
  pointer-events: none;
}
.contact-links a {
  color: #ff69b4;
  font-size: 1.1rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  pointer-events: auto;
}
.contact-links a:hover {
  color: #ff1493;
  text-decoration: underline;
}
.contact-icons {
  display: flex;
  flex-direction: row;
  gap: 2.2rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: none;
  transition: background 0.2s;
  pointer-events: auto;
}
.icon-link:hover,
.icon-link:focus {
  background: #fff0fa;
}
.icon-link svg {
  display: block;
  stroke: #ff69b4;
  transition: stroke 0.2s;
}
.icon-link:hover svg,
.icon-link:focus svg {
  stroke: #ff1493;
}
@media (max-width: 700px) {
  .contact-image-frame {
    width: 200px;
    height: 200px;
  }
  .icon-link {
    width: 44px;
    height: 44px;
  }
  .icon-link svg {
    width: 28px;
    height: 28px;
  }
}

.site-footer {
  width: 100%;
  background: none;
  text-align: center;
  padding: 1.2rem 0 1rem 0;
  font-size: 0.98rem;
  color: #aaa;
  letter-spacing: 0.01em;
  border-top: none;
  margin-top: 2rem;
}

@media (max-width: 600px) {
  .contact-container {
    margin-top: 2.5rem;
    padding: 0 0.5rem 2rem 0.5rem;
  }
  .contact-image-minimal {
    width: 90px;
    height: 90px;
  }
}

/* Custom cursor styles for all pages */
.custom-cursor {
  width: 16px;
  height: 16px;
  background: #ff69b4;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.18s cubic-bezier(0.4, 2, 0.6, 1), background 0.2s;
  box-shadow: 0 0 16px 4px #ff69b455;
  mix-blend-mode: normal;
  opacity: 1;
  left: 0;
  top: 0;
  display: block;
}
.custom-cursor.active,
.custom-cursor.hovered {
  transform: scale(2.1);
  background: #ff1493;
}
@media (max-width: 768px) {
  .custom-cursor {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
}

/* Only apply cursor: none on non-touch devices */
@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button {
    cursor: none !important;
  }
}

/* For touch devices, use default cursor */
@media (hover: none) and (pointer: coarse) {
  body,
  a,
  button {
    cursor: auto !important;
  }
}

/* Pilates main card and background canvas styles */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.main-card {
  max-width: 900px;
  margin: 6rem auto 2rem auto;
  background: transparent !important;
  border-radius: 2.2rem;

  padding: 2.5rem 2rem 2.5rem 2rem;
  position: relative;
  z-index: 2;
}
.main-card .pilates-video-hero {
  border-radius: 1.5rem;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 24px 0 rgba(255, 105, 180, 0.08);
}
.main-card .pilates-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}
.main-card .pilates-media {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
}
.main-card .pilates-image {
  width: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(255, 105, 180, 0.08);
}
.main-card .pilates-text {
  flex: 2 1 320px;
  min-width: 220px;
}
@media (max-width: 900px) {
  .main-card {
    padding: 1.2rem 0.5rem;
  }
}
@media (max-width: 700px) {
  .main-card .pilates-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  .main-card {
    margin: 4rem 0.2rem 1.5rem 0.2rem;
  }
}
body {
  background: transparent !important;
}

.back-link {
  display: block;
  margin-bottom: 2rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s, text-decoration 0.2s;
  position: relative;
  z-index: 1002;
  width: max-content;
  padding: 0.5rem 1.2rem 0.5rem 0;
}

.back-link:hover {
  color: #ff1493;
}

@media (max-width: 768px) {
  .back-link {
    margin-bottom: 1.2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .back-link {
    margin-bottom: 1rem;
    font-size: 0.98rem;
    padding: 0.8rem 0 0.2rem 0;
  }
}

.blob,
.blob1,
.blob2,
.blob3,
#interactive-bg,
#bg-canvas {
  pointer-events: none !important;
}

/* Allow pointer events for blobs only on the contact page */
.contact-bg-accent .blob {
  pointer-events: auto !important;
}

@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  #custom-cursor,
  body::after {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  #interactive-bg {
    pointer-events: auto !important;
    touch-action: none;
  }
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1002;
  position: fixed;
  top: 1.5rem;
  left: 2rem;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 1001;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  font-family: "Jost", sans-serif;
  font-size: 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #ff69b4;
}

@media (max-width: 768px) {
  nav {
    display: none;
  }

  .hamburger-menu {
    display: flex;
  }

  .language-toggle {
    right: 2rem;
    top: 1.5rem;
  }
}

.spring-line1 {
  top: 8vh;
  background: #ffe99a;
  animation-delay: 0s;
}
.spring-line2 {
  top: 30vh;
  background: #ffd586;
  animation-delay: 2s;
}
.spring-line3 {
  top: 55vh;
  background: #ffaaaa;
  animation-delay: 4s;
}
.spring-line4 {
  top: 75vh;
  background: #ff9898;
  animation-delay: 6s;
}

/* Text-based contact information for laptop/desktop */
.contact-text-info {
  display: none;
  margin: 2rem 0;
}

.contact-welcome-text {
  margin-bottom: 2.5rem;
}

.contact-welcome-text p {
  font-family: "Jost", sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
  font-weight: 400;
  max-width: 600px;
  opacity: 0.9;
}

.contact-links-container {
  margin: 1rem 0;
}

.contact-text-item {
  margin: 1rem 0;
  font-family: "Jost", sans-serif;
  font-size: 1.1rem;
  line-height: 1.6;
  display: inline-block;
  margin-right: 2rem;
}

.contact-label {
  font-weight: 500;
  color: #333;
  margin-right: 0.5rem;
}

.contact-link {
  color: #ff69b4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #ff1493;
  text-decoration: underline;
}

/* Show text contact info on laptop/desktop, hide icons */
@media (min-width: 769px) {
  .contact-text-info {
    display: block;
  }

  .contact-icons {
    display: none;
  }
}

/* Show icons on mobile, hide text contact info */
@media (max-width: 768px) {
  .contact-text-info {
    display: none;
  }

  .contact-icons {
    display: flex;
  }
}

/* Contact page grid layout similar to bio - only for laptop/desktop */
@media (min-width: 769px) {
  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .contact-text-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .contact-text-info {
    text-align: left;
  }

  .contact-welcome-text p {
    margin: 0;
  }
}

/* Mobile layout - keep original centered layout */
@media (max-width: 768px) {
  .contact-content {
    display: block;
  }

  .contact-text-content {
    display: block;
    text-align: center;
  }

  .contact-text-info {
    text-align: center;
  }

  .contact-welcome-text p {
    margin: 0 auto;
  }
}

/* Final comprehensive mobile cursor hiding - ensures no custom cursor appears on any mobile device */
@media (max-width: 1024px), (max-device-width: 1024px), (orientation: portrait), (pointer: coarse), (hover: none) {
  .custom-cursor,
  #custom-cursor,
  .custom-cursor *,
  #custom-cursor * {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
  }

  body,
  html,
  * {
    cursor: auto !important;
  }
}

.contact-links-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 1.2rem 0 1.5rem 0;
}
.contact-links-row .contact-label {
  font-weight: 600;
  margin-right: 0.5rem;
}
.contact-links-row a {
  display: flex;
  align-items: center;
}
@media (max-width: 700px) {
  .contact-links-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }
}
