/* =========================================================
   ALLANIE SANDERSON — PORTFOLIO STYLE
   ========================================================= */

:root {
    --black: #050505;
    --white: #f4f0ea;
    --orange: #d46f52;
    --brown: #897066;
    --grey: #999;
    --line: #292929;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body { 
    width: 100%;
    min-height: 100%;
    background: #050505;
    color: #f4f0ea;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
}

p {
    font-size: 20px;
    line-height: 1.6;
}

body,
img {
    max-width: 100%;
}

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

/* =========================================================
   GLOBAL
   ========================================================= */

.container {
    width: calc(100% - 100px);
    max-width: 1400px;
    margin: 0 auto;
}

.small-heading {
    display: block;
    color: #d46f52;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    margin-bottom: 20px;
}

.heading {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 100px;
    line-height: .82;
}

.orange {
    color: #d46f52;
}

/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #050505;
}

.home-hero {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.20),
            rgba(0, 0, 0, 0.50)
        ),
        url("../images/home/hero.jpg");

    background-position: center center;
    background-size: 140%;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero {
    align-items: flex-end;
    justify-content: flex-start;
    background: #050505;
}

/* The logo itself is the navigation/home control.
   No conventional header/navigation bar on Home. */

.hero-logo-link {
    display: block;
    width: 430px;
    max-width: 70vw;
    position: relative;
    z-index: 5;
}

.hero-logo-link img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-logo-link:hover {
    transform: scale(1.03);
    opacity: .88;
}

.hero-links {
    position: absolute;
    z-index: 6;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;

    background: #050505;
    padding: 20px 35px;
}

.hero-links a {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    color: #897066;
    font-size: 20px;
    letter-spacing: 1px;
    transition: color .3s ease;
}

.hero-links a:hover {
    color: #d46f52;
}

/* =========================================================
  HOME GALLERY
   ========================================================= */
.home-gallery {
    padding: 140px 0;
    background: #050505;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #292929;
    margin-bottom: 60px;
}

.gallery-description {
    max-width: 400px;
    color: #999;
    line-height: 1.7;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.home-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    background: #151515;
    display: block;
}

/* =========================================================
   STANDALONE PAGES
   ========================================================= */

header {
    position: relative;
    z-index: 100;
    background: #050505;
}

header nav {
    min-height: 90px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid #292929;
}

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    width: 75px;
    height: auto;
    display: block;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

header nav ul a {
    color: #897066;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    transition: color .3s ease;
}

header nav ul a:hover,
.active {
    color:#d46f52;
}

/* =========================================================
   PROJECT HERO
   ========================================================= */

.hero-image {
    width: 100%;
    height: 70vh;
    object-fit: contain;
    display: block;
}

.hero-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 60px 6vw;
    background: linear-gradient(transparent, rgba(0,0,0,.9));
}

.hero-overlay h1 {
    font-size: 100px;
    line-height: .85;
    text-transform: uppercase;
}

.hero-overlay p {
    margin-top: 20px;
    color: #d46f52;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.project-hero {
    align-items: flex-end;
    justify-content: flex-start;
    background: #050505;
}

/* =========================================================
   TEXT SECTIONS
   ========================================================= */

.intro {
    padding: 100px 0;
}

.intro h2,
.productions h2,
.gallery h2,
.explore h2 {
    font-size: 70px;
    line-height: .95;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.intro p {
    max-width: 850px;
    color: #999;
    line-height: 1.8;
    font-size: 20px;
}

.project-list {
    list-style: none;
    max-width: 700px;
}

.project-list li {
    padding: 16px 0;
    border-bottom: 1px solid #292929;
    color: #999;
}

/* =========================================================
   PRODUCTION CARDS
   ========================================================= */

.productions {
    padding: 100px 0;
}

.production-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.production-card {
    background: #111;
    overflow: hidden;
}

.production-card img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.production-card:hover img {
    transform: scale(1.03);
}

.production-info {
    padding: 30px;
}

.production-info h3 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.production-info p {
    color: #999;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-block;
    border: 1px solid #555;
    padding: 13px 22px;
    color: #897066;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    transition: .3s ease;
}

.button:hover {
    border-color: #d46f52;
    color: #d46f52;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height:500px;
    object-fit: cover;
    display: block;
    background: #151515;
    transition: opacity .3s ease, transform .3s ease;
}

.gallery-grid img:hover {
    opacity: .88;
    transform: scale(1.01);
}

/* =========================================================
   EXPLORE / PAGE NAVIGATION
   ========================================================= */

.explore {
    padding: 100px 0;
}

.explore .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

/* =========================================================
   PROJECTS LANDING PAGE
   ========================================================= */

.projects-page {
    width: 100%;
    padding: 150px 50px 100px;
}


/* INTRO */

.projects-intro {
    max-width: 1400px;
    margin: 0 auto 70px;
}

.projects-intro h1 {
    margin: 0;

    color: #f4f0ea;

    font-size: 90px;
    font-weight: normal;
    line-height: 0.95;
}

/* THREE PROJECT SECTIONS */

.project-sections {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}


/* PROJECT CARD */

.project-card {
    display: block;

    color: #f4f0ea;
    text-decoration: none;

    background: #111;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: #181818;
}


/* IMAGE */

.project-card-image {
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #151515;
}

.project-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease,
                opacity 0.4s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.03);
    opacity: 0.85;
}


/* CARD INFORMATION */

.project-card-info {
    position: relative;

    padding: 25px 25px 30px;

    min-height: 190px;
}

.project-card-info > span:first-child {
    display: block;

    color: #d46f52;

    font-size: 13px;
    letter-spacing: 2px;

    margin-bottom: 20px;
}

.project-card-info h2 {
    margin: 0 0 12px;

    font-size: 42px;
    font-weight: normal;
}

.project-card-info p {
    margin: 0;

    color: #999;

    font-size: 18px;
    line-height: 1.6;

    max-width: 280px;
}

.project-arrow {
    position: absolute;

    right: 25px;
    bottom: 25px;

    color: #d46f52;

    font-size: 28px;
}
/* PROJECTS HOME BUTTON */

.projects-home-logo {
    position: absolute;
    top: 30px;
    left: 40px;

    width: 75px;

    display: block;
    z-index: 10;
}

.projects-home-logo img {
    width: 100%;
    height: auto;
    display: block;

    transition: opacity 0.3s ease;
}

.projects-home-logo:hover img {
    opacity: 0.65;
}

/* FOOTER */

.site-footer {
    width: 100%;
    padding: 30px 50px 50px;
    border-top: 1px solid #292929;
}

.site-footer a {
    color: #f4f0ea;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
}

.site-footer a:hover {
    color: #d46f52;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    padding: 50px 0;
    border-top: 1px solid #292929;
    color: #999;
    font-size: 14px;
}

footer p {
    font-size: 14px;
    line-height: 1.5;
}

footer h2,
footer h3,
footer h4 {
    font-size: 14px;
    font-weight: normal;
}

footer p + p {
    margin-top: 8px;
}

/* =========================================
   BACK BUTTON
========================================= */

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 25px 45px;

    border: 1px solid #666;

    color: #a58f87;
    background: transparent;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.back-button:hover {
    color: #f4f0ea;
    border-color: #f4f0ea;
    background: #111;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .container {
    width: calc(100% - 40px);
    max-width: 700px;
    margin: 0 auto;
}

    .gallery-header {
        display: block;
    }

    .gallery-description {
        margin-top: 30px;
    }

    .home-grid,
    .gallery-grid,
    .production-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-image:nth-child(2),
    .home-image:nth-child(5) {
        margin-top: 50px;
    }

    header nav {
        padding: 18px 20px;
    }

    header nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    header nav ul a {
        font-size: 11px;
    }

    .hero-links {
        width: auto;
        gap: 35px;
        bottom: 25px;
    }
}

@media (max-width: 600px) {

    .container {
        width: calc(100% - 30px);
    }

    .hero {
        min-height: 100vh;
    }

    .hero-logo-link {
        width: 58vw;
        max-width: 300px;
    }

    .hero-links {
        width: 100%;
        bottom: 0;
        padding: 18px 20px;
        gap: 28px;
    }

    .home-gallery {
        padding: 80px 0;
    }

    .home-grid,
    .gallery-grid,
    .production-grid {
        grid-template-columns: 1fr;
    }

    .home-image:nth-child(2),
    .home-image:nth-child(5) {
        margin-top: 0;
    }

    header nav {
        min-height: 75px;
        padding: 15px;
    }

    header .logo img {
        width: 55px;
    }

    header nav ul {
        gap: 10px;
    }

    header nav ul a {
        font-size: 9px;
        letter-spacing: .5px;
    }

    .hero-image {
        height: 60vh;
    }

    .hero-overlay {
        padding: 35px 20px;
    }

    .intro,
    .productions,
    .gallery,
    .explore {
        padding: 70px 0;
    }

    .production-card img {
        height: 400px;
    }
}
@media (max-width: 900px) {

    .projects-page {
        padding: 90px 30px 70px;
    }

    .projects-intro h1 {
        font-size: 70px;
    }

    .project-sections {
        grid-template-columns: 1fr;
    }

    .project-card-image {
        height: 500px;
    }

    .site-footer {
        padding-left: 30px;
        padding-right: 30px;
    }

}


@media (max-width: 600px) {

    .projects-page {
        padding: 70px 20px 60px;
    }

    .projects-intro {
        margin-bottom: 45px;
    }

    .projects-intro h1 {
        font-size: 55px;
    }

    .project-card-image {
        height: 420px;
    }

    .project-card-info h2 {
        font-size: 32px;
    }

    .site-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

}
@media (max-width: 600px) {

    .page-footer {
        padding: 35px 20px;
        margin-top: 50px;
    }

}
