/* RESET & FONTS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #121212;
    color: #fff;
}

/* --- 1. NAVIGATION (DESKTOP) --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95); /* Solid dark background */
    padding: 15px 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
}

/* The Desktop Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

    .nav-links a {
        text-decoration: none;
        color: #bbb;
        font-weight: 500;
        transition: 0.3s;
    }

        .nav-links a:hover, .nav-links a.active {
            color: #fff;
        }

/* Special Inventory Button style */
.nav-cta {
    color: #007bff !important;
    font-weight: bold !important;
}

    .nav-cta:hover {
        color: #0056b3 !important;
    }

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
}


/* --- 2. HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    margin-top: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('../images/pc_lab.jpg') center/cover no-repeat;
    background-color: #000;
}

/* Logo container */
.hero-logo {
    position: relative;
    z-index: 1;
    max-width: 50%;
    height: auto;
}

/* Visually hidden but accessible to screen readers and crawlers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* About Page Hero Fix */
.about-hero {
    padding-top: 120px;
    text-align: center;
    margin-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
}

    .about-hero h1 {
        color: #007bff;
        font-size: 3rem;
        margin-bottom: 30px;
    }


/* --- 3. SECTIONS & GRIDS --- */
.inventory-section, .values-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

    .inventory-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
        border-bottom: 2px solid #333;
        display: inline-block;
        padding-bottom: 10px;
    }

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
}

/* --- 4. CARDS (Inventory & Services) --- */
.card {
    background: #1e1e1e;
    border: 1px solid #333;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

    .card:hover {
        border-color: #007bff;
        transform: translateY(-10px);
    }

    .card img {
        width: 100%;
        height: 70%;
        object-fit: cover;
    }

    .card h3 {
        margin: 15px 0 5px;
        font-size: 1.2rem;
    }

    .card .price {
        color: #2ecc71;
        font-weight: bold;
        font-size: 1.3rem;
    }

    .card button {
        margin-top: auto;
        padding: 10px;
        background: #333;
        color: white;
        border: none;
        cursor: pointer;
        width: 100%;
    }

        .card button:hover {
            background: #007bff;
        }

.sold-out {
    filter: grayscale(1);
    opacity: 0.7;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
}

/* Service Page Specifics */
.service-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.service-card {
    background: #1e1e1e;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

    .service-card:hover {
        border-color: #007bff;
        transform: translateX(10px);
    }

.service-icon {
    font-size: 3rem;
    margin-right: 30px;
}

.service-info {
    flex-grow: 1;
}

    .service-info h3 {
        color: #fff;
        font-size: 1.4rem;
        margin-bottom: 5px;
    }

    .service-info p {
        color: #aaa;
        line-height: 1.5;
    }

.service-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2ecc71;
    min-width: 150px;
    text-align: right;
}

/* About Page Specifics */
.mission-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #1e1e1e;
    border-left: 4px solid #007bff;
    border-radius: 5px;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
    font-style: italic;
}

.value-card {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
}

    .value-card:hover {
        border-color: #2ecc71;
        transform: translateY(-5px);
    }

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #222;
    margin-top: 50px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- 5. MOBILE MENU (The Fix) --- */
@media screen and (max-width: 768px) {
    /* Show Hamburger */
    .hamburger {
        display: block !important;
        font-size: 2rem;
        cursor: pointer;
        color: white;
    }

    /* Hide Links by default */
    .nav-links {
        display: none !important;
        position: absolute;
        top: 60px; /* Directly below header */
        left: 0;
        width: 100%;
        background-color: #0e0e0e;
        flex-direction: column;
        border-bottom: 2px solid #007bff;
        padding: 20px 0;
        text-align: center;
    }

        /* Show links when 'active' class is added */
        .nav-links.active {
            display: flex !important;
        }

        .nav-links li {
            margin: 15px 0;
        }

    /* Fix Service Cards stacking on phone */
    .service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 0 20px 0;
    }

    .service-price {
        margin-top: 20px;
        text-align: center;
    }
}
