/* Professional Music Studio Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

section h2 {
  font-weight: 600;
  color: #2c3e50;
}

/* Navigation */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.3rem;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #667eea !important;
}

/* Mobile button optimizations */
@media (max-width: 991.98px) {
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }

  /* Make navbar button smaller on mobile */
  .navbar .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }

  /* Contact form button optimization */
  .contact-form .btn-lg {
    width: 100%;
    padding: 0.875rem 1rem;
  }

  /* Responsive text sizes */
  .display-3 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  /* Contact info section mobile optimization */
  .contact-info-card {
    margin-bottom: 0.5rem;
    padding: 1rem 0.5rem;
  }

  .contact-info-card i {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
  }

  .contact-info-card h6 {
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
  }

  .contact-info-card p {
    font-size: 0.875rem;
    line-height: 1.3;
  }

  /* Reduce spacing between contact cards - stacked vertically */
  #contact .row [class*="col-md-3"] {
    margin-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Remove bottom margin from last contact card */
  #contact .row [class*="col-md-3"]:last-child {
    margin-bottom: 0;
  }

  /* Footer mobile optimization */
  footer .row > div {
    margin-bottom: 2rem;
    text-align: center;
  }

  footer .row > div:last-child {
    margin-bottom: 0;
  }

  footer h5,
  footer h6 {
    margin-bottom: 1rem;
  }

  footer .col-md-6 p,
  footer .col-md-3 p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  footer .col-md-3 ul {
    padding-left: 0;
  }

  footer .col-md-3 ul li {
    margin-bottom: 0.5rem;
  }

  /* Footer bottom section mobile */
  footer hr {
    margin: 2rem 0 1.5rem 0;
  }

  footer .row.align-items-center > div {
    text-align: center;
    margin-bottom: 1rem;
  }

  footer .row.align-items-center > div:last-child {
    margin-bottom: 0;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://images.unsplash.com/photo-1511379938547-c1f69419868d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80")
    center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  border-radius: 50px;
  font-weight: 600;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Professional Credentials */
.credentials-section {
  background: rgba(102, 126, 234, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
}

.credential-list li {
  font-size: 0.95rem;
}

/* Teacher Photo */
.teacher-photo {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.teacher-photo:hover {
  transform: scale(1.05);
}

/* Achievement Items */
.achievement-item h4 {
  font-weight: bold;
  font-size: 2rem;
  color: #667eea;
}

.achievement-stats {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 1rem;
}

/* Lesson Cards */
.lesson-card {
  background: white;
  border-radius: 20px;
  border: none;
  transition: all 0.4s ease;
  overflow: hidden;
}

.lesson-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.lesson-image {
  height: 220px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.lesson-card:hover .lesson-image {
  transform: scale(1.05);
}

.curriculum-list li {
  font-size: 0.9rem;
  color: #555;
}

.pricing-info {
  border: 2px solid #e9ecef;
  transition: border-color 0.3s ease;
}

.lesson-card:hover .pricing-info {
  border-color: #667eea;
}

/* Info Cards */
.info-card {
  background: white;
  border-radius: 15px;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-color: #667eea;
}

.info-card i {
  transition: transform 0.3s ease;
}

.info-card:hover i {
  transform: scale(1.1);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  border: none;
}

.form-header {
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 1rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
  transform: translateY(-2px);
}

.form-label {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-check-input:checked {
  background-color: #667eea;
  border-color: #667eea;
}

/* Contact Info Cards */
.contact-info-card {
  padding: 2rem;
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
}

.contact-info-card i {
  transition: color 0.3s ease;
}

.contact-info-card:hover i {
  color: #764ba2 !important;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50px;
  padding: 0.875rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  backdrop-filter: blur(10px);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

footer a:hover {
  color: #667eea !important;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lesson-card,
.info-card,
.contact-form {
  animation: fadeInUp 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .teacher-photo {
    width: 250px;
    height: 250px;
  }

  .hero-section {
    min-height: 80vh;
    text-align: center;
  }

  .lesson-image {
    height: 180px;
  }

  .contact-form {
    padding: 2rem;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }

  .achievement-item h4 {
    font-size: 1.5rem;
  }
}

/* Additional Professional Touches */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  margin: 3rem 0;
}

.professional-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0.25rem;
}

/* Smooth scrolling offset for fixed navbar */
section {
  scroll-margin-top: 40px;
}
