/* ==================================================
   MAIN CSS - Musical Score Annotation Platform
   ================================================== */

/* Import Bootstrap 5 */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

/* Import FontAwesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* CSS Variables - 5 Primary Colors with Gradients */
:root {
  /* Primary Colors */
  --primary-color-1: #3b71de;       /* Musical Blue */
  --primary-color-2: #7456f3;       /* Note Purple */
  --primary-color-3: #5ad579;       /* Harmony Green */
  --primary-color-4: #ff9545;       /* Rhythm Orange */
  --primary-color-5: #f07199;       /* Accent Pink */
  
  /* Light Shades */
  --light-color-1: #deecff;         /* Light Musical Blue */
  --light-color-2: #F0EDFF;         /* Light Note Purple */
  --light-color-3: #d3fbe3;         /* Light Harmony Green */
  --light-color-4: #e7dfda;         /* Light Rhythm Orange */
  --light-color-5: #ffffff;         /* Light Accent Pink */
  
  /* Dark Shades */
  --dark-color-1: #274a9d;          /* Dark Musical Blue */
  --dark-color-2: #5c3bd0;          /* Dark Note Purple */
  --dark-color-3: #3b9054;          /* Dark Harmony Green */
  --dark-color-4: #f58c33;          /* Dark Rhythm Orange */
  --dark-color-5: #eb3f80;          /* Dark Accent Pink */
  
  /* Gradients */
  --gradient-1: linear-gradient(135deg, var(--primary-color-1), var(--primary-color-2));
  --gradient-2: linear-gradient(135deg, var(--primary-color-3), var(--primary-color-4));
  --gradient-3: linear-gradient(135deg, var(--primary-color-5), var(--primary-color-1));
  --gradient-4: linear-gradient(135deg, var(--primary-color-2), var(--primary-color-3));
  --gradient-5: linear-gradient(135deg, var(--primary-color-4), var(--primary-color-5));
  
  /* Typography */
  --font-size-small: 0.875rem;      /* 14px */
  --font-size-base: 1rem;           /* 16px */
  --font-size-lg: 1.125rem;         /* 18px */
  --font-size-xl: 1.25rem;          /* 20px */
  --font-size-xxl: 1.5rem;          /* 24px */
  --font-size-h6: 1rem;             /* 16px */
  --font-size-h5: 1.125rem;         /* 18px */
  --font-size-h4: 1.25rem;          /* 20px */
  --font-size-h3: 1.5rem;           /* 24px */
  --font-size-h2: 1.875rem;         /* 30px */
  --font-size-h1: 2.25rem;          /* 36px */
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-max-width: 1140px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.15);
}

/* Base Typography - Conservative Sizes */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: #312d2d;
  background: #fff;
}

/* Headlines - Conservative Sizes */
h1, .h1 {
  font-size: var(--font-size-h1);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary-color-1);
}

h2, .h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.95rem;
  color: var(--primary-color-1);
}

h3, .h3 {
  font-size: var(--font-size-h3);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.92rem;
  color: var(--primary-color-2);
}

h4, .h4 {
  font-size: var(--font-size-h4);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.84rem;
  color: var(--primary-color-2);
}

h5, .h5 {
  font-size: var(--font-size-h5);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.65rem;
  color: var(--primary-color-3);
}

h6, .h6 {
  font-size: var(--font-size-h6);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 0.71rem;
  color: var(--primary-color-3);
}

p {
  font-size: var(--font-size-base);
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #565050;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-color-1);
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: #2c2c2c;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color-1);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../../assets/images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: white;
  text-align: left;
    padding-top: 100px;
}

.hero h1 {
  color: white;
  font-size: var(--font-size-h1);
  margin-bottom: 1.64rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
}

/* Sections */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: var(--font-size-lg);
  color: #6d6d6d;
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--light-color-1);
}

.about-feature {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  background: var(--light-color-2);
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.service-price {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  color: var(--primary-color-1);
  margin: 1rem 0;
}

/* Features Section */
.features {
  background: var(--light-color-3);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 2.56rem;
  color: var(--primary-color-3);
  margin-bottom: 1rem;
}

/* Price Plans */
.priceplan {
  background: var(--light-color-4);
}

.price-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.price-card.featured {
  background: var(--gradient-2);
  color: white;
}

.price-card.featured h3,
.price-card.featured p {
  color: white;
}

.price-value {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color-1);
  margin: 1rem 0;
}

.price-card.featured .price-value {
  color: white;
}

/* Team Section */
.team {
  background: var(--light-color-5);
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-color-1);
}

.team-member-role {
  color: var(--primary-color-2);
  font-weight: 500;
  margin-bottom: 0.63rem;
}

/* Reviews Section */
.reviews {
  background: var(--light-color-1);
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-stars {
  color: var(--primary-color-4);
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color-1);
  margin-top: 1rem;
}

/* Case Studies */
.casestudy {
  background: var(--light-color-2);
}

.casestudy-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-5px);
}

/* Process Section */
.process {
  background: var(--light-color-3);
}

.process-step {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--font-size-lg);
}

.process-container {
  counter-reset: step-counter;
}

/* Timeline */
.timeline {
  background: var(--light-color-4);
}

.timeline-item {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  position: relative;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-3px);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--primary-color-1);
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: var(--shadow-sm);
}

/* Career */
.career {
  background: var(--light-color-5);
}

.career-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-5px);
}

.career-role {
  color: var(--primary-color-2);
  font-weight: 500;
  margin-bottom: 0.68rem;
}

/* Core Info */
.coreinfo {
  background: var(--light-color-1);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item i {
  font-size: 2.51rem;
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact {
  background: var(--light-color-2);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.73rem;
}

.form-control {
  border: 2px solid #e8e9e9;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color-1);
  box-shadow: 0 0 0 0.2rem rgba(53, 148, 224, 0.25);
}

.btn-primary {
  background: var(--gradient-1);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--gradient-3);
  transform: translateY(-2px);
}

.contact-info {
  background: var(--light-color-1);
  padding: 2rem;
  border-radius: 15px;
  margin-top: 2rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
}

.contact-info i {
  color: var(--primary-color-1);
  margin-right: 0.5rem;
}

/* Blog */
.blog {
  background: var(--light-color-3);
}

.blog-card {
  background: white;
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.58rem;
}

.blog-card .excerpt {
  color: #7b7675;
  font-size: var(--font-size-small);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-color-1);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-color-2);
}

/* FAQ */
.faq {
  background: var(--light-color-4);
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background: var(--light-color-1);
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--light-color-2);
}

.faq-answer {
  padding: 1.5rem;
  color: #7c7c7c;
  border-top: 1px solid #ccd7de;
}

/* Gallery */
.gallery {
  background: var(--light-color-5);
}

.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background: var(--gradient-1);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.56rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }
.bg-gradient-4 { background: var(--gradient-4); }
.bg-gradient-5 { background: var(--gradient-5); }

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--light-color-1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 2rem 0;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
