/* Main Stylesheet - Computer Sales & Service */

/* 1. Variables & Reset */
:root {
    --primary: #0056b3;
    --primary-dark: #004494;
    --secondary: #002a5c;
    --accent: #17a2b8;
    --success: #28a745;
    --warning: #fd7e14;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray: #6c757d;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --radius: 8px;
    --container-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* 2. Layout & Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 60px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* 3. Header & Navigation */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.nav-menu { display: flex; gap: 30px; }
.nav-link { font-weight: 500; color: var(--dark); }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* 4. Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

/* 5. Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    text-align: center;
}

.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.service-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--secondary); }

/* 6. Footer */
.main-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { margin-bottom: 20px; color: var(--accent); }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
}
