
/* ==================================
   BREW & BEAN - MODERN CREATIVE
================================== */

:root {
    --dark: #251811;
    --brown: #493024;
    --orange: #b95732;
    --caramel: #e6ad73;
    --cream: #f3ede2;
    --white: #ffffff;
    --gray: #aaa096;
    --border: rgba(255,255,255,.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--dark);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button, input {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

.section-padding {
    padding: 110px 8%;
}

.section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--orange);
}

/* NAVBAR */

.navbar {
    height: 85px;
    width: 100%;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #ded5c8;
    transition: .3s;
}

.navbar.scrolled {
    height: 70px;
    box-shadow: 0 5px 25px #25181110;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -2px;
}

.logo span {
    color: var(--orange);
}

.logo-dot {
    color: var(--dark) !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 11px;
    font-weight: 700;
    color: #766b61;
    transition: .3s;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 11px;
    font-weight: 700;
}

.sign-in {
    transition: .3s;
}

.sign-in:hover {
    color: var(--orange);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 17px;
    background: var(--dark);
    color: white;
    transition: .3s;
}

.cart-btn:hover {
    background: var(--orange);
}

.cart-number {
    color: var(--caramel);
}

.menu-toggle {
    display: none;
}

/* HERO */

.hero {
    background: var(--dark);
    color: white;
    min-height: 700px;
    padding: 70px 8% 85px;
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 550px;
    height: 550px;
    border-radius: 50%;
    border: 1px solid #ffffff0c;
    right: 5%;
    top: 10%;
    pointer-events: none;
}

.hero-background::before,
.hero-background::after {
    content: "";
    position: absolute;
    inset: 35px;
    border: 1px solid #ffffff0c;
    border-radius: 50%;
}

.hero-background::after {
    inset: 85px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-tag {
    color: var(--caramel);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.tag-line {
    width: 35px;
    height: 2px;
    background: var(--orange);
}

.hero h1 {
    font-size: clamp(65px, 7.7vw, 108px);
    line-height: .92;
    letter-spacing: -7px;
    font-weight: 800;
}

.hero h1 span {
    color: var(--caramel);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
}

.orange-dot {
    color: var(--orange) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-style: normal !important;
}

.hero-content > p {
    max-width: 390px;
    font-size: 13px;
    line-height: 1.9;
    color: #b6a79b;
    margin: 30px 0;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 30px;
}

.primary-btn {
    background: var(--orange);
    color: white;
    padding: 17px 23px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .3s;
}

.primary-btn:hover {
    background: var(--caramel);
    color: var(--dark);
    transform: translateY(-3px);
}

.primary-btn span {
    font-size: 17px;
}

.text-btn {
    color: white;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--caramel);
    padding-bottom: 7px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 65px;
    color: #a89b8e;
    font-size: 9px;
    letter-spacing: 2px;
}

.note-star {
    color: var(--caramel);
    font-size: 22px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    padding: 20px 35px 20px 0;
}

.hero-image-frame {
    height: 490px;
    overflow: hidden;
    border-radius: 200px 200px 5px 5px;
    border: 8px solid #ffffff12;
    outline: 1px solid #ffffff30;
    outline-offset: 8px;
}

.hero-image-frame img {
    transition: transform 1s;
}

.hero-image-frame:hover img {
    transform: scale(1.05);
}

.hero-image-sticker {
    position: absolute;
    top: 20px;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--orange);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(12deg);
}

.hero-image-sticker span {
    font-size: 9px;
    letter-spacing: 2px;
}

.hero-image-sticker strong {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
}

.vertical-text {
    position: absolute;
    right: -20px;
    top: 45%;
    writing-mode: vertical-rl;
    font-size: 8px;
    letter-spacing: 3px;
    color: #c6b4a2;
}

.floating-coffee {
    position: absolute;
    left: -55px;
    bottom: 40px;
    background: var(--cream);
    color: var(--dark);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px #0004;
}

.floating-coffee > span {
    font-size: 29px;
}

.floating-coffee div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.floating-coffee small {
    color: var(--orange);
    font-size: 8px;
    letter-spacing: 1px;
}

.floating-coffee strong {
    font-size: 11px;
}

.hero-bottom {
    position: absolute;
    bottom: 25px;
    left: 8%;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 8px;
    letter-spacing: 2px;
    color: #a89b8e;
}

.hero-bottom span:last-child {
    margin-left: auto;
}

.scroll-line {
    height: 1px;
    width: 70px;
    background: var(--orange);
}

/* MARQUEE */

.marquee {
    background: var(--orange);
    color: white;
    padding: 20px 0;
    overflow: hidden;
}

.marquee-content {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 35px;
    animation: marquee 25s linear infinite;
}

.marquee-content span {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
}

.marquee-content b {
    color: var(--caramel);
    font-size: 27px;
}

/* INTRO */

.intro {
    display: grid;
    grid-template-columns: .35fr 1.65fr;
    gap: 30px;
    align-items: start;
}

.intro-label {
    color: var(--orange);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.intro-content h2,
.section-heading h2,
.story-content h2,
.newsletter h2 {
    font-size: clamp(42px, 6vw, 73px);
    font-weight: 800;
    letter-spacing: -4px;
    line-height: 1.05;
}

.intro-content h2 span,
.section-heading h2 span {
    color: var(--orange);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.intro-description {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-top: 35px;
}

.intro-description p {
    max-width: 390px;
    color: #80756a;
    font-size: 13px;
    line-height: 2;
}

.circle-link {
    width: 110px;
    height: 110px;
    border: 1px solid #cfc4b5;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 9px;
    font-weight: 700;
    transition: .3s;
}

.circle-link b {
    font-size: 20px;
    color: var(--orange);
}

.circle-link:hover {
    background: var(--orange);
    color: white;
    border-color: var(--orange);
    transform: rotate(-10deg);
}

.circle-link:hover b {
    color: white;
}

/* CATEGORIES */

.categories {
    background: #e9dfd1;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 45px;
}

.section-heading h2 {
    margin-top: 18px;
}

.view-link {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--orange);
    padding-bottom: 8px;
    white-space: nowrap;
    transition: .3s;
}

.view-link:hover {
    color: var(--orange);
}

.category-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    background: var(--dark);
    color: white;
}

.category-large {
    grid-row: span 2;
}

.category-card img {
    position: absolute;
    inset: 0;
    transition: transform .8s;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1d110dc9, transparent 100%);
}

.category-card:hover img {
    transform: scale(1.07);
}

.category-number {
    position: absolute;
    z-index: 2;
    top: 25px;
    right: 25px;
    font-size: 11px;
    color: white;
}

.category-info {
    position: absolute;
    z-index: 2;
    left: 35px;
    bottom: 35px;
}

.category-info > span {
    font-size: 8px;
    letter-spacing: 2px;
    color: var(--caramel);
}

.category-info h3 {
    font-size: clamp(30px, 4vw, 51px);
    font-weight: 800;
    line-height: .95;
    margin: 12px 0;
    letter-spacing: -2px;
}

.category-info b {
    font-size: 9px;
    letter-spacing: 1px;
}

/* FEATURED PRODUCTS */

.featured {
    background: var(--cream);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    min-width: 0;
}

.product-image {
    display: block;
    height: 330px;
    position: relative;
    overflow: hidden;
    background: #e7dfd4;
}

.product-image img {
    transition: transform .7s;
}

.product-card:hover .product-image img {
    transform: scale(1.07);
}

.product-badge {
    position: absolute;
    left: 15px;
    top: 15px;
    background: var(--orange);
    color: white;
    font-size: 8px;
    font-weight: 700;
    padding: 9px 12px;
    letter-spacing: 1px;
}

.product-arrow {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--cream);
    color: var(--dark);
    border-radius: 50%;
    font-size: 19px;
    transition: .3s;
}

.product-card:hover .product-arrow {
    background: var(--orange);
    color: white;
    transform: rotate(45deg);
}

.product-info {
    padding: 20px 2px;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
}

.product-category {
    color: var(--orange);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    margin: 8px 0;
}

.product-info p {
    color: #857a70;
    font-size: 10px;
}

.product-info > strong {
    font-size: 13px;
    white-space: nowrap;
    color: var(--orange);
}

/* STORY */

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    background: var(--dark);
    color: white;
}

.story-image {
    min-height: 650px;
    overflow: hidden;
}

.story-image img {
    transition: transform 1s;
}

.story:hover .story-image img {
    transform: scale(1.04);
}

.story-content {
    padding: 90px 10%;
    position: relative;
    overflow: hidden;
}

.story-content h2 {
    margin: 35px 0 25px;
    font-size: clamp(40px, 5vw, 65px);
}

.story-content h2 span {
    color: var(--caramel);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.story-content p {
    color: #b7a99d;
    max-width: 400px;
    font-size: 12px;
    line-height: 2;
    margin-bottom: 30px;
}

.story-symbol {
    position: absolute;
    right: 0;
    bottom: -80px;
    color: #ffffff08;
    font-size: 200px;
    font-weight: 800;
    letter-spacing: -15px;
    pointer-events: none;
}

/* NEWSLETTER */

.newsletter {
    background: #e9dfd1;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter h2 {
    margin-top: 25px;
}

.newsletter h2 span {
    color: var(--orange);
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

.newsletter-content > p {
    color: #80756a;
    font-size: 12px;
    margin: 20px 0 30px;
}

.newsletter-form {
    max-width: 480px;
    margin: auto;
    display: flex;
    border: 1px solid #cfc3b3;
    background: var(--cream);
    padding: 5px;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 11px;
    color: var(--dark);
}

.newsletter-form button {
    background: var(--dark);
    color: white;
    border: none;
    padding: 0 23px;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.newsletter-form button:hover {
    background: var(--orange);
}

#newsletterMessage {
    display: block;
    margin-top: 15px;
    font-size: 11px;
    color: var(--orange);
}

.newsletter-decoration {
    position: absolute;
    right: 5%;
    top: 15%;
    font-size: 110px;
    color: #b9573212;
    pointer-events: none;
}

/* FOOTER */

.footer {
    background: #1b110c;
    color: white;
    padding: 75px 8% 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 45px;
    padding-bottom: 65px;
}

.footer-logo {
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.footer-logo span {
    color: var(--caramel);
}

.footer-brand p {
    color: #a99b8f;
    font-size: 11px;
    line-height: 2;
    max-width: 240px;
    margin-top: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    font-size: 9px;
    font-weight: 700;
    color: var(--caramel);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column h4 {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--caramel);
}

.footer-column a,
.footer-column p {
    color: #a99b8f;
    font-size: 10px;
    transition: .3s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #ffffff20;
    padding-top: 23px;
    display: flex;
    justify-content: space-between;
    color: #94877c;
    font-size: 8px;
    letter-spacing: 1px;
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 4px;
}
body {
    background: red !important;
}