/* Music Composition Business Template - Main CSS */

/* ========================================
   CSS Variables - Color Palette
========================================= */
:root {
  /* Primary Colors - Pastel High Contrast */
  --primary-color: #4984ef;        /* Soft Blue */
  --secondary-color: #f25755;      /* Warm Red */
  --accent-color: #42d8a7;         /* Mint Green */
  --highlight-color: #df8617;      /* Golden Yellow */
  --neutral-color: #8a9091;        /* Soft Gray */
  
  /* Light Shades */
  --primary-light: #a0d9ff;
  --secondary-light: #e17b77;
  --accent-light: #ade3d0;
  --highlight-light: #ffcb70;
  --neutral-light: #b0c6cd;
  
  /* Dark Shades */
  --primary-dark: #426399;
  --secondary-dark: #cd3b28;
  --accent-dark: #2bafb5;
  --highlight-dark: #ef8915;
  --neutral-dark: #334251;
  
  /* Typography */
  --font-family-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-family-heading: 'Georgia', serif;
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --font-size-h1: 2.2rem;
  --font-size-h2: 1.8rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-navbar-brand: 1.4rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Shadows */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Base Styles
========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-dark);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  min-height: 100vh;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   Typography
========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--neutral-dark);
}

/* ========================================
   Header & Navigation
========================================= */
.navbar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  box-shadow: var(--shadow-medium);
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  font-size: var(--font-size-navbar-brand) !important;
  font-weight: 700;
  color: white !important;
  font-family: var(--font-family-heading);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin: 0 var(--spacing-xs);
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

/* Bootstrap 5 Navbar Toggler Fix */
.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   Hero Section
========================================= */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--highlight-color) 100%);
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-title {
  font-size: var(--font-size-h1);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: var(--shadow-heavy);
}

/* ========================================
   Section Styling
========================================= */
.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--highlight-color));
  border-radius: 2px;
}

/* ========================================
   Cards & Components
========================================= */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-md);
}

.card-title {
  color: var(--primary-dark);
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--neutral-color);
}

/* ========================================
   Services Section
========================================= */
.services-card {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: all 0.3s ease;
  height: 100%;
}

.services-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.services-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
}

.services-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin: var(--spacing-md) 0;
}

/* ========================================
   Team Section
========================================= */
.team-member {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-medium);
}

/* ========================================
   Testimonials/Reviews
========================================= */
.review-card {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-light);
  text-align: center;
  height: 100%;
}

.review-text {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--neutral-color);
}

.review-author {
  font-weight: 600;
  color: var(--primary-dark);
}

/* ========================================
   FAQ Section - Interactive Cards without JS
========================================= */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-card {
  background: white;
  border-radius: 15px;
  margin-bottom: var(--spacing-md);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-light);
}

.faq-card details {
  width: 100%;
}

.faq-card summary {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  list-style: none;
  position: relative;
  border-radius: 13px 13px 0 0;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: '+';
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-card summary:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.faq-card summary:hover::after {
  background: var(--accent-light);
  color: var(--primary-dark);
  transform: rotate(90deg);
}

.faq-card[open] summary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 13px 13px 0 0;
}

.faq-card[open] summary::after {
  content: '×';
  transform: rotate(180deg);
  background: var(--accent-light);
  color: var(--primary-dark);
}

.faq-answer {
  padding: var(--spacing-md);
  color: var(--neutral-color);
  line-height: 1.6;
  background: rgba(248, 249, 250, 0.8);
  border-top: 1px solid var(--neutral-light);
  animation: fadeInDown 0.3s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-question-text {
  font-size: 1.1rem;
  margin: 0;
  padding-right: var(--spacing-md);
}

/* ========================================
   Gallery Section
========================================= */
.gallery-item {
  margin-bottom: var(--spacing-md);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ========================================
   Contact Form
========================================= */
.contact-form {
  background: white;
  border-radius: 20px;
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-medium);
}

.form-control {
  border: 2px solid var(--neutral-light);
  border-radius: 10px;
  padding: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(62, 121, 206, 0.25);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: 25px;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 25px;
  padding: var(--spacing-xs) var(--spacing-md);
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* ========================================
   Footer
========================================= */
.footer {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--neutral-dark) 100%);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer h5 {
  color: var(--accent-light);
  margin-bottom: var(--spacing-md);
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-light);
}

/* ========================================
   Breadcrumbs
========================================= */
.breadcrumb {
  background: transparent;
  padding: var(--spacing-md) 0;
}

.breadcrumb img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

/* ========================================
   Process Steps
========================================= */
.badge {
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}

/* ========================================
   Utility Classes
========================================= */
.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--highlight-color));
}

/* ========================================
   Animation Classes
========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   Image Specifications
========================================= */
.hero-bg {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.service-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.team-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-study-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* ========================================
   Space Page Specific
========================================= */
#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-dark);
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
