/* SOLOMON DIRECT LIMITED — styles.css */

/* Colour palette: industrial steel + corporate blue */
:root {
    --primary: #1a3a5c;
    --accent: #3d84a1;
    --bg: #f4f6f8;
    --surface: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #4a4a4a;
    --border: #d0d7de;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container {
    width: min(90% + .5rem, 1140px);
    margin-inline: auto;
    padding-block: 2.5rem;
}

/* Navbar */
.navbar {
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 1rem;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
}

.nav-link.active::after,
.nav-link:hover::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
}

.nav-cta {
    margin-left: .5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--surface);
    text-align: center;
    padding-block: 4rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin: 0 0 1rem;
    font-weight: 700;
}

.hero-sublead {
    font-size: 1.1rem;
    max-width: 32rem;
    margin-inline: auto;
    margin-bottom: 2rem;
    opacity: .9;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: .7rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: .95rem;
    transition: background-color .2s ease, opacity .2s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--surface);
    border: 2px solid var(--accent);
}

.btn-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-outline {
    background-color: transparent;
    color: var(--surface);
    border: 2px solid var(--surface);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, .1);
}

/* Sections */
section {
    padding-block: 3.5rem 2.5rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary);
}

.section-sub {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

/* Value props */
.value-props {
    background-color: var(--surface);
}

.proplist {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 48rem;
    margin-inline: auto;
}

.prop-ico {
    margin-right: .6rem;
}

li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1rem;
}

/* Services */
.services {
    background-color: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    max-width: 60rem;
    margin-inline: auto;
}

.service-card {
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-inline: auto;
    margin-bottom: 1rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
    color: var(--primary);
}

.service-card p {
    font-size: .9rem;
    color: var(--text-light);
}

/* About strip */
.about-strip {
    background-color: var(--surface);
    text-align: center;
    max-width: 46rem;
    margin-inline: auto;
}

.about-strip p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Credentials */
.credentials {
    background-color: var(--primary);
    color: var(--surface);
    text-align: center;
    font-size: .9rem;
}

.credentials p {
    opacity: .9;
}

/* CTA band */
.cta-band {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--surface);
    text-align: center;
}

.cta-band h2 {
    color: var(--surface);
    margin-bottom: .75rem;
}

.cta-band p {
    opacity: .9;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background-color: #0f1a24;
    color: #cdd5de;
    font-size: .9rem;
}

.footer a {
    color: #cdd5de;
}

.footer a:hover {
    color: var(--surface);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid #2a3f55;
}

.footer__col h4 {
    color: var(--surface);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer__blurb {
    font-size: .85rem;
    opacity: .8;
}

.footer__small {
    margin-top: 1rem;
    font-size: .8rem;
    opacity: .6;
}

.footer ul li {
    margin-bottom: .5rem;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--surface);
        padding: 1.5rem;
        border: 1px solid var(--border);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        padding: .5rem 0;
    }

    .nav-cta {
        margin-left: 0;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero {
        padding-block: 3rem;
    }

    section {
        padding-block: 2.5rem 1.5rem;
    }
}
