/*
Theme Name: Shoreline Consulting
Theme URI: https://shorelineconsultingco.com
Author: Shoreline Consulting
Description: A one-page theme for Shoreline Consulting — data, electronics, and prototyping services.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:    #1a2b3c;
    --teal:    #2a9d8f;
    --teal-dk: #21867a;
    --sand:    #f4f1eb;
    --white:   #ffffff;
    --gray:    #555;
    --gray-lt: #e8e8e8;
    --radius:  8px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--white);
}

img { max-width: 100%; height: auto; }
a   { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dk); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Header / Nav ─────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: var(--navy);
    padding: 0 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.logo {
    font-size: 1.35rem; font-weight: 700; color: var(--white);
    letter-spacing: .3px;
}
.logo span { color: var(--teal); }

.nav-links { list-style: none; display: flex; gap: 28px; }
.nav-links a {
    color: rgba(255,255,255,.85); font-size: .92rem; font-weight: 500;
    transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--white);
    margin: 5px 0; transition: .3s;
}

/* ── Hero ─────────────────────────────────────────── */
.hero {
    padding: 160px 24px 100px;
    background: linear-gradient(135deg, var(--navy) 0%, #263d50 100%);
    color: var(--white);
    text-align: center;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero p {
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,.8);
    line-height: 1.7;
}
.btn {
    display: inline-block; padding: 14px 36px;
    background: var(--teal); color: var(--white);
    font-weight: 600; font-size: 1rem;
    border: none; border-radius: var(--radius);
    cursor: pointer; transition: background .2s, transform .15s;
}
.btn:hover { background: var(--teal-dk); transform: translateY(-1px); color: var(--white); }

/* ── Section common ───────────────────────────────── */
section { padding: 90px 24px; }

.section-title {
    text-align: center; margin-bottom: 56px;
}
.section-title h2 {
    font-size: 2rem; font-weight: 700; color: var(--navy);
    margin-bottom: 12px;
}
.section-title p {
    color: var(--gray); max-width: 600px; margin: 0 auto;
}

.alt-bg { background: var(--sand); }

/* ── Service cards ────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    transition: transform .2s, box-shadow .2s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.1);
}

.service-card .icon {
    width: 56px; height: 56px;
    background: var(--teal);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem; color: var(--white);
}

.service-card h3 {
    font-size: 1.25rem; font-weight: 700;
    color: var(--navy); margin-bottom: 16px;
}

.service-card ul {
    list-style: none; padding: 0;
}
.service-card ul li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--gray);
    font-size: .95rem;
}
.service-card ul li::before {
    content: '';
    position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

/* ── Photo Band ───────────────────────────────────── */
.photo-band {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.photo-band img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
.photo-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,43,60,.65) 0%, rgba(42,157,143,.45) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-band-overlay p {
    color: var(--white);
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

@media (max-width: 768px) {
    .photo-band { height: 260px; }
}

/* ── About ────────────────────────────────────────── */
.about-content {
    max-width: 760px; margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ── Contact ──────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    text-align: center; padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
}
.contact-item .icon {
    width: 48px; height: 48px;
    background: var(--teal);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.2rem; color: var(--white);
}
.contact-item h4 { color: var(--navy); margin-bottom: 8px; }
.contact-item p  { color: var(--gray); font-size: .95rem; }

/* ── Footer ───────────────────────────────────────── */
.site-footer {
    background: var(--navy); color: rgba(255,255,255,.6);
    text-align: center; padding: 32px 24px;
    font-size: .88rem;
}

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

    .nav-links {
        display: none; flex-direction: column;
        position: absolute; top: 68px; left: 0; right: 0;
        background: var(--navy); padding: 16px 24px; gap: 16px;
    }
    .nav-links.open { display: flex; }

    .services-grid { grid-template-columns: 1fr; }

    .hero { padding: 140px 24px 80px; }
}
