/*
Theme Name: Terrales Records
Description: Terrales Records custom theme
*/

/* =========================================
   RESET
   ========================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: #111111;
    color: #f5f0df;
    font-family: Arial, Helvetica, sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: #111111;
}

.site-header-inner {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 24px 5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.site-logo {
    flex-shrink: 0;

    color: #c97845;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: bold;
    letter-spacing: 2px;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;

    margin-left: auto;
}

.main-navigation a {
    color: #f5f0df;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: .5px;
    white-space: nowrap;
}

.main-navigation a:hover {
    color: #d99155;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;

    flex-shrink: 0;
}

.header-actions a {
    color: #f5f0df;

    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.join-button {
    display: inline-block;

    padding: 11px 18px;

    background: #f47721;
    color: #111111 !important;

    font-size: 12px;
    font-weight: bold;
}

.join-button:hover {
    background: #ff9145;
}


/* =========================================
   HERO
   ========================================= */

/*
   hero.jpg is 5999 x 1421.

   The aspect-ratio below matches the actual
   photograph so the complete photograph is
   visible without cropping.
*/

.hero-section {
    position: relative;

    width: 100%;

    aspect-ratio: 5999 / 1421;

    background-image: url("images/hero.jpg");
    background-repeat: no-repeat;

    /*
       100% 100% makes the entire photograph
       occupy the hero area.
    */
    background-size: 100% 100%;
    background-position: center center;

    overflow: hidden;

    /*
       NO overlay.
       NO darkening.
       NO gradient.
    */
}


/* =========================================
   HERO CONTENT
   ========================================= */

.hero-content {
    position: absolute;

    top: 50%;
    left: 6%;

    transform: translateY(-50%);

    width: 42%;
    max-width: 500px;

    z-index: 10;
}

.hero-kicker {
    margin: 0 0 18px;

    color: #e0aa61;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    line-height: 1.4;

    text-transform: uppercase;
}

.hero-content h1 {
    margin: 0 0 22px;

    color: #f7f1dc;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5vw, 78px);
    font-weight: normal;
    line-height: .88;
    letter-spacing: -2px;
}

.hero-content h1 span {
    display: block;
}

.hero-description {
    width: 100%;
    max-width: 450px;

    margin: 0 0 25px;

    color: #f7f1dc;

    font-size: 15px;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 24px;

    margin: 0;
}

.button {
    color: #f7f1dc;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: .4px;
}

.button:hover {
    color: #e0aa61;
}


/* =========================================
   COLLECTION
   ========================================= */

.collection-section {
    width: 100%;

    padding: 55px 5% 70px;

    background: #111111;
}

.collection-kicker {
    margin: 0 0 12px;

    color: #e0aa61;

    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;

    text-align: center;
    text-transform: uppercase;
}

.collection-section h2 {
    margin: 0 0 35px;

    color: #f5f0df;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: normal;

    text-align: center;
}


/* =========================================
   PHOTO GRID
   ========================================= */

.photo-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    width: 100%;
}

.photo-card {
    position: relative;

    min-height: 250px;

    border: 1px solid rgba(245, 240, 223, .45);

    overflow: hidden;

    background: #171717;
}

.photo-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.photo-card-placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 250px;

    padding: 20px;

    color: #f5f0df;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    letter-spacing: 4px;

    text-align: center;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    width: 100%;

    padding: 55px 5%;

    background: #111111;

    color: #f5f0df;
}


/* =========================================
   IMPORTANT:
   NO HERO OVERLAY
   ========================================= */

/*
   Do NOT add a ::before or ::after overlay
   to .hero-section.

   The photograph must remain completely
   visible and unchanged.
*/


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1000px) {

    .site-header-inner {
        padding: 20px 4%;
    }

    .main-navigation {
        gap: 16px;
    }

    .main-navigation a,
    .header-actions a {
        font-size: 11px;
    }

    .hero-content {
        left: 5%;
        width: 45%;
    }

    .hero-content h1 {
        font-size: clamp(38px, 6vw, 62px);
    }

    .hero-description {
        font-size: 13px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .site-header-inner {
        flex-direction: column;
        padding: 20px 5%;
    }

    .main-navigation {
        width: 100%;

        flex-wrap: wrap;
        justify-content: center;

        margin-left: 0;
    }

    .header-actions {
        justify-content: center;
    }

    /*
       On a phone the panoramic photograph
       remains proportional.
    */

    .hero-section {
        aspect-ratio: 5999 / 1421;
    }

    .hero-content {
        left: 5%;

        width: 45%;
        max-width: none;
    }

    .hero-kicker {
        margin-bottom: 8px;

        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        margin-bottom: 10px;

        font-size: clamp(25px, 7vw, 45px);
        letter-spacing: -1px;
    }

    .hero-description {
        margin-bottom: 10px;

        font-size: 9px;
        line-height: 1.3;
    }

    .hero-buttons {
        gap: 10px;
    }

    .button {
        font-size: 8px;
    }

    .collection-section {
        padding: 40px 5%;
    }

    .photo-grid {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================
   SMALL PHONES
   ========================================= */

@media (max-width: 450px) {

    .main-navigation {
        gap: 10px;
    }

    .main-navigation a {
        font-size: 9px;
    }

    .hero-content {
        left: 4%;
        width: 48%;
    }

    .hero-kicker {
        font-size: 6px;
    }

    .hero-content h1 {
        font-size: 25px;
    }

    .hero-description {
        font-size: 7px;
    }

    .button {
        font-size: 7px;
    }

    .photo-grid {
        grid-template-columns: 1fr;
    }
}/* =========================================
   TERRALES RECORDS FINAL COLOR PALETTE
   ========================================= */

:root {
    --terrales-copper: #E6A15C;
    --terrales-cream: #F5F0DF;
    --terrales-dark: #111111;
}


/* BRAND / NAVIGATION */

.site-logo {
    color: var(--terrales-copper);
}

.main-navigation a {
    color: var(--terrales-copper);
}

.header-actions a {
    color: var(--terrales-copper);
}


/* HERO */

.hero-kicker {
    color: var(--terrales-copper);
}

.hero-content h1 {
    color: var(--terrales-cream);
}

.hero-description {
    color: var(--terrales-cream);
}

.button {
    color: var(--terrales-cream);
}


/* COLLECTION */

.collection-kicker {
    color: var(--terrales-copper);
}

.collection-section h2 {
    color: var(--terrales-copper);
}

.photo-card-placeholder {
    color: var(--terrales-copper);
}


/* FOOTER */

.site-footer {
    color: var(--terrales-copper);
}

.site-footer a {
    color: var(--terrales-copper);
}


/* GENERAL TEXT */

p,
li {
    color: var(--terrales-copper);
}.photo-placeholder {
    overflow: hidden;
}

.photo-placeholder a {
    display: block;
    width: 100%;
    height: 100%;
}

.photo-placeholder img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-card:hover .photo-placeholder img {
    transform: scale(1.05);
}.photo-card {
    aspect-ratio: 4 / 5;
    min-height: 0;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}.photo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;

    transform: translate(-50%, -50%);

    color: rgba(245, 240, 223, 0.65);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(14px, 1.6vw, 24px);
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.1;
    text-align: center;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);

    pointer-events: none;
}.music-section {
    padding: 55px 5% 70px;
    background: #171717;
}

.music-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(245, 240, 223, 0.45);
    text-align: center;
}

.music-label {
    color: var(--terrales-copper);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.music-card h3 {
    margin: 14px 0;
    color: var(--terrales-cream);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: normal;
}

/* =========================================
   MUSIC FEATURE
   ========================================= */

.music-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    padding: 80px 5%;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(17, 17, 17, 0.68), rgba(17, 17, 17, 0.22)), url("images/music-hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.music-section-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.music-section-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.music-section-button {
    display: inline-block;
    margin-top: 28px;
}

.music-kicker {
    margin: 0 0 18px;
    color: var(--terrales-copper);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.music-section h2 {
    margin: 0 0 20px;
    color: var(--terrales-copper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: normal;
    line-height: .95;
}

.music-description {
    margin: 0;
    color: var(--terrales-cream);
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .music-section {
        min-height: 420px;
        padding: 60px 5%;
    }

    .music-kicker {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .music-description {
        font-size: 14px;
    }
}

/* =========================================
   GALLERY PAGE
   ========================================= */

.collection-heading-link {
    display: block;
}

.photo-card-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
}

.gallery-page-section {
    padding: 70px 5%;
    background: var(--terrales-dark);
}

.gallery-page-heading {
    max-width: 800px;
    margin: 0 auto 45px;
    text-align: center;
}

.gallery-page-heading p {
    margin: 0 0 14px;
    color: var(--terrales-copper);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.gallery-page-heading h1 {
    margin: 0;
    color: var(--terrales-copper);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 70px);
    font-weight: normal;
    line-height: 1;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-page-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(245, 240, 223, 0.45);
    background: #171717;
}

.gallery-page-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-page-photo:hover img {
    transform: scale(1.04);
}

.music-access-note {
    margin: 18px 0 0;
    color: var(--terrales-cream);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.6px;
}

.gallery-page-download {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 8px 10px;
    border: 1px solid rgba(245, 240, 223, 0.85);
    background: rgba(20, 20, 20, 0.82);
    color: #f5f0df;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-decoration: none;
}

.gallery-page-download:hover,
.gallery-page-download:focus {
    background: #f5f0df;
    color: #171717;
}

.gallery-page-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: var(--terrales-copper);
    font-family: Georgia, "Times New Roman", serif;
    text-align: center;
}

@media (max-width: 700px) {
    .gallery-page-section {
        padding: 50px 5%;
    }

    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 450px) {
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }
