@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;600;700&family=Quicksand:wght@300;400;500;600&display=swap');

/* vCard Styles for Music Teacher */
:root {
  --primary-color: #8e44ad;
  --secondary-color: #f3e5f5;
  --accent-color: #e91e63;
  --text-color: #3a3a3a;
  --light-text: #757575;
  --light-bg: #fbfaff;
  --dark-bg: #6a1b9a;
  --shadow: 0 10px 30px rgba(142, 68, 173, 0.2);
  --font-primary: 'Dancing Script', 'Playfair Display', Georgia, serif;
  --font-secondary: 'Quicksand', 'Montserrat', sans-serif;
  --transition: all 0.4s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  background-color: #f8f5ff;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544v2.12l25.414 25.414-1.414 1.415L0 5.657v2.828l22.142 22.142-1.414 1.414L0 8.97v2.83l18.87 18.87-1.415 1.414L0 12.242v2.83l15.6 15.6-1.414 1.413L0 15.515v2.83l12.328 12.326-1.414 1.414L0 18.8v2.828l9.056 9.056-1.414 1.414L0 22.072v2.828l5.784 5.784-1.414 1.414L0 25.342v2.83l2.514 2.512-1.414 1.414L0 28.628v2.828L0 60h60V0h-2.686z' fill='%23c39bd3' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100%;
}

/* Music Notes Background */
.music-notes-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.music-note {
  position: absolute;
  opacity: 0.08;
  color: var(--primary-color);
  z-index: -1;
  animation: float-note 15s linear infinite;
}

.main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
  overflow: auto;
}

.container.gutter-top {
  margin: 0;
  padding: 0;
  width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vcard-container {
  max-width: 450px;
  margin: auto;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: fadeIn 1s ease-in-out;
  text-align: center;
  height: auto;
  display: flex;
  flex-direction: column;
}

.vcard-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(142, 68, 173, 0.3);
}

.vcard-container.animated .vcard-name:after {
  transform: scaleX(1);
  transition-delay: 1.2s;
}

.vcard-header {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(145deg, var(--primary-color), var(--dark-bg));
  color: white;
  text-align: center;
}

.vcard-header:before {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  height: 50px;
  background: white;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.avatar-container {
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 1;
  text-align: center;
}

.avatar {
  margin: 0 auto;
  width: 180px;
  height: 180px;
  border: 4px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  animation: pulse 5s infinite;
}

/* Music note decorations */
.avatar-container:before,
.avatar-container:after {
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  animation: float 3s ease-in-out infinite;
}

.avatar-container:before {
  content: "♪";
  top: 15px;
  left: 15%;
  font-size: 1.8rem;
  animation-delay: 0.5s;
}

.avatar-container:after {
  content: "♫";
  bottom: 40px;
  right: 15%;
  font-size: 2.2rem;
  animation-delay: 1s;
}

/* Additional music notes */
.vcard-container:before {
  content: "♩";
  position: absolute;
  top: 40%;
  left: -15px;
  font-size: 1.8rem;
  color: rgba(142, 68, 173, 0.15);
  animation: float 4s ease-in-out infinite;
  animation-delay: 0.2s;
  z-index: 0;
}

.vcard-container:after {
  content: "♬";
  position: absolute;
  bottom: 25%;
  right: -15px;
  font-size: 2.2rem;
  color: rgba(142, 68, 173, 0.15);
  animation: float 5s ease-in-out infinite;
  animation-delay: 1.5s;
  z-index: 0;
}

.vcard-body:before {
  content: "𝄞";
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 1.5rem;
  color: rgba(142, 68, 173, 0.08);
  transform: rotate(-10deg);
  z-index: 0;
}

.vcard-body:after {
  content: "𝅘𝅥𝅮";
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.2rem;
  color: rgba(142, 68, 173, 0.08);
  transform: rotate(10deg);
  z-index: 0;
}

/* Additional animated music notes for header */
.vcard-header:after {
  content: "♫";
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.25);
  animation: float-spin 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes float-spin {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Floating music notes around the card */
.vcard-container .music-notes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.vcard-container .music-notes span {
  position: absolute;
  font-size: 1.2rem;
  color: rgba(142, 68, 173, 0.15);
  pointer-events: none;
  z-index: 2;
}

.vcard-container .music-notes span:nth-child(1) {
  top: 20%;
  left: -20px;
  animation: note-float-1 5s ease-in-out infinite;
}

.vcard-container .music-notes span:nth-child(2) {
  top: 35%;
  right: -20px;
  animation: note-float-2 7s ease-in-out infinite;
}

.vcard-container .music-notes span:nth-child(3) {
  bottom: 30%;
  left: -25px;
  animation: note-float-3 6s ease-in-out infinite;
}

.vcard-container .music-notes span:nth-child(4) {
  bottom: 15%;
  right: -15px;
  animation: note-float-4 8s ease-in-out infinite;
}

/* Music notes dancing inside header */
.vcard-header .dancing-notes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.vcard-header .dancing-notes span {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  z-index: 0;
}

.vcard-header .dancing-notes span:nth-child(1) {
  content: "♪";
  top: 15%;
  left: 10%;
  font-size: 1.3rem;
  animation: dance-note-1 6s ease-in-out infinite;
}

.vcard-header .dancing-notes span:nth-child(2) {
  content: "♫";
  top: 25%;
  right: 15%;
  font-size: 1.5rem;
  animation: dance-note-2 8s ease-in-out infinite;
}

.vcard-header .dancing-notes span:nth-child(3) {
  content: "♩";
  bottom: 40%;
  left: 20%;
  font-size: 1.2rem;
  animation: dance-note-3 7s ease-in-out infinite;
}

.vcard-header .dancing-notes span:nth-child(4) {
  content: "♬";
  bottom: 35%;
  right: 20%;
  font-size: 1.4rem;
  animation: dance-note-4 9s ease-in-out infinite;
}

.vcard-header .dancing-notes span:nth-child(5) {
  content: "𝅘𝅥𝅮";
  bottom: 20%;
  left: 35%;
  font-size: 1.1rem;
  animation: dance-note-5 5s ease-in-out infinite;
}

/* Additional note animations */
@keyframes note-float-1 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(5px, -8px) rotate(10deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes note-float-2 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-6px, -5px) rotate(-8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes note-float-3 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(8px, -10px) rotate(15deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes note-float-4 {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-10px, -6px) rotate(-12deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes dance-note-1 {
  0% { transform: translateY(0) rotate(0deg); }
  30% { transform: translateY(-8px) rotate(5deg); }
  60% { transform: translateY(5px) rotate(-8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes dance-note-2 {
  0% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-5px) rotate(-10deg); }
  75% { transform: translateY(8px) rotate(8deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes dance-note-3 {
  0% { transform: translateY(0) rotate(0deg); }
  40% { transform: translateY(-10px) rotate(12deg); }
  70% { transform: translateY(6px) rotate(-5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes dance-note-4 {
  0% { transform: translateY(0) rotate(0deg); }
  20% { transform: translateY(-7px) rotate(-15deg); }
  60% { transform: translateY(10px) rotate(10deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes dance-note-5 {
  0% { transform: translateY(0) rotate(0deg); }
  35% { transform: translateY(-12px) rotate(8deg); }
  65% { transform: translateY(8px) rotate(-12deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.vcard-name {
  font-family: var(--font-primary);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}

.vcard-name:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  background: var(--accent-color);
  bottom: -5px;
  left: 25%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.vcard-container:hover .vcard-name:after {
  transform: scaleX(1);
}

.badge {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  margin-top: 0.5rem;
  backdrop-filter: blur(5px);
  animation: slideUp 0.8s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
  transform: translateY(20px);
}

.vcard-body {
  padding: 2rem 1.5rem;
  background-color: white;
  position: relative;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vcard-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vcard-details__item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  background-color: var(--secondary-color);
  transition: var(--transition);
  animation: slideRight 0.5s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
  cursor: pointer;
}

.vcard-details__item:nth-child(1) {
  animation-delay: 0.4s;
}

.vcard-details__item:nth-child(2) {
  animation-delay: 0.6s;
}

.vcard-details__item:hover {
  background-color: var(--primary-color);
}

.vcard-details__item:hover a,
.vcard-details__item:hover i,
.vcard-details__item:hover span {
  color: white;
}

.vcard-details__item i {
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: var(--transition);
}

.vcard-details__item a,
.vcard-details__item span {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.vcard-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
}

.vcard-btn {
  flex: 1;
  width: 100%;
  border: none;
  background: linear-gradient(45deg, var(--primary-color), var(--dark-bg));
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 30px;
  font-family: var(--font-primary);
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.2);
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  font-size: 0.9rem;
  text-decoration: none;
}

.vcard-btn:nth-child(1) {
  animation-delay: 0.7s;
}

.vcard-btn:nth-child(2) {
  animation-delay: 0.8s;
}

.vcard-btn.btn-hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(142, 68, 173, 0.4);
}

.vcard-btn.btn-active {
  transform: scale(0.95);
  box-shadow: 0 2px 10px rgba(142, 68, 173, 0.2);
}

.vcard-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(142, 68, 173, 0.3);
}

.vcard-btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.vcard-btn:hover:after {
  left: 100%;
}

.vcard-btn i {
  font-size: 1.1rem;
}

/* Contact Modal Styles */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-modal.show {
  opacity: 1;
  visibility: visible;
}

.contact-modal__content {
  background-color: white;
  border-radius: 20px;
  padding: 2rem;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 15px 40px rgba(142, 68, 173, 0.3);
  transform: scale(0.8);
  transition: transform 0.3s ease;
  text-align: center;
  position: relative;
  border: 1px solid rgba(142, 68, 173, 0.1);
}

.contact-modal.show .contact-modal__content {
  transform: scale(1);
}

.contact-modal__title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.contact-modal__title:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  background: var(--accent-color);
  bottom: -5px;
  left: 25%;
}

.contact-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--light-text);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10;
  height: 30px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-modal__close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
  background-color: var(--secondary-color);
}

.contact-modal__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-modal__btn {
  padding: 1rem;
  border-radius: 30px;
  border: none;
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.contact-modal__btn.call {
  background: linear-gradient(45deg, var(--primary-color), var(--dark-bg));
  color: white;
}

.contact-modal__btn.whatsapp {
  background: linear-gradient(45deg, #128C7E, #25D366);
  color: white;
}

.contact-modal__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contact-modal__btn:after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.contact-modal__btn:hover:after {
  left: 100%;
}

/* Add some music-themed decorations to the modal */
.contact-modal__content:before {
  content: "♫";
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 1.5rem;
  color: rgba(142, 68, 173, 0.1);
  transform: rotate(-10deg);
}

.contact-modal__content:after {
  content: "♪";
  position: absolute;
  bottom: 15px;
  right: 15px;
  font-size: 1.2rem;
  color: rgba(142, 68, 173, 0.1);
  transform: rotate(10deg);
}

.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.5s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(-15px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px) rotate(5deg); }
  100% { transform: translateY(0); }
}

@keyframes float-note {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.08;
  }
  90% {
    opacity: 0.08;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Responsive */
@media only screen and (max-width: 580px) {
  .main {
    padding: 0;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: auto;
  }
  
  .container.gutter-top {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }
  
  .vcard-container {
    width: 100%;
    max-width: 100%;
    margin: auto;
  }
  
  .vcard-header {
    padding: 3rem 1rem 2rem;
  }
  
  .vcard-header:before {
    bottom: -30px;
    height: 60px;
  }
  
  .vcard-body {
    padding: 1.5rem 1rem;
  }
  
  .avatar {
    width: 200px;
    height: 200px;
    border-width: 5px;
  }
  
  .vcard-name {
    font-size: 2.4rem;
  }
  
  .badge {
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
  }
  
  .vcard-btn, .contact-modal__btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  
  /* Adjust music notes positions for larger avatar */
  .avatar-container:before {
    top: 0;
    left: 10%;
    font-size: 2.2rem;
  }
  
  .avatar-container:after {
    bottom: 50px;
    right: 10%;
    font-size: 2.5rem;
  }
  
  .vcard-header .dancing-notes span {
    font-size: 1.5rem;
  }
  
  .vcard-header .dancing-notes span:nth-child(1) {
    top: 12%;
    left: 8%;
  }
  
  .vcard-header .dancing-notes span:nth-child(2) {
    top: 20%;
    right: 12%;
  }
  
  .vcard-header .dancing-notes span:nth-child(3) {
    bottom: 35%;
    left: 15%;
  }
  
  .vcard-header .dancing-notes span:nth-child(4) {
    bottom: 30%;
    right: 15%;
  }
  
  .vcard-header .dancing-notes span:nth-child(5) {
    bottom: 15%;
    left: 30%;
  }
}

/* Also ensure all anchor tags in the modal have no underline */
.contact-modal a {
  text-decoration: none;
}

/* Copy Link notification */
.copy-notification {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  animation: fadeInOut 2s ease-in-out;
}

.copy-notification.success {
  background: linear-gradient(145deg, var(--primary-color), var(--dark-bg)) !important;
}

.copy-notification.error {
  background: linear-gradient(145deg, #e74c3c, #c0392b) !important;
}

.copy-notification::before {
  content: "♪";
  margin-right: 6px;
  display: inline-block;
  animation: spin 1s linear infinite;
}

.copy-notification.error::before {
  content: "!";
  animation: none;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  85% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
} 