/* =========================================
   MESEK COFFEE
   Main Website Styles
   ========================================= */

:root {
    --black: #11100e;
    --cream: #f7f1e7;
    --cream-dark: #eee2cf;
    --gold: #b9892e;
    --gold-light: #d5ad58;
    --green: #173e36;
    --white: #ffffff;
    --text: #29251f;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

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

/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 241, 231, 0.96);
    border-bottom: 1px solid rgba(185, 137, 46, 0.25);
}

.navbar {
    max-width: 1250px;
    margin: auto;
    min-height: 88px;
    padding: 12px 30px;

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

.brand {
    text-decoration: none;
    color: var(--black);
    font-size: 26px;
    letter-spacing: 7px;
}

.brand span {
    display: block;
    color: var(--gold);
    font-size: 11px;
    text-align: center;
    letter-spacing: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--black);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: var(--gold);
}

/* HERO */

.hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            90deg,
            rgba(247,241,231,.97) 0%,
            rgba(247,241,231,.88) 45%,
            rgba(247,241,231,.25) 100%
        );
}

.hero-inner {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 10px 30px 20px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;

   transform: translateY(-15px);
}

.hero-logo {
    width: 210px;
    height: 210px;
    object-fit: contain;
    display: block;
    margin-left: -15px;
    margin-bottom: 15px;
}

.eyebrow {
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero h1 {
    color: var(--black);
    font-size: clamp(48px, 7vw, 88px);
    line-height: .95;
    letter-spacing: 10px;
    font-weight: normal;
}

.hero h1 span {
    display: block;
    color: var(--gold);
    font-size: .28em;
    letter-spacing: 8px;
    margin-top: 18px;
}

.hero-description {
    max-width: 540px;
    margin: 28px 0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

.hero-image {
    width: 100%;
    position: relative;
    overflow: visible;
}

.hero-image img {
    width: 145%;
    max-width: none;
    height: auto;
    display: block;
    margin-left: -10%;
    object-fit: contain;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 3%,
        rgba(0,0,0,0.85) 7%,
        black 12%,
        black 100%
    );

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        rgba(0,0,0,0.35) 3%,
        rgba(0,0,0,0.85) 7%,
        black 12%,
        black 100%
    );
}

/* BUTTONS */

.button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--gold);
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    border: 1px solid var(--gold);
    transition: .25s ease;
}

.button:hover {
    background: var(--black);
    border-color: var(--black);
}

.button-outline {
    background: transparent;
    color: var(--black);
    margin-left: 10px;
}

.button-outline:hover {
    color: white;
}

/* GENERAL SECTIONS */

.section {
    padding: 100px 30px;
}

.section-inner {
    max-width: 1200px;
    margin: auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 55px;
}

.section-heading span {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 11px;
}

.section-heading h2 {
    color: var(--black);
    font-weight: normal;
    font-size: clamp(34px, 5vw, 54px);
    margin-top: 8px;
}

.section-heading p {
    max-width: 650px;
    margin: 15px auto 0;
    font-family: Arial, sans-serif;
    color: #6b6257;
}

/* COFFEE COLLECTION */

.coffee-section {
    background: var(--black);
    color: white;
}

.coffee-section .section-heading h2 {
    color: white;
}

.coffee-section .section-heading p {
    color: #c8c0b5;
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.coffee-card {
    background: #1a1916;
    border: 1px solid rgba(213,173,88,.3);
    text-align: center;
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease;
}

.coffee-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.coffee-card img {
    width: 100%;
    height: 430px;
    object-fit: contain;
    padding: 25px;
}

.coffee-card-content {
    padding: 10px 25px 32px;
}

.coffee-card h3 {
    color: var(--gold-light);
    font-weight: normal;
    font-size: 25px;
    letter-spacing: 3px;
}

.coffee-card p {
    color: #cfc8bc;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 10px;
}

/* STORY */

.section.story {
    background: var(--cream-dark);
    padding-bottom: 0 !important;
}


.story-grid {
    max-width: 1150px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.story-text h2 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    font-weight: normal;
    color: var(--black);
}

.story-text p {
    margin: 22px 0;
    font-family: Arial, sans-serif;
    line-height: 1.9;
}

/* NEWSLETTER */

section.newsletter {
    padding: 90px 30px;
    padding-top: 0 !important;
    background: var(--green);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-size: 40px;
    font-weight: normal;
}

.newsletter p {
    max-width: 600px;
    margin: 12px auto 28px;
    font-family: Arial, sans-serif;
    color: #e1ddd2;
}

.newsletter-form {
    max-width: 520px;
    margin: auto;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 16px;
    border: none;
    font-size: 14px;
}

.newsletter-form button {
    padding: 16px 24px;
    border: none;
    background: var(--gold);
    color: white;
    cursor: pointer;
    letter-spacing: 1px;
}

/* FOOTER */

footer {
    background: #0c0b0a;
    color: #cfc7bb;
    padding: 55px 30px 25px;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.footer-brand {
    color: white;
    font-size: 25px;
    letter-spacing: 7px;
}

.footer-links {
    margin: 25px 0;
}

.footer-links a {
    color: #cfc7bb;
    text-decoration: none;
    margin: 0 15px;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.footer-links a:hover {
    color: var(--gold);
}

.copyright {
    border-top: 1px solid #292622;
    padding-top: 20px;
    margin-top: 30px;
    font-family: Arial, sans-serif;
    font-size: 12px;
}

/* STORY VISUAL */
.story-visual {
    position: relative;
}

.story-visual img {
    width: 110%;
    max-width: none;
    height: auto;
    display: block;
    margin-left: -5%;

    -webkit-mask-image: radial-gradient(
        ellipse at center,
        black 45%,
        rgba(0,0,0,0.95) 55%,
        rgba(0,0,0,0.70) 68%,
        rgba(0,0,0,0.30) 82%,
        transparent 100%
    );

    mask-image: radial-gradient(
        ellipse at center,
        black 45%,
        rgba(0,0,0,0.95) 55%,
        rgba(0,0,0,0.70) 68%,
        rgba(0,0,0,0.30) 82%,
        transparent 100%
    );
}

/* MOSAIC DIVIDER */
.mosaic-divider {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 0;
    line-height: 0;
    overflow: hidden;
    background: transparent;
}

.mosaic-divider img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* MOBILE */
@media (max-width: 800px) {

    .navbar {
        min-height: 70px;
        padding: 10px 18px;
    }

    .brand {
        font-size: 19px;
        letter-spacing: 4px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .hero-inner {
    grid-template-columns: 1fr;
    padding: 20px 20px 55px;
    text-align: center;
    gap: 15px;
    transform: none;
}

.hero-image {
    width: 100%;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    margin-left: 0;
    object-fit: contain;

    -webkit-mask-image: none;
    mask-image: none;
}

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo {
    width: 135px;
    height: 135px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}

    .coffee-grid {
        grid-template-columns: 1fr;
    }

    .coffee-card img {
        height: auto;
        max-height: 500px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .story-visual img {
        width: 100%;
        margin-left: 0;
    }

    .newsletter-form {
        display: block;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .newsletter-form button {
        margin-top: 8px;
    }

    .section {
        padding: 70px 20px;
    }
   .hero-logo {
    width: 180px;
    height: 180px;
    margin-left: auto;
    margin-right: auto;
}

}
