/* =================
   AcousticPro Main Styles
   ================= */

/* CSS Variables - Pastel High-Contrast Colors */
:root {
    --primary-color: #736ddf;
    --primary-light: #88a5ee;
    --primary-dark: #5b44ea;
    --secondary-color: #f1f5f9;
    --secondary-light: #f8fafc;
    --accent-color: #17dfe8;
    --accent-light: #57fdff;
    --accent-dark: #0097b4;
    --success-color: #08af7d;
    --success-light: #5cddb1;
    --warning-color: #f88207;
    --warning-light: #fee439;
    --text-dark: #18212e;
    --text-muted: #6a85a0;
    --border-color: #becbdc;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
}

.navbar-brand {
    font-size: 10px !important;
    font-size: 1.27rem;
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--primary-light) 100%);
    position: relative;
}

.hero-shape {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    border-radius: 50% 0 50% 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Cards */
.card {
    border: 4px solid var(--border-color);
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 13px 25px var(--shadow-color);
}

.card-img-top {
    border-radius: 0.75rem 0.75rem 0 0;
}

/* Feature Icons */
.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Process Numbers */
.process-number {
    font-size: 1.39rem;
    font-weight: 700;
}

/* Timeline Cards */
.timeline-year {
    font-weight: 700;
    color: var(--primary-color);
}

/* Gallery Images */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Contact Form */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(91, 87, 234, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(105, 122, 255, 0.25);
}

/* Star Ratings */
.fas.fa-star {
    color: var(--warning-color);
}

/* Team Images */
.card-img-top.rounded-circle {
    object-fit: cover;
}

/* Breadcrumb */
.breadcrumb-img {
    opacity: 0.6;
}

/* Navigation */
.navbar-nav .nav-link {
    font-size: 10px !important;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: #191d2d;
}

footer h5 {
    color: white;
}

footer .text-muted {
    color: #b8bfce;
}

footer a.text-muted:hover {
    color: var(--primary-light);
}

/* Sections */
section {
    scroll-margin-top: 100px;
}

/* Background Alternation */
.bg-light {
    background-color: var(--secondary-color);
}

/* Text Colors */
.text-primary {
    color: var(--primary-color);
}

.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-info {
    color: var(--accent-color);
}

.text-danger {
    color: #e24c3d;
}

/* Shadows */
.shadow {
    box-shadow: 0 5px 6px -1px var(--shadow-color), 0 2px 4px -1px var(--shadow-color);
}

.shadow-sm {
    box-shadow: 0 1px 2px 0 var(--shadow-color);
}

/* Spacing Adjustments */
.py-5 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animation Classes for Sal.js */
.sal-animate {
    transition: all 0.5s ease;
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
} 


/* 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;
    }
}
