/*
    Unified Stylesheet for PC City
    Updated by Gemini: 09/15/2025
    Purpose: Modern, responsive design.
*/

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #A61C1C; /* Dark Red */
    --background-color: #f4f4f4; /* Light Gray */
    --text-color: #333;
    --card-bg-color: #ffffff;
    --footer-bg-color: #2c2c2c;
    --footer-text-color: #f1f1f1;
    --shadow: 0 4px 8px rgba(0,0,0,0.1);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

main {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--card-bg-color);
    padding: 10px 5%;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo img {
    max-height: 80px;
}

.header-right {
    text-align: right;
}

.quick-contact {
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.bbb-seal {
    max-width: 150px;
}

nav {
    background-color: var(--primary-color);
    margin-top: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    color: white;
    padding: 15px 25px;
    font-size: 1.1em;
}

nav ul li a:hover {
    background-color: #8c1616;
    text-decoration: none;
}

/* --- Card System --- */
.card {
    background-color: var(--card-bg-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.page-title-card, .welcome-card {
    text-align: center;
}

.notice-card {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    text-align: center;
}

.notice-card h2 {
    color: #856404;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
}

.cta-button:hover {
    background-color: #8c1616;
    text-decoration: none;
}

/* --- Grids (Services, Builds, Deals) --- */
.services-grid, .builds-grid, .deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-item, .build-card, .deal-card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.build-card ul, .deal-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.build-card ul li, .deal-card ul li {
    padding: 5px 0;
}

.price {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-top: 15px;
}

.deal-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color);
    padding: 30px 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h3 {
    color: #fff;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-right {
        text-align: center;
        margin-top: 15px;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}