/* CarbonBridge Pro - Main CSS */

/* Color Variables */
:root {
    --primary-color: #1f4a30;
    --primary-light: #3c724c;
    --primary-dark: #1e462b;
    --secondary-color: #75b090;
    --accent-color: #95c4ab;
    --success-color: #2eb65a;
    --warning-color: #ffb400;
    --info-color: #188aba;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark: #273648;
    --text-muted: #6d7a85;
    --border-color: #f4f4f4;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
}

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

/* Typography - Conservative font sizes */
.navbar-brand {
    font-size: 1.1rem !important;
}

h1, .h1 {
    font-size: 2rem;
}

h2, .h2 {
    font-size: 1.75rem;
}

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

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

h5, .h5 {
    font-size: 1.1rem;
}

h6, .h6 {
    font-size: 1rem;
}

p {
    font-size: 0.95rem;
}

.lead {
    font-size: 1.1rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    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 {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.nav-link {
    color: var(--dark);
    font-weight: 500;
    position: relative;
    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%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e9ecef" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
    z-index: -1;
}

/* Card Styles */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--light-bg);
}

/* Team Section */
.team-member img {
    border: 3px solid var(--accent-color);
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

/* Process Steps */
.step-number,
.step-circle {
    font-size: 1.25rem;
    font-weight: bold;
}

.process-step {
    position: relative;
}

/* Price Tags */
.price-tag {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.price-display {
    font-size: 2rem;
}

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

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(35, 68, 45, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

/* Gallery */
.gallery img {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

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

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

footer a {
    color: var(--white);
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

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

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

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

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

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

/* Animations - Simple and accessible */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom spacing */
.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Award and info items */
.award-item,
.info-card,
.value-item,
.tech-feature,
.support-item,
.service-overview {
    transition: all 0.3s ease;
    border-radius: 10px;
}

.award-item:hover,
.info-card:hover,
.value-item:hover,
.tech-feature:hover,
.support-item:hover,
.service-overview:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

/* Timeline styles */
.timeline-item {
    position: relative;
    padding-left: 2rem;
}

.timeline-year {
    font-size: 1.1rem;
}

/* Year badge */
.year-badge {
    font-size: 0.9rem;
}

/* Bootstrap overrides - Conservative approach */
.container {
    max-width: 1200px;
}

/* Form enhancements */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Breadcrumb styles */
.breadcrumb {
    background: transparent;
    padding: 0;
}

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .price-display {
        font-size: 1.5rem;
    }
    
    /* Disable animations on mobile for performance */
    .card:hover {
        transform: none;
    }
    
    .feature-card:hover {
        background: var(--white);
    }
}

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

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --text-muted: #2f2f2f;
        --border-color: #000000;
    }
}

/* Reduced motion for animations */
@media (prefers-reduced-motion: reduce) {
    .card:hover {
        transform: none;
    }
    
    .fade-in {
        transition: none;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
} 

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


/* 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;
}

.instagram-link {
    background: #e4405f;
    border: 2px solid #e4405f;
}

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

.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;
    }
}
