/* ========================================
   VoiceChef - Main CSS Stylesheet
   ======================================== */

/* Color Palette Variables */
:root {
    /* Primary Colors */
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    
    /* Light Shades */
    --primary-light: #a5b4fc;
    --secondary-light: #c4b5fd;
    --accent-light: #67e8f9;
    --success-light: #6ee7b7;
    --warning-light: #fcd34d;
    
    /* Dark Shades */
    --primary-dark: #4338ca;
    --secondary-dark: #7c3aed;
    --accent-dark: #0891b2;
    --success-dark: #059669;
    --warning-dark: #d97706;
    
    /* Neutral Colors */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

.display-4 {
    font-size: 2.25rem;
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
}

/* Navbar Brand Conservative Size */
.navbar-brand {
    font-size: 1.5rem;
}

/* Button Styles */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.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);
    color: white;
}

/* Card Styles */
.card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    border-radius: 12px 12px 0 0;
    height: 200px;
    object-fit: cover;
}

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

.hero-decorative {
    position: absolute;
    top: 50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hero-decorative::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Feature Icons */
.feature-icon, .core-icon, .timeline-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
    border-radius: 20px;
    color: var(--primary-dark);
}

/* Process Steps */
.process-step {
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-step .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

/* Team Images */
.team img {
    border: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.team img:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Pricing Cards */
.card.border-primary {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
}

.card-header.bg-primary {
    background-color: var(--primary-color);
}

/* Gallery Images */
#gallery img {
    transition: all 0.3s ease;
    border-radius: 8px;
}

#gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--text-primary);
}

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

footer .text-muted {
    color: var(--text-muted);
}

footer a.text-muted:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

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

.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: none;
    padding: 0;
}

.breadcrumb-item img {
    filter: opacity(0.7);
    transition: all 0.3s ease;
}

.breadcrumb-item img:hover {
    filter: opacity(1);
}

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Conservative Typography Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 1.75rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* Space Section */
#space {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
}

/* Performance Optimizations */
.img-fluid {
    height: auto;
    max-width: 100%;
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* High Contrast Colors for Footer - Maximum Readability */
footer {
    background-color: #000000;
    color: #ffffff;
    border-top: 2px solid #333333;
}

footer .text-muted {
    color: #f0f0f0 !important;
}

footer h5, footer h6 {
    color: #ffffff;
    font-weight: 700;
}

footer a {
    color: #e0e0e0;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

footer a.text-muted {
    color: #e0e0e0 !important;
}

footer a.text-muted:hover {
    color: #ffffff !important;
}

/* Conservative Animation Classes for Sal.js */
[data-sal] {
    transition-duration: 0.6s;
}

/* Ensure no animations on mobile for performance */
@media (max-width: 768px) {
    [data-sal] {
        transition: none;
        transform: none;
        opacity: 1;
    }
} 

.hero-section h1 {
    padding-top: 100px;
}


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.instagram-link {
    background: rgba(228, 64, 95, 0.9);
}

.instagram-link:hover {
    background: rgba(228, 64, 95, 1);
    box-shadow: 0 8px 30px rgba(228, 64, 95, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

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

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

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