/* --- PROBITY STONE: MASTER THEME --- */

:root {
    --dark-bg: #1a1d21;
    --card-grey: #2c3136;
    --electric-blue: #00b4ff;
    --text-light: #ffffff;
    --text-dim: #a0a0a0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* --- THE MASTER BODY COMBINED WITH YOUR IMAGE FIX --- */
body {
    color: var(--text-light);
    line-height: 1.6;
    
    /* Fallback color if image fails */
    background-color: var(--dark-bg) !important; 
    
    /* Your Custom Background Image Settings */
    background-image: url('image-1.jpg') !important;
    background-size: cover !important;
    background-position: center 25% !important;
    background-attachment: fixed !important;
    background-repeat: no-repeat !important;
}

/* --- Header Navigation --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    /* Adds a slight dark tint behind the navbar so it's readable over the image */
    background: rgba(26, 29, 33, 0.95); 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.logo span { color: var(--electric-blue); }

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

nav a:hover { color: var(--electric-blue); }

/* --- Hero Section --- */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 10%;
    position: relative;
    background-color: transparent; /* Ensures the body background image shows through */
}

/* The signature Blue Ribbon */
.hero::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 600px;
    height: 30px;
    background: var(--electric-blue);
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0% 100%);
}

.hero h1 {
    font-size: 3.5rem;
    max-width: 600px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 30px;
}

/* --- CTA Button mimicking the chevron --- */
.btn-chevron {
    background: var(--electric-blue);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    transition: transform 0.3s;
    display: inline-block;
}

.btn-chevron:hover {
    transform: translateX(10px);
}

/* --- Content Section --- */
.services {
    padding: 100px 10%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--card-grey);
    padding: 40px;
    border-left: 5px solid var(--electric-blue);
    transition: 0.3s;
}

.card:hover {
    background: #363c42;
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--electric-blue);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* --- Responsive Design (Mobile & Tablet) --- */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px 5%;
        text-align: center;
    }

    .logo { margin-bottom: 15px; }
    nav a { margin: 0 15px; }

    .hero {
        padding: 0 5%;
        text-align: center;
        align-items: center;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero p { margin-bottom: 40px; }

    .hero::before {
        width: 100%;
        max-width: 300px;
        left: 50%;
        transform: translateX(-50%);
    }

    .services { padding: 50px 5%; }
}
