/* YAT QR Code App - Shared Styles */

/* Reset & Base Styles */
* {
  box-sizing: border-box;
}

body { 
  background: linear-gradient(135deg, #2c2a38 0%, #433f54 100%);
  color: #2c2a38; 
  font-family: 'Lato', Helvetica, Arial, sans-serif; 
  margin: 0; 
  padding: 20px; 
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.container { 
  background: #feebda; 
  max-width: 600px; 
  width: 100%;
  padding: 48px 40px; 
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #d1b079 0%, #b2c8a3 50%, #d1b079 100%);
}

/* Typography */
h1 { 
  font-family: 'Playfair Display', serif;
  font-size: 36px; 
  font-weight: 700; 
  color: #2c2a38; 
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

h2 { 
  color: #d1b079; 
  font-weight: 400; 
  font-size: 14px; 
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.intro {
  text-align: center;
  color: #433f54;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f3e2cc;
  color: #9f9c9a;
  font-size: 13px;
  font-weight: 300;
}

/* Index Page - Logo & Features */
.logo {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #d1b079 0%, #b2c8a3 100%);
  border-radius: 50%;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #f3e2cc;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(44,42,56,0.2);
  border-color: #d1b079;
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.feature-text {
  color: #2c2a38;
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}

/* Therapy Page - Header & Member Cards */
.header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f3e2cc;
}

.member-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.member-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 2px solid #f3e2cc;
  border-radius: 12px;
  padding: 24px 20px;
  text-decoration: none;
  color: #2c2a38;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(209,176,121,0.1), transparent);
  transition: left 0.5s;
}

.member-card:hover::before {
  left: 100%;
}

.member-card:hover {
  background: #2c2a38;
  color: #feebda;
  border-color: #d1b079;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44,42,56,0.3);
}

.member-card:hover .whatsapp-icon {
  background: #25D366;
  color: white;
  transform: scale(1.1) rotate(5deg);
}

.member-card:active {
  transform: translateY(-2px);
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  font-family: 'Playfair Display', serif;
}

.member-subtitle {
  font-size: 13px;
  color: #9f9c9a;
  margin: 4px 0 0;
  font-weight: 300;
}

.member-card:hover .member-subtitle {
  color: #b2c8a3;
}

.whatsapp-icon {
  width: 48px;
  height: 48px;
  background: #eaeae8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  padding: 10px;
}

.whatsapp-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Design */
@media (max-width: 600px) {
  body { 
    padding: 10px;
  }
  
  .container { 
    padding: 32px 24px; 
  }
  
  h1 { 
    font-size: 28px; 
  }
  
  .intro {
    font-size: 16px;
  }
  
  /* Index page responsive */
  .logo {
    width: 100px;
    height: 100px;
    font-size: 50px;
  }
  
  /* Therapy page responsive */
  .member-list {
    grid-template-columns: 1fr;
  }
  
  .member-card {
    padding: 20px 16px;
  }
  
  .member-name {
    font-size: 18px;
  }
  
  .whatsapp-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }
}

