/* ========================================
   SPACEWIRE TECH - Custom Styles
   ======================================== */

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f8f9fa;
    --dark-gray: #1a1a1a;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* ========================================
   NAVBAR STYLES
   ======================================== */

.navbar {
    background-color: var(--primary-color) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--secondary-color) !important;
}

.nav-link {
    color: var(--secondary-color) !important;
    margin-left: 1rem;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #e0e0e0 !important;
    font-weight: 500;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--secondary-color);
    padding: 120px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ========================================
   BUTTON STYLES
   ======================================== */

.btn-primary-custom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: #e0e0e0;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ========================================
   APPS SHOWCASE SECTION
   ======================================== */

.apps-section {
    background-color: var(--accent-color);
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.app-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.app-image {
    background: linear-gradient(135deg, #000000, #333333);
    color: var(--secondary-color);
    font-size: 3rem;
    padding: 2rem;
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.card-text {
    color: #666;
    line-height: 1.6;
}

.app-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.service-card {
    border: none;
    border-top: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.about-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-icon {
    font-size: 4rem;
    text-align: center;
    margin: 2rem 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: var(--secondary-color);
    padding: 60px 0;
    text-align: center;
}

.contact-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h5 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item p {
    opacity: 0.9;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background-color: #1a1a1a;
    color: var(--secondary-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }

    .app-image {
        font-size: 2.5rem;
        min-height: 120px;
    }

    .about-icon {
        font-size: 3rem;
    }
}