/* Base styles */
body {
  font-family: Georgia, serif;
  background-color: #fdfaf4;
  color: #2d1b00;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

header {
  text-align: center;
  margin-bottom: 2rem;
}

h1 {
  font-size: 2.5rem;
  color: #b64520;
}

p {
  max-width: 700px;
  margin: 0 auto;
}

footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #888;
}

/* Original floral border for main image */
.floral-border {
  border: 12px solid transparent;
  padding: 10px;
  border-image: url('https://www.transparenttextures.com/patterns/floral.png') 30 round;
  border-radius: 15px;
  max-width: 90%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Biography section styles */
.biography-section {
  margin: 3rem auto;
  max-width: 900px;
  text-align: center;
}

.biography-section h2 {
  font-size: 2rem;
  color: #b64520;
  margin-bottom: 2rem;
}

.biography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.biography-card {
  background: linear-gradient(135deg, #fdfaf4 0%, #f8f3e8 100%);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(181, 69, 32, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
}

.biography-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(181, 69, 32, 0.2);
}

.biography-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(45deg, #d4a574, #b64520, #8b4513, #d4a574);
  border-radius: 15px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  z-index: -1;
}

.bio-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: block;
  border: 3px solid #d4a574;
  box-shadow: 0 2px 8px rgba(181, 69, 32, 0.2);
}

.bio-link {
  color: #b64520;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.bio-link:hover {
  color: #8b4513;
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .biography-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .bio-image {
    width: 100px;
    height: 100px;
  }
}

/* Enhanced floating bhajan player */

.bhajan-player {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  background: rgba(255, 250, 240, 0.95);
  border: 2px solid #d4a574;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(139, 69, 19, 0.25);
  padding: 0.6rem 1rem;
  font-family: 'Georgia', serif;
}

.bhajan-player button {
  background: linear-gradient(to right, #b64520, #8b4513);
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: background 0.3s ease, transform 0.2s ease;
}

.bhajan-player button:hover {
  background: linear-gradient(to right, #a53f18, #703110);
  transform: scale(1.05);
}

.bhajan-player input[type="range"] {
  width: 100px;
  margin-left: 1rem;
  vertical-align: middle;
  accent-color: #b64520;
}

footer .contact-info {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #5a3920;
}

footer .contact-info a {
  color: #8b4513;
  text-decoration: none;
  font-weight: bold;
}

footer .contact-info a:hover {
  text-decoration: underline;
  color: #b64520;
}
