/* ==========================
   GMC PLASTERING
   INDEX.CSS
   WARM / PREMIUM THEME
========================== */


/* ==========================
   COLOUR PALETTE
========================== */

:root {
    --charcoal: #171717;
    --dark-grey: #242424;
    --stone: #E7E5E0;
    --warm-grey: #F1F0ED;
    --card: #FAF9F6;
    --text: #222222;
    --muted-text: #5F5F5F;
    --gold: #F5C242;
}


/* ==========================
   RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--warm-grey);
    color: var(--text);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* ==========================
   HEADER
========================== */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 96px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 6%;

    background: rgba(23, 23, 23, 0.96);

    z-index: 1000;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 68px;
    width: auto;
}


/* ==========================
   NAVIGATION
========================== */

nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

nav a {
    position: relative;

    color: white;

    font-size: 17px;
    font-weight: 600;

    transition: 0.3s ease;
}

nav a:hover {
    color: var(--gold);
}

nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 3px;

    background: var(--gold);

    transition: 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


/* ==========================
   BUTTONS
========================== */

.button {
    display: inline-block;

    background: var(--gold);
    color: var(--charcoal);

    padding: 17px 38px;

    border: 2px solid var(--gold);
    border-radius: 4px;

    font-size: 17px;
    font-weight: 600;

    transition: 0.3s ease;
}

.button:hover {
    background: transparent;
    color: var(--gold);

    transform: translateY(-3px);
}

.button-outline {
    display: inline-block;

    background: transparent;
    color: white;

    padding: 15px 38px;

    border: 2px solid white;
    border-radius: 4px;

    font-size: 17px;
    font-weight: 600;

    transition: 0.3s ease;
}

.button-outline:hover {
    background: white;
    color: var(--charcoal);

    transform: translateY(-3px);
}


/* ==========================
   HERO
========================== */

.hero {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    padding: 140px 20px 90px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.64),
            rgba(0, 0, 0, 0.64)
        ),
        url("images/AcrylicRender1.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 900px;
}

.hero-label {
    color: var(--gold);

    font-size: 15px;
    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 20px;
}

.hero h1 {
    font-size: 68px;

    font-weight: 700;

    line-height: 1.12;

    margin-bottom: 30px;
}

.hero-text {
    max-width: 750px;

    margin: 0 auto 40px;

    font-size: 21px;

    line-height: 1.7;
}

.hero-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}


/* ==========================
   RECENT WORK
========================== */

.recent-work {
    padding: 110px 7%;

    background: var(--stone);
}

.section-heading {
    max-width: 750px;

    margin: 0 auto 60px;

    text-align: center;
}

.section-label {
    color: #9C7200;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 15px;
}

.section-heading h2 {
    color: var(--charcoal);

    font-size: 48px;

    line-height: 1.2;

    margin-bottom: 20px;
}

.section-intro {
    color: var(--muted-text);

    font-size: 18px;

    line-height: 1.7;
}


/* ==========================
   PROJECT CARDS
========================== */

.project-preview {
    max-width: 1250px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.project-card {
    background: var(--card);

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);

    transition: 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.project-card img {
    width: 100%;

    height: 280px;

    object-fit: cover;
}

.project-card-content {
    padding: 28px;
}

.card-label {
    color: #9C7200;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.project-card h3 {
    color: var(--charcoal);

    font-size: 24px;

    margin-bottom: 12px;
}

.project-card p {
    color: var(--muted-text);

    font-size: 15px;

    line-height: 1.7;
}


/* ==========================
   PROJECT BUTTON
========================== */

.projects-button {
    text-align: center;

    margin-top: 50px;
}

.dark-button {
    display: inline-block;

    background: var(--charcoal);

    color: white;

    padding: 16px 35px;

    border-radius: 4px;

    font-size: 16px;

    font-weight: 600;

    transition: 0.3s ease;
}

.dark-button:hover {
    background: var(--gold);

    color: var(--charcoal);
}


/* ==========================
   CALL TO ACTION
========================== */

.cta {
    min-height: 480px;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    padding: 80px 20px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.74),
            rgba(0, 0, 0, 0.74)
        ),
        url("images/AcrylicRender3.jpg");

    background-size: cover;

    background-position: center;
}

.cta-content {
    max-width: 750px;
}

.cta h2 {
    color: white;

    font-size: 50px;

    line-height: 1.2;

    margin-bottom: 20px;
}

.cta p:not(.hero-label) {
    color: #ddd;

    font-size: 19px;

    line-height: 1.7;

    margin-bottom: 35px;
}


/* ==========================
   FOOTER
========================== */

footer {
    background: var(--charcoal);

    color: white;

    text-align: center;

    padding: 30px 20px;
}

footer h3 {
    font-size: 20px;

    margin-bottom: 5px;
}

footer p {
    color: #999;

    font-size: 13px;
}

footer .copyright {
    margin-top: 15px;

    padding-top: 15px;

    border-top: 1px solid #333;
}


/* ==========================
   TABLET
========================== */

@media (max-width: 900px) {

    header {
        padding: 10px 4%;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .project-preview {
        grid-template-columns: 1fr 1fr;
    }

    .project-card:last-child {
        grid-column: span 2;

        max-width: 50%;

        margin: 0 auto;
    }
}


/* ==========================
   MOBILE
========================== */

@media (max-width: 650px) {

    header {
        height: auto;

        min-height: 80px;

        padding: 10px 20px;
    }

    .logo {
        height: 52px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 12px;
    }

    nav a::after {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-text {
        font-size: 17px;
    }

    .hero-label {
        font-size: 12px;

        letter-spacing: 3px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button,
    .button-outline {
        width: 100%;

        max-width: 280px;
    }

    .recent-work {
        padding: 80px 20px;
    }

    .section-heading h2 {
        font-size: 36px;
    }

    .project-preview {
        grid-template-columns: 1fr;
    }

    .project-card:last-child {
        grid-column: auto;

        max-width: none;
    }

    .project-card img {
        height: 250px;
    }

    .cta {
        min-height: 420px;
    }

    .cta h2 {
        font-size: 36px;
    }

    .cta p:not(.hero-label) {
        font-size: 16px;
    }

    footer {
        padding: 25px 15px;
    }
}