/* Music Lessons Platform - Main CSS */
/* Bootstrap 5 Base Import */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Color Palette - 5 Primary Colors with Light/Dark Shades */
:root {
  /* Primary Color Palette */
  --color-primary-1: #6664e2;        /* Indigo */
  --color-primary-1-light: #abbcff;
  --color-primary-1-dark: #4632c3;
  
  --color-primary-2: #fb5992;        /* Pink */
  --color-primary-2-light: #f29dce;
  --color-primary-2-dark: #d62759;
  
  --color-primary-3: #05bbe2;        /* Cyan */
  --color-primary-3-light: #50cfe1;
  --color-primary-3-dark: #0979b2;
  
  --color-primary-4: #21c778;        /* Emerald */
  --color-primary-4-light: #52d1aa;
  --color-primary-4-dark: #008b6f;
  
  --color-primary-5: #f69a1e;        /* Amber */
  --color-primary-5-light: #ffa723;
  --color-primary-5-dark: #e98a1c;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-light: #f8fafc;
  --color-gray: #697e9c;
  --color-dark: #192431;
  --color-black: #090e1e;
  
  /* Gradients */
  --gradient-1: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-2));
  --gradient-2: linear-gradient(135deg, var(--color-primary-3), var(--color-primary-4));
  --gradient-3: linear-gradient(135deg, var(--color-primary-2), var(--color-primary-5));
  --gradient-4: linear-gradient(135deg, var(--color-primary-1), var(--color-primary-3));
  --gradient-5: linear-gradient(135deg, var(--color-primary-4), var(--color-primary-5));
  
  /* Conservative Font Sizes */
  --font-size-small: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-white);
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Force disable all animations with no-animations class */
.no-animations *,
.no-animations *::before,
.no-animations *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  animation-iteration-count: 1 !important;
  animation-fill-mode: forwards !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
  transform: none !important;
  scroll-behavior: auto !important;
}

/* Override specific animation classes when animations are disabled */
.no-animations .animate-in,
.no-animations .feature-card,
.no-animations .service-card,
.no-animations .price-card,
.no-animations .team-card,
.no-animations .review-card {
  opacity: 1 !important;
  transform: none !important;
}

/* Disable hover effects when animations are disabled */
.no-animations .feature-card:hover,
.no-animations .service-card:hover,
.no-animations .price-card:hover,
.no-animations .team-card:hover,
.no-animations .blog-card:hover,
.no-animations .btn-primary:hover,
.no-animations .social-link:hover,
.no-animations .gallery-item:hover .gallery-image {
  transform: none !important;
}

/* Disable lightbox animation when animations are disabled */
.no-animations .lightbox-overlay {
  animation: none !important;
  opacity: 1 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl); }
h4 { font-size: var(--font-size-lg); }
h5, h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(124, 103, 252, 0.10);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: var(--font-size-xl) !important;
  font-weight: 700;
  color: var(--color-primary-1) !important;
}

.navbar-nav .nav-link {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-dark) !important;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary-1) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
  min-height: 100vh;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 50px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.65rem;
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  color: var(--color-gray);
  margin-bottom: 3rem;
}

/* About Section */
.about-section {
  background: var(--color-light);
}

.feature-card {
  background-color: #1877f2;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 13px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(129, 111, 254, 0.15);
}

.feature-icon {
  font-size: 2.65rem;
  color: var(--color-primary-1);
  margin-bottom: 1rem;
}

/* Services Section */
.service-card {
  background: var(--color-white);
  border-radius: 13px;
  padding: 2rem;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary-1);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.73rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary-1);
  margin: 1rem 0;
}

/* Features Section */
.features-section {
  background: var(--gradient-2);
  color: var(--color-white);
}

.features-section .section-title,
.features-section .section-subtitle {
  color: var(--color-white);
}

/* Price Plan Section */
.price-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  text-align: center;
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 19px 35px rgba(86, 99, 218, 0.20);
}

.price-amount {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-primary-1);
  margin: 1.5rem 0;
}

/* Team Section */
.team-section {
  background: var(--color-light);
}

.team-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 5px solid var(--color-primary-1);
}

/* Reviews Section */
.review-card {
  background: var(--color-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  margin-bottom: 2rem;
}

.review-stars {
  color: var(--color-primary-5);
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
  background: var(--color-light);
}

.faq-item {
  background: var(--color-white);
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px solid var(--color-light);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--color-light);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-gray);
}

/* Contact Section */
.contact-section {
  background: var(--gradient-3);
  color: var(--color-white);
}

.contact-section .section-title,
.contact-section .section-subtitle {
  color: var(--color-white);
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
}

.form-control {
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.btn-primary {
  background: var(--color-primary-1);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-primary-1-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

.footer-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--color-gray);
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
  margin-bottom: 0.56rem;
}

.footer-link:hover {
  color: var(--color-primary-1);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

/* Blog Section */
.blog-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Utility Classes */
.gradient-bg-1 { background: var(--gradient-1); }
.gradient-bg-2 { background: var(--gradient-2); }
.gradient-bg-3 { background: var(--gradient-3); }
.gradient-bg-4 { background: var(--gradient-4); }
.gradient-bg-5 { background: var(--gradient-5); }

.text-primary-1 { color: var(--color-primary-1); }
.text-primary-2 { color: var(--color-primary-2); }
.text-primary-3 { color: var(--color-primary-3); }
.text-primary-4 { color: var(--color-primary-4); }
.text-primary-5 { color: var(--color-primary-5); }

/* Decorative Elements */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  z-index: 1;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--color-primary-2);
  top: 10%;
  right: 10%;
}

.blob-2 {
  width: 200px;
  height: 200px;
  background: var(--color-primary-3);
  bottom: 20%;
  left: 5%;
}

/* Image Placeholders and Error Handling */
img {
  max-width: 100%;
  height: auto;
}

img[src*=".webp"] {
  background: var(--gradient-1);
  background-size: cover;
  position: relative;
}

img[src*=".webp"]:after {
  content: "ð· Image";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1rem;
  text-align: center;
  width: 100%;
}

/* Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Animation Classes */
.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease-out;
}

.feature-card,
.service-card,
.price-card,
.team-card,
.review-card {
  opacity: 0;
  transform: translateY(30px);
}

/* Additional Form Styles */
.form-control.is-invalid {
  border-color: #e0455a;
  box-shadow: 0 0 0 0.2rem rgba(218, 32, 70, 0.25);
}

.error-message {
  font-size: 1.00rem;
  margin-top: 0.45rem;
}

/* Navbar Scrolled State */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FAQ Active State */
.faq-item.active .faq-question {
  background: var(--color-light);
  color: var(--color-primary-1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
} 


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

.facebook-link:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
}

.linkedin-link:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    color: white;
}

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

.x-link:hover {
    background: #000000;
    border-color: #000000;
    color: white;
}

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
