:root {
    --bg: #101114;
    --surface: #17191f;
    --surface-soft: #1e2229;
    --text: #f2f1ec;
    --muted: #9fa3ab;
    --accent: #c28828;
    --accent-soft: #d7a35f;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

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

header#hero {
    min-height: 90vh;
    width: 100%;
    padding: 80px 110px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    background-color: var(--bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

header#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(16, 17, 20, 0.55);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 24px;
    max-width: 580px;
}

.hero-logo {
    width: clamp(150px, 12vw, 220px);
    max-width: 220px;
    height: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 18px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 22px;
    text-align: right;
}

header#hero h1 {
    margin: 0;
    font-size: clamp(3rem, 4vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
    max-width: 14ch;
}

header#hero p {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.2vw, 1.3rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-btn,
header#hero a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 42px;
    min-width: 280px;
    background: var(--accent);
    color: #101114;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    border-radius: 999px;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.18);
    border: 1px solid transparent;
    z-index: 2;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-btn:hover,
header#hero a:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 56px rgba(0, 0, 0, 0.24);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    margin: 0 0 28px;
    font-size: clamp(2rem, 3vw, 2.8rem);
    letter-spacing: -0.04em;
    text-align: center;
}

#services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 18px;
}

#services li {
    background: var(--surface);
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    font-weight: 700;
}

#family-owned p {
    margin: 0 auto;
    max-width: 840px;
    color: var(--text);
    letter-spacing: 0.01em;
    font-size: 1.05rem;
    text-align: center;
}

#gallery {
    display: grid;
    gap: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.16);
    transition: transform 180ms ease, box-shadow 180ms ease;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 65px rgba(0, 0, 0, 0.22);
}

.gallery-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    width: 100%;
}

#contact {
    display: grid;
    gap: 20px;
    text-align: center;
    align-items: center;
    justify-items: center;
}

#contact p {
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
}

#contact a {
    display: inline-flex;
    width: fit-content;
    padding: 16px 28px;
    background: #f3f0e5;
    color: #101114;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(16, 17, 20, 0.1);
}

@media (max-width: 768px) {
    header#hero {
        min-height: 80vh;
        padding: 48px 24px 56px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hero-logo {
        width: min(70vw, 160px);
        max-width: 160px;
        padding: 14px;
        margin-bottom: 14px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding-top: 24px;
    }

    .hero-copy {
        align-items: center;
        text-align: center;
    }

    header#hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.4rem);
        max-width: 14ch;
    }

    header#hero p {
        font-size: 1rem;
    }

    .hero-btn,
    header#hero a {
        width: min(100%, 360px);
        padding: 18px 0;
    }

    main {
        padding: 40px 24px 64px;
    }

    section {
        padding: 32px 0;
    }

    #services ul,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 210px;
    }
}
