/* CLEARCUT IT SOLUTIONS - MASTER STYLES */

:root {
    /* Brand Colors */
    --brand-blue: #007BFF; /* Electric Tech Blue */
    --brand-blue-hover: #0056b3;
    --brand-dark: #2D3748; /* Slate Grey */
    --brand-grey: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--brand-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* UNIVERSAL HEADER & NAVIGATION */
header {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--brand-dark);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--brand-blue);
}

/* BUTTONS */
.btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s, transform 0.2s, color 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white) !important; /* Forces white text on primary btns */
    border: 2px solid var(--brand-blue);
}

.btn-primary:hover {
    background-color: var(--brand-blue-hover);
    border-color: var(--brand-blue-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-dark);
    border: 2px solid var(--brand-dark);
}

.btn-secondary:hover {
    background-color: var(--brand-dark);
    color: var(--white);
    transform: translateY(-2px);
}

/* Standard Page Header (For About, Services, Contact) */
.page-header {
    background: linear-gradient(135deg, var(--white) 0%, #E2E8F0 100%);
    padding: 80px 5%;
    text-align: center;
    border-bottom: 1px solid #E2E8F0;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-dark);
    line-height: 1.2;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--brand-grey);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Layout Containers */
.container {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* UNIVERSAL FOOTER */
footer {
    background: var(--brand-dark);
    color: var(--white);
    text-align: center;
    padding: 40px 5%;
    margin-top: auto;
    border-top: 4px solid var(--brand-blue);
}

footer p {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* RESPONSIVE DESIGN (Mobile) */
@media (max-width: 768px) {
    header { padding: 15px 5%; }
    .nav-links { display: none; /* Hide on mobile - can add hamburger later */ }
    .page-header h1 { font-size: 2.2rem; }
    .page-header p { font-size: 1.1rem; }
    .container { padding: 50px 5%; }
}
/* --- TOP CONTACT BAR --- */
.top-bar {
    background-color: var(--brand-dark);
    color: var(--white);
    padding: 10px 5%;
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    font-size: 0.95rem;
    font-weight: 600;
}
.top-bar a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}
.top-bar a:hover {
    color: var(--brand-blue);
}
/* RESPONSIVE DESIGN (Mobile) */
@media (max-width: 768px) {
    /* Stack the top bar */
    .top-bar { 
        justify-content: center; 
        flex-direction: column; 
        text-align: center; 
        gap: 8px; 
    }
    
    /* Stack the header and show the menu */
    header { 
        flex-direction: column; 
        padding: 20px 5%; 
        gap: 20px; 
    }
    .nav-links { 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 15px; 
        width: 100%;
    }
    .nav-links a {
        font-size: 1rem;
    }
    .nav-links .btn {
        width: 100%; 
        margin-top: 10px;
        text-align: center;
    }
    
    /* Resize text and spacing for mobile */
    .page-header h1 { font-size: 2.2rem; }
    .page-header p { font-size: 1.1rem; }
    .container { padding: 50px 5%; }
}