/* ===================================
   COLLABORATIVE MUSICAL SCORE ANNOTATION PLATFORM
   Main Stylesheet - Bootstrap 5 Integration
   =================================== */

/* ===================================
   ROOT VARIABLES - COLOR PALETTE
   =================================== */
:root {
  /* Primary Colors - Musical Theme */
  --color-primary: #6268e5;        /* Indigo for main brand */
  --color-secondary: #775fe8;      /* Purple for accents */
  --color-tertiary: #10d0ea;       /* Cyan for highlights */
  --color-quaternary: #03ac83;     /* Emerald for success */
  --color-quinary: #fcc300;        /* Amber for warnings */
  
  /* Light Shades */
  --color-primary-light: #b2b9ff;
  --color-secondary-light: #d1c3ef;
  --color-tertiary-light: #53e3f9;
  --color-quaternary-light: #5cd1a1;
  --color-quinary-light: #ffd714;
  
  /* Dark Shades */
  --color-primary-dark: #472de0;
  --color-secondary-dark: #7649ff;
  --color-tertiary-dark: #00839f;
  --color-quaternary-dark: #0ba585;
  --color-quinary-dark: #da7c00;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-light: #f8fafc;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #ededed;
  --color-gray-600: #444f66;
  --color-gray-800: #131725;
  --color-dark: #111b26;
  
  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-size-base: 16px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-max-width: 1200px;
  
  /* Animation */
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.6s ease;
}

/* ===================================
   BOOTSTRAP 5 CDN IMPORT
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ===================================
   BASE STYLES
   =================================== */
html {
  /* scroll-behavior: smooth; REMOVED - No more smooth scrolling */
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-gray-800);
  background-color: var(--color-white);
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.56rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.78rem; }
h4 { font-size: 1.61rem; }
h5 { font-size: 1.38rem; }
h6 { font-size: 1.19rem; }

p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(11px);
  box-shadow: 0 9px 27px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.53rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--color-gray-600);
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition-base);
}

.navbar-nav .nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary), var(--color-tertiary));
  position: relative;
  display: flex;
  align-items: center;
  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 {
  position: relative;
  z-index: 2;
  color: var(--color-white);
    padding-top: 225px;
}

.hero-title {
  font-size: 3.57rem;
  font-weight: 700;
  margin-bottom: 1.57rem;
}

.hero-subtitle {
  font-size: 1.39rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Decorative shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.hero-shape:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* ===================================
   SECTION STYLES
   =================================== */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.60rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.38rem;
  text-align: center;
  color: var(--color-gray-600);
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* ===================================
   CARDS & COMPONENTS
   =================================== */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.service-card {
  text-align: center;
  padding: 2rem;
}

.service-icon {
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.64rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* ===================================
   FEATURES SECTION
   =================================== */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--color-white);
  font-size: 2rem;
}

/* ===================================
   TEAM SECTION
   =================================== */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 5px solid var(--color-primary-light);
}

.team-name {
  font-size: 1.29rem;
  font-weight: 600;
  margin-bottom: 0.59rem;
}

.team-role {
  color: var(--color-gray-600);
  font-style: italic;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonial-card {
  background: var(--color-light);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.58rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
}

/* ===================================
   GALLERY
   =================================== */
.gallery-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-base);
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form {
  background: var(--color-light);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--color-gray-200);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(111, 119, 255, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(81, 104, 238, 0.40);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--color-primary-light);
  margin-bottom: 1.73rem;
}

.footer a {
  color: var(--color-gray-200);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer a:hover {
  color: var(--color-primary-light);
}

.footer-copyright {
  border-top: 1px solid var(--color-gray-600);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: var(--color-gray-200);
}

/* ===================================
   BREADCRUMBS
   =================================== */
.breadcrumb-nav {
  padding: 1rem 0;
  background: var(--color-light);
}

.breadcrumb-nav img {
  max-height: 30px;
  width: auto;
}

/* ===================================
   SPACE PAGE
   =================================== */
#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-secondary-light));
  border-radius: 20px;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#space::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/space-bg.webp') center/cover;
  opacity: 0.3;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-tertiary { color: var(--color-tertiary); }
.bg-primary { background-color: var(--color-primary); }
.bg-light-custom { background-color: var(--color-light); }

.mb-section { margin-bottom: 5rem; }
.mt-section { margin-top: 5rem; }

.rounded-custom { border-radius: 16px; }
.shadow-custom { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); } 


/* 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;
    }
}
