:root {
    --orange: #ff6600;
    --dark: #222222;
    --dark-2: #2c2c2c;
    --light: #f5f5f5;
    --white: #ffffff;
    --text: #222222;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* HEADER */

.site-header {
    background: var(--dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 78px;
    padding: 0 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
}

.logo img {
    max-height: 48px;
    width: auto;
}

.logo-accent {
    color: var(--orange);
}

/* NAV */

.main-nav ul {
    list-style: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list > li {
    position: relative;
}

.nav-list > li > a,
.dropdown-toggle {
    display: block;
    padding: 28px 14px;
    color: var(--white);
    font-size: 15px;
    border: 0;
    background: none;
    cursor: pointer;
}

.nav-list > li > a:hover,
.dropdown-toggle:hover,
.nav-list > li > a.active {
    color: var(--orange);
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    background: var(--dark-2);
    box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 13px 18px;
    color: var(--white);
}

.dropdown-menu a:hover {
    background: #3a3a3a;
    color: var(--orange);
}

/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
}

/* HERO */

.hero {
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)),
        url("../images/hero.jpg") center/cover no-repeat;
    color: var(--white);
}

.hero-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero h1 {
    max-width: 800px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    max-width: 700px;
    font-size: 20px;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 13px 24px;
    border-radius: 4px;
    font-weight: 700;
    transition: .2s;
}

.button:hover {
    transform: translateY(-2px);
    background: #e85d00;
}

.button.secondary {
    background: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
}

/* SECTIONS */

.section {
    padding: 80px 24px;
}

.section.alt {
    background: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 38px;
    margin-bottom: 12px;
}

.section-title h2 span {
    color: var(--orange);
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

/* CARDS */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.card h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.card a {
    display: inline-block;
    margin-top: 18px;
    color: var(--orange);
    font-weight: 700;
}

/* CONTENT */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.content-grid img {
    border-radius: 8px;
}

.content-grid h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.content-grid p {
    margin-bottom: 18px;
}

/* PROJECTS */

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.project-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.project-content {
    padding: 24px;
}

/* PAGE HEADER */

.page-hero {
    background: var(--dark);
    color: var(--white);
    padding: 85px 24px;
    text-align: center;
}

.page-hero h1 {
    font-size: 48px;
}

.page-hero span {
    color: var(--orange);
}

/* CTA */

.cta {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding: 70px 24px;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 25px;
}

/* FOOTER */

.site-footer {
    background: #181818;
    color: #aaa;
    padding: 35px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.site-footer strong {
    color: var(--white);
}

/* MOBILE */

@media (max-width: 850px) {

    .header-inner {
        min-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--dark);
        max-height: calc(100vh - 68px);
        overflow-y: auto;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        display: block;
    }

    .nav-list > li > a,
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 16px 24px;
        border-top: 1px solid #3a3a3a;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #333;
    }

    .dropdown-menu a {
        padding-left: 42px;
    }

    .cards,
    .content-grid,
    .project-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 500px;
    }

    .hero p {
        font-size: 18px;
    }

    .footer-inner {
        flex-direction: column;
    }
}