/* ScoreVault - Musical Score Digital Archive Service */
/* Main CSS File with 5-Color Pastel Palette */

:root {
    /* 5 Primary Colors + Light/Dark Shades */
    --primary-color: #7C4DFF;        /* Soft Purple */
    --primary-light: #B39DDB;
    --primary-dark: #512DA8;
    
    --secondary-color: #4FC3F7;      /* Light Blue */
    --secondary-light: #81D4FA;
    --secondary-dark: #0288D1;
    
    --accent-color: #FFB74D;         /* Warm Orange */
    --accent-light: #FFCC02;
    --accent-dark: #F57C00;
    
    --success-color: #81C784;        /* Soft Green */
    --success-light: #A5D6A7;
    --success-dark: #388E3C;
    
    --neutral-color: #B0BEC5;        /* Cool Gray */
    --neutral-light: #CFD8DC;
    --neutral-dark: #607D8B;
    
    /* Additional utility colors */
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #343A40;
    --black: #212529;
    
    /* Typography */
    --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 3rem;
    
    /* Border radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Respect 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;
        scroll-behavior: auto !important;
    }
}

/* Base Styles */
body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

h1, .h1 {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

h2, .h2 {
    font-size: 1.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-md);
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-medium);
    color: var(--neutral-dark);
    margin-bottom: var(--spacing-sm);
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: var(--font-weight-medium);
    color: var(--neutral-dark);
    margin-bottom: var(--spacing-sm);
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

h6, .h6 {
    font-size: 1rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-gray);
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.125rem;
    color: var(--neutral-dark);
    line-height: 1.7;
}

/* Header Styles */
.navbar {
    padding: var(--spacing-md) 0;
    transition: background-color 0.3s ease;
}

.navbar-nav .nav-link {
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(124, 77, 255, 0.1);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: var(--white);
    font-weight: var(--font-weight-bold);
    padding-top: 225px;
}

.hero-section h2 {
    color: rgba(255, 255, 255, 0.9);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.85);
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-medium);
    padding: var(--spacing-sm) var(--spacing-lg);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-success:hover {
    background-color: var(--success-dark);
    border-color: var(--success-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-header {
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border-bottom: none;
    padding: var(--spacing-lg);
}

.card-body {
    padding: var(--spacing-lg);
}

/* Icon Styles */
.fas, .fab {
    color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-success {
    color: var(--success-color) !important;
}

.text-warning {
    color: var(--accent-color) !important;
}

.text-info {
    color: var(--secondary-color) !important;
}

.text-danger {
    color: var(--accent-dark) !important;
}

.text-muted {
    color: var(--neutral-dark) !important;
}

/* Background Colors */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-success {
    background-color: var(--success-color) !important;
}

.bg-warning {
    background-color: var(--accent-color) !important;
}

.bg-info {
    background-color: var(--secondary-color) !important;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Form Styles */
.form-control {
    border-radius: var(--border-radius-md);
    border: 1px solid var(--neutral-color);
    padding: var(--spacing-sm) var(--spacing-md);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 77, 255, 0.25);
}

.form-label {
    color: var(--dark-gray);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-xs);
}

/* Footer Styles - NO GRADIENTS */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
}

footer h5, footer h6 {
    color: var(--white);
}

footer a {
    color: var(--neutral-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--white);
}

/* Section Spacing */
section {
    padding: var(--spacing-xl) 0;
}

/* Team Photos */
.rounded-circle {
    border: 3px solid var(--primary-light);
    transition: border-color 0.3s ease;
}

.rounded-circle:hover {
    border-color: var(--primary-color);
}

/* Gallery Styles */
#gallery img {
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Breadcrumb Styles */
.breadcrumb {
    background-color: transparent;
    padding: var(--spacing-sm) 0;
}

/* Contact Info Styles */
.contact-info h6 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

/* Utility Classes */
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Services Item Specific Styles */
[id^="services-item-"] .card-title {
    color: var(--primary-color);
}

[id^="services-item-"] .h5 {
    color: var(--primary-color);
}

/* Team Member Styles */
[id^="team-member-"] {
    color: var(--dark-gray);
}

/* FAQ Card Styles */
#faq .card {
    background-color: var(--white);
    border-left: 4px solid var(--primary-color);
}

/* Reviews Card Styles */
#reviews .card {
    background-color: var(--light-gray);
}

/* Process Item Circle Styles */
.bg-primary.rounded-circle {
    background-color: var(--primary-color) !important;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Custom Grid for 5 columns (team section) */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

@media (max-width: 575.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
}

/* Performance optimizations */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* Print styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
} 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
