/* ======================================
   AIRBAGMODULE.REPAIR - COMPLETE CSS
   Modern, Responsive Design System
   ====================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 0.5em;
    color: #2c3e50;
}

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

p {
    margin-bottom: 1em;
    line-height: 1.7;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* ======================================
   HEADER & NAVIGATION
   ====================================== */

.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
}

/* Logo */
.logo a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
}

.logo-text {
    font-family: 'Arial', sans-serif;
}

/* Navigation */
.main-nav .nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

.btn-admin {
    background: #27ae60;
    color: white;
    font-size: 0.8rem;
}

.btn-admin:hover {
    background: #219a52;
    color: white;
    text-decoration: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu {
    display: none;
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 20px;
}

.mobile-nav-link {
    color: white;
    padding: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0.5rem 0;
}

.mobile-rms {
    background: #3498db;
}

.mobile-admin {
    background: #27ae60;
}

/* ======================================
   HERO SECTION
   ====================================== */

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    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 1000 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.1)" points="0,0 1000,0 1000,100 0,100"/></svg>');
    opacity: 0.1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
    margin-top: 3rem;
}

.hero-icon {
    font-size: 6rem;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ======================================
   SECTIONS
   ====================================== */

section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Section */
.features-section {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.feature-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.service-item h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-item p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    color: #2980b9;
}

/* RMS Section */
.rms-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.rms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.rms-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.rms-text p {
    opacity: 0.9;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.rms-features {
    margin: 2rem 0;
}

.rms-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.rms-feature-icon {
    font-size: 1.2rem;
}

.rms-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.rms-preview {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rms-screen {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.rms-screen-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.rms-dots {
    display: flex;
    gap: 0.3rem;
}

.rms-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.rms-status-bar {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.status-item {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending { background: rgba(255, 193, 7, 0.3); }
.status-progress { background: rgba(40, 167, 69, 0.3); }
.status-completed { background: rgba(23, 162, 184, 0.3); }

/* Contact Section */
.contact-section {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.1);
}

.contact-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.contact-link {
    color: #3498db;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-link:hover {
    color: #2980b9;
}

/* ======================================
   FOOTER
   ====================================== */

.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-title {
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-description {
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-stats {
    display: flex;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: #3498db;
}

.stat-item span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #3498db;
    text-decoration: none;
    padding-left: 0.5rem;
}

.footer-rms-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    color: #3498db;
    margin-top: 0.2rem;
}

.contact-details strong {
    display: block;
    margin-bottom: 0.25rem;
}

.contact-details span,
.contact-details a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-details a:hover {
    color: #3498db;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright p {
    margin: 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-version {
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-links-bottom {
    display: flex;
    gap: 1rem;
}

.footer-links-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links-bottom a:hover {
    color: #3498db;
}

.footer-trust {
    display: flex;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ======================================
   HELP WIDGET
   ====================================== */

.help-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.help-content {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 300px;
    transform: translateX(120%);
    transition: all 0.3s ease;
}

.help-widget.active .help-content {
    transform: translateX(0);
}

.help-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.help-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.9rem;
}

.help-text {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.help-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.help-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.help-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

.help-toggle {
    background: #27ae60;
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    margin-left: auto;
    margin-top: 1rem;
}

.help-toggle:hover {
    background: #219a52;
    transform: scale(1.05);
}

/* ======================================
   SCROLL TO TOP
   ====================================== */

.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: #3498db;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header */
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn-admin {
        display: none;
    }

    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .section-title { font-size: 2rem; }

    /* Hero */
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-icon {
        font-size: 4rem;
    }

    /* Grids */
    .features-grid,
    .services-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .rms-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-stats {
        justify-content: center;
    }

    .footer-links-bottom {
        justify-content: center;
    }

    .footer-trust {
        justify-content: center;
    }

    /* Help Widget */
    .help-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .help-content {
        width: 280px;
    }

    /* Scroll to Top */
    .scroll-to-top {
        bottom: 1rem;
        left: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    .help-content {
        width: 250px;
    }

    section {
        padding: 2rem 0;
    }
}

/* ======================================
   ANIMATIONS & INTERACTIONS
   ====================================== */

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth transitions for interactive elements */
.feature-card,
.service-item,
.contact-card {
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid rgba(52, 152, 219, 0.3);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .site-header,
    .help-widget,
    .scroll-to-top,
    .mobile-menu {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .hero-section,
    .rms-section {
        background: none;
        color: black;
    }
}
