/* Main CSS for SaaS Cost Optimization Audit Template */

/* Color Variables - Pastel High Contrast Colors */
:root {
    --primary-color: #3b61e2;
    --primary-light: #8fc9f5;
    --primary-dark: #1d50c0;
    
    --secondary-color: #19c695;
    --secondary-light: #74f7b3;
    --secondary-dark: #0d7249;
    
    --accent-color: #ffc51a;
    --accent-light: #feba44;
    --accent-dark: #f19308;
    
    --danger-color: #e63536;
    --danger-light: #fda6b4;
    --danger-dark: #c82825;
    
    --info-color: #00b8e0;
    --info-light: #51d4e8;
    --info-dark: #16b0c4;
    
    --light-bg: #F8FAFC;
    --white: #FFFFFF;
    --dark: #0f1621;
    --gray-100: #F3F4F6;
    --gray-200: #f2f6ff;
    --gray-300: #e2e7ed;
    --gray-400: #b5b6ba;
    --gray-500: #71767a;
    --gray-600: #3d434e;
    --gray-700: #353f53;
    --gray-800: #27314f;
    --gray-900: #0e131c;
    
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --box-shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* General Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
}

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

h1, .h1 {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
}

h2, .h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.3;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4, .h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5, .h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

p, .lead {
    font-size: 1rem;
    line-height: 1.6;
}

/* Header Styles */
.navbar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    padding-top: 80px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--box-shadow-lg);
}

/* Sections */
section {
    position: relative;
}

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

/* Cards and Features */
.feature-card,
.service-card,
.pricing-card,
.review-card,
.case-study-card,
.career-card,
.cost-feature,
.automation-card,
.support-card,
.custom-card,
.faq-card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.feature-card:hover,
.service-card:hover,
.pricing-card:hover,
.review-card:hover,
.case-study-card:hover,
.career-card:hover,
.cost-feature:hover,
.automation-card:hover,
.support-card:hover,
.custom-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--box-shadow-lg);
}

/* Feature Icons */
.feature-icon,
.service-icon,
.security-icon,
.support-icon,
.automation-icon,
.integration-icon,
.custom-icon,
.monitoring-icon,
.migration-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 12px;
    background-color: var(--light-bg);
}

/* Button Styles */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    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);
    transform: translateY(-2px);
}

.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);
    transform: translateY(-2px);
}

/* Services Section */
.service-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.price-tag {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

/* Pricing Cards */
.pricing-card.border-primary {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color), var(--box-shadow);
}

.pricing-card .card-header {
    border-radius: 12px 12px 0 0;
}

/* Team Section */
.team-member .member-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--box-shadow);
}

/* Reviews Section */
.stars i {
    font-size: 1rem;
    margin-right: 2px;
}

/* Process Section */
.step-number {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Timeline Section */
.timeline-year {
    font-size: 1rem;
    font-weight: 700;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.form-control {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 149, 229, 0.10);
}

.contact-info .contact-item {
    padding: 1.5rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

/* Blog Section */
.blog-card img {
    height: 200px;
    object-fit: cover;
}

/* Gallery Section */
#gallery img {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Footer */
footer {
    background-color: var(--gray-900);
    color: var(--gray-300);
}

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

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

/* Breadcrumb */
.breadcrumb-section {
    padding-top: 100px;
}

.breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.breadcrumb img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb img:hover {
    opacity: 1;
}

/* Space Page */
#space {
    padding-top: 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

/* Utility Classes */
.text-purple {
    color: #8d51ff;
}

.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

/* Custom Grid Fix for 5 Columns */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* Animations - Conservative ScrollReveal Only */
[data-sal] {
    transition-duration: 0.5s;
}

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-sal] {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Additional Styles for Better Visual Appeal */
.info-item,
.feature-item,
.process-step,
.timeline-item,
.security-item,
.enterprise-feature,
.integration-item,
.monitoring-feature,
.migration-feature {
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--white);
    transition: transform 0.3s ease;
}

.info-item:hover,
.feature-item:hover,
.process-step:hover,
.timeline-item:hover,
.security-item:hover,
.enterprise-feature:hover,
.integration-item:hover,
.monitoring-feature:hover,
.migration-feature:hover {
    transform: translateY(-2px);
}

/* Icon Colors */
.text-primary { color: var(--primary-color); }
.text-success { color: var(--secondary-color); }
.text-warning { color: var(--accent-color); }
.text-danger { color: var(--danger-color); }
.text-info { color: var(--info-color); }

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
    
    .hero-section {
        padding-top: 100px;
    }
    
    h1, .h1 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .col-lg-2-4 {
        width: 100%;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .team-member .member-photo img {
        width: 100px;
        height: 100px;
    }
} 

/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

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

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

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

/* Fix for hero section headings - adjust padding to ensure content is visible */
.hero-section h1 {
    padding-top: 30px;
}
