/* Main CSS for Custom Music Composition Website */

/* Color Variables - 5 Primary Colors + Light/Dark Shades */
:root {
    --primary-1: #2a3644;        /* Deep Blue */
    --primary-2: #e43837;        /* Coral Red */
    --primary-3: #ff9602;        /* Amber Orange */
    --primary-4: #bc71cc;        /* Purple */
    --primary-5: #27bea3;        /* Turquoise */
    
    /* Light Shades */
    --primary-1-light: #334967;
    --primary-2-light: #ff805a;
    --primary-3-light: #ffb265;
    --primary-4-light: #c89de6;
    --primary-5-light: #5bc3eb;
    
    /* Dark Shades */
    --primary-1-dark: #2b3542;
    --primary-2-dark: #ad3f24;
    --primary-3-dark: #dca120;
    --primary-4-dark: #6e3098;
    --primary-5-dark: #1d886d;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #8c8e91;
    --dark-gray: #303b42;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-1), var(--primary-5));
    --gradient-secondary: linear-gradient(135deg, var(--primary-2), var(--primary-3));
    --gradient-accent: linear-gradient(135deg, var(--primary-4), var(--primary-2));
    --gradient-hero: linear-gradient(135deg, var(--primary-1), var(--primary-4), var(--primary-5));
    
    /* Font Sizes - Conservative */
    --font-size-small: 0.875rem;
    --font-size-normal: 1rem;
    --font-size-large: 1.125rem;
    --font-size-h6: 1rem;
    --font-size-h5: 1.125rem;
    --font-size-h4: 1.25rem;
    --font-size-h3: 1.375rem;
    --font-size-h2: 1.5rem;
    --font-size-h1: 1.75rem;
    --font-size-brand: 1.125rem;
    
    /* Spacing */
    --section-padding: 80px 0;
    --card-padding: 2rem;
    --border-radius: 16px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: var(--font-size-normal);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

/* Respect 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;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-1);
}

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); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }

p {
    margin-bottom: 1rem;
    color: var(--medium-gray);
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: var(--font-size-brand) !important;
    font-weight: 700;
    color: var(--primary-1) !important;
    text-decoration: none;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark-gray) !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-2) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../BAW_images/hero-pattern.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-size: 2.52rem;
    margin-bottom: 1rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-large);
}

/* Section Styles */
.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Cards */
.feature-card,
.service-card,
.pricing-card,
.review-card,
.blog-card,
.case-study-card,
.career-card,
.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: var(--card-padding);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.review-card:hover,
.blog-card:hover,
.case-study-card:hover,
.career-card:hover,
.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Feature Cards */
.feature-icon {
    font-size: 2.53rem;
    color: var(--primary-2);
    margin-bottom: 1rem;
}

.feature-icon-large {
    font-size: 3rem;
    color: var(--primary-3);
    margin-bottom: 1.59rem;
}

/* Service Cards */
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.66rem;
}

.service-content h4 {
    color: var(--primary-1);
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.59rem;
    font-weight: 700;
    color: var(--primary-2);
    text-align: center;
    margin-top: 1rem;
}

.service-content ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-content ul li {
    padding: 0.25rem 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-5);
    font-weight: bold;
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-2);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.89rem;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-price {
    font-size: 2.57rem;
    font-weight: 700;
    color: var(--primary-1);
    margin: 1rem 0;
}

.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.pricing-body ul li {
    padding: 0.5rem 0;
    color: var(--medium-gray);
    border-bottom: 1px solid var(--light-gray);
}

/* Team Section */
.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-5);
}

.team-member h5 {
    color: var(--primary-1);
    margin-bottom: 0.57rem;
}

.team-member p {
    color: var(--primary-3);
    font-weight: 500;
    margin-bottom: 0;
}

/* Reviews Section */
.review-stars {
    color: var(--primary-3);
    margin-bottom: 1rem;
    font-size: 1.24rem;
}

.review-card p {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.review-card h6 {
    color: var(--primary-1);
    font-weight: 600;
    margin-bottom: 0;
}

/* Process Section */
.process-step {
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.54rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 0 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-2);
    transform: translate(-50%, -50%);
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: 55%;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form .form-control {
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: var(--font-size-normal);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-5);
    box-shadow: 0 0 0 0.2rem rgba(9, 210, 139, 0.25);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.contact-info i {
    color: var(--primary-2);
    margin-right: 1rem;
    width: 20px;
}

/* Buttons */
.btn {
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Blog Section */
.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1.69rem;
}

.blog-link {
    color: var(--primary-2);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--primary-1);
}

/* FAQ Section */
.accordion-item {
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--primary-1);
}

.accordion-button:not(.collapsed) {
    background: var(--light-gray);
    color: var(--primary-2);
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    padding: 1rem 1.5rem;
    background: var(--white);
}

/* Gallery Section */
.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Footer */
.footer {
    background: var(--primary-1) !important;
    color: var(--white);
}

.footer h5, .footer h6 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.57rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-5);
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.69rem;
}

/* Breadcrumb */
.breadcrumb-section {
    padding: 1rem 0;
    background: var(--light-gray);
    text-align: center;
}

.breadcrumb-image {
    height: 24px;
    width: auto;
}

/* Space Page */
#space {
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
}

#space::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../BAW_images/space-pattern.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

#space .container {
    position: relative;
    z-index: 2;
}

/* Additional Page Styles */
.service-feature,
.composition-type,
.industry-card,
.process-card,
.tech-feature {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.service-feature:hover,
.composition-type:hover,
.industry-card:hover,
.process-card:hover,
.tech-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.info-icon {
    font-size: 2.55rem;
    color: var(--primary-4);
    margin-bottom: 1rem;
}

/* Case Studies */
.case-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.case-content h4 {
    color: var(--primary-1);
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Utility Classes */
.text-primary { color: var(--primary-1) !important; }
.text-secondary { color: var(--primary-2) !important; }
.text-accent { color: var(--primary-3) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-secondary { background: var(--gradient-secondary) !important; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* High Contrast Text */
.high-contrast {
    color: var(--primary-1);
    font-weight: 600;
}

/* Responsive adjustments will be in responsive.css */



/* 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;
    }
}
