/* --- ACCESSIBLE CONFIGURABLE COLOR SYSTEMS (THEMES) --- */
/* Default: cream (coffee-shop warmth) */
:root {
    --bg-color: #faf8f3;
    --text-color: #1a1a18;
    --text-accent: #1a1a18;
    --muted-text: #8c8a82;
    --meta-paragraph: #444442;
    --border-color: #1a1a18;
    --footer-bg: #e8e4da;
    --card-bg: #efece4;
    --dot-indicator: #1a1a18;
    --logo-color: #1a1a18;
    --logo-img: url('./img/logomonogrmbeige.png');
}

body.theme-dark {
    --bg-color: #0d0d0b;
    --text-color: #f5f0e8;
    --text-accent: #e8dfd8;
    --muted-text: #555550;
    --meta-paragraph: #cccccc;
    --border-color: #f5f0e8;
    --footer-bg: #1a1a18;
    --card-bg: #1a1a18;
    --dot-indicator: #f5f0e8;
    --logo-color: #e8dfd8;
    --logo-img: url('./img/logomonogrmblk.png');
}

body.theme-espresso {
    --bg-color: #2c1a0e;
    --text-color: #fdf6ec;
    --text-accent: #f5d9a8;
    --muted-text: #b8906a;
    --meta-paragraph: #e8d4b8;
    --border-color: #fdf6ec;
    --footer-bg: #1e1008;
    --card-bg: #3a2415;
    --dot-indicator: #fdf6ec;
    --logo-color: #f5d9a8;
    --logo-img: url('./img/logomonogrmblk.png');
}

/* --- STRUCTURE BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
}

.brand-icon {
    display: block;
    width: 60px;
    height: 60px;
    background-image: var(--logo-img);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    text-decoration: none;
    font-size: 0;
    transition: background-image 0.4s ease;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 1.1rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.4s ease;
}

.nav-link.underline {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Theme Chooser Mechanism */
.theme-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border 0.2s ease, transform 0.2s ease;
}

.dot[data-theme="cream"]    { background-color: #e8dfd8; border: 1px solid #ccc; }
.dot[data-theme="dark"]     { background-color: #1a1a18; border: 1px solid #555; }
.dot[data-theme="espresso"] { background-color: #6b3a20; border: 1px solid #4a2010; }

.dot.active {
    border: 1px solid var(--dot-indicator) !important;
    background-color: transparent !important;
    position: relative;
    transform: scale(1.1);
}

.dot.active::after {
    content: '';
    width: 4px;
    height: 4px;
    background-color: var(--dot-indicator);
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
}

/* --- MASSIVE HERO TEXT --- */
.hero-title-container {
    padding: 0 1.5rem;
    position: relative;
    text-align: left;
}

.giant-title {
    font-size: clamp(4rem, 14vw, 20rem);
    font-weight: 900;
    color: var(--text-accent);
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    width: 100%;
    display: block;
    transition: color 0.4s ease;
}

.registered-symbol {
    font-size: clamp(1rem, 2vw, 2.5rem);
    color: var(--text-accent);
    position: absolute;
    bottom: 4%;
    right: 2.5rem;
    transition: color 0.4s ease;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 2.5rem;
    transition: border-color 0.4s ease;
}

/* --- METADATA ROW --- */
.meta-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr 0.5fr;
    padding: 0 2.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.5;
    margin-bottom: 4rem;
}

.meta-block h4 {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    transition: color 0.4s ease;
}

.meta-block p {
    text-transform: none;
    color: var(--meta-paragraph);
    max-width: 380px;
    font-size: 0.85rem;
    transition: color 0.4s ease;
}

.meta-block .link-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.meta-block a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.4s ease;
}

/* --- 4-COLUMN PRODUCT GRID --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2.5rem;
    margin-bottom: 8rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.image-holder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid transparent;
    transition: background-color 0.4s ease, border-color 0.3s ease;
}

.product-card:hover .image-holder {
    border-color: var(--border-color);
}

.product-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
}

.product-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--muted-text);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.4s ease;
}

.product-tag::before {
    content: "•";
    color: var(--muted-text);
    transition: color 0.4s ease;
}

/* CSS drink cup icon */
.drink-cup {
    position: relative;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}
.product-card:hover .drink-cup { transform: translateY(-4px); }
.cup-lid {
    width: 70px;
    height: 14px;
    background: var(--text-color);
    border-radius: 6px 6px 0 0;
    opacity: .85;
}
.cup-lid-tab {
    width: 30px;
    height: 8px;
    background: var(--text-color);
    border-radius: 3px 3px 0 0;
    margin: 0 auto;
    opacity: .7;
    margin-top: -2px;
}
.cup-body {
    width: 72px;
    height: 100px;
    background: var(--card-bg);
    border: 1.5px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.cup-body::before {
    content: '';
    position: absolute;
    top: 0; left: 8px;
    width: 10px; height: 100%;
    background: rgba(255,255,255,.12);
}
.cup-label {
    font-size: .42rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-color);
    text-align: center;
    line-height: 1.3;
    opacity: .7;
}
.cup-base {
    width: 60px;
    height: 6px;
    background: var(--border-color);
    border-radius: 0 0 4px 4px;
    opacity: .3;
}
.cup-straw {
    width: 5px;
    height: 50px;
    background: var(--text-color);
    border-radius: 3px;
    position: absolute;
    top: -40px;
    right: 16px;
    transform: rotate(8deg);
    opacity: .6;
}

/* --- BRAND FOOTER --- */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 8rem 2.5rem 3rem 2.5rem;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.footer-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 8rem;
}

.footer-headline h2 {
    font-size: clamp(2.5rem, 6.5vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.footer-headline h2.muted {
    color: var(--muted-text);
    transition: color 0.4s ease;
}

.footer-graphic {
    font-size: clamp(4rem, 11vw, 9.5rem);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.05em;
}

.footer-statement {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.4;
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border-color);
    opacity: 0.2;
    margin-bottom: 2rem;
    transition: border-color 0.4s ease;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-col strong { display: block; font-weight: 700; }
.footer-col .muted { color: var(--muted-text); transition: color 0.4s ease; }
.footer-col a { color: var(--text-color); text-decoration: none; transition: opacity 0.2s ease; }
.footer-col a:hover { opacity: 0.7; }
.footer-col.layout-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col .cta-talk { margin-top: auto; font-weight: 700; }
.text-right-desktop { text-align: right; align-items: flex-end; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .meta-row { grid-template-columns: 1fr; gap: 2rem; }
    .footer-hero { flex-direction: column; margin-bottom: 4rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
    .text-right-desktop { text-align: left; align-items: flex-start; }
}

@media (max-width: 600px) {
    .product-grid { grid-template-columns: 1fr; }
    .nav-right { gap: 1rem; }
    .site-footer { padding: 5rem 1.5rem 3rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
