/* Smart Indoor Air Quality Monitors - Main CSS */

/* Color Palette Variables */
:root {
    --primary-color: #3b82f6;
    --primary-light: #93c5fd;
    --primary-dark: #1e40af;
    
    --secondary-color: #64748b;
    --secondary-light: #cbd5e1;
    --secondary-dark: #334155;
    
    --accent-color: #10b981;
    --accent-light: #86efac;
    --accent-dark: #059669;
    
    --warning-color: #f59e0b;
    --warning-light: #fde68a;
    --warning-dark: #d97706;
    
    --neutral-color: #6b7280;
    --neutral-light: #f3f4f6;
    --neutral-dark: #374151;
    
    --white: #ffffff;
    --black: #000000;
    --light-gray: #f8fafc;
    --dark-gray: #1f2937;
}

/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    color: var(--neutral-dark);
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--neutral-color);
}

/* Header Styles */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--neutral-dark);
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding-top: 100px;
}

#hero .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

#hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Section Styles */
section {
    position: relative;
}

.bg-light {
    background-color: var(--light-gray);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Services Section */
#services .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

#services .text-primary {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Features Section */
#features .fa-2x {
    color: var(--primary-color);
}

/* Team Section */
#team img {
    object-fit: cover;
    border: 3px solid var(--primary-light);
    transition: border-color 0.3s ease;
}

#team img:hover {
    border-color: var(--primary-color);
}

/* Reviews Section */
#reviews .card {
    background-color: var(--white);
    border-left: 4px solid var(--primary-color);
}

/* FAQ Section */
#faq .card {
    border: 1px solid var(--neutral-light);
    margin-bottom: 1rem;
}

#faq .card-title {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
}

/* Gallery Section */
#gallery img {
    border-radius: 8px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Contact Form */
.form-control {
    border: 2px solid var(--neutral-light);
    border-radius: 8px;
    padding: 12px 16px;
    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(59, 130, 246, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Footer */
#footer {
    background-color: var(--dark-gray);
    color: var(--neutral-light);
}

#footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light);
}

/* Additional Pages */
.breadcrumb-nav {
    padding: 1rem 0;
    background-color: var(--light-gray);
}

.breadcrumb-icon {
    opacity: 0.7;
}

/* Price Plans */
#priceplan .border-primary {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color);
}

.border-primary {
    border-color: var(--primary-color);
}

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
        scroll-behavior: auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Custom Shadow Utilities */
.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Icon Styling */
.fa-3x {
    font-size: 3rem;
}

.fa-2x {
    font-size: 2rem;
}

/* Rounded Elements */
.rounded-circle {
    border-radius: 50%;
}

.rounded {
    border-radius: 8px;
}

/* Spacing Utilities Enhancement */
.mb-5 {
    margin-bottom: 3rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Custom Grid Enhancements (Bootstrap Compliant) */
.container {
    max-width: 1200px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Custom Animations for AOS */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
} 


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}
