@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Design Tokens --- */
:root {
    --bg-dark: #0d0c0a;         /* Deep rich charcoal-black */
    --bg-espresso: #181512;     /* Warm dark espresso brown */
    --bg-card: #201b17;         /* Bento card background */
    --accent-gold: #d4af37;     /* Bright gold */
    --accent-bronze: #b89563;   /* Rich bronze */
    --text-primary: #f5ebe0;    /* Premium cream text */
    --text-muted: #bdae9c;      /* Secondary warm muted text */
    --border-gold: rgba(212, 175, 55, 0.15);
    --border-gold-hover: rgba(212, 175, 55, 0.4);
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --radius: 12px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5em;
}

.gold-text {
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Header / Navigation --- */
header {
    background-color: rgba(13, 12, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: bold;
    font-size: 1rem;
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- Language Switcher --- */
.lang-switcher {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    color: var(--text-primary);
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}
.lang-switcher:focus {
    border-color: var(--accent-gold);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-bronze));
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background: var(--bg-espresso);
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    background: var(--bg-card);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-gold);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* --- Bento Layout --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

.bento-card {
    background-color: var(--bg-espresso);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.1);
}

/* Sizes for Bento */
.bento-col-12 { grid-column: span 12; }
.bento-col-11 { grid-column: span 11; }
.bento-col-10 { grid-column: span 10; }
.bento-col-9 { grid-column: span 9; }
.bento-col-8 { grid-column: span 8; }
.bento-col-7 { grid-column: span 7; }
.bento-col-6 { grid-column: span 6; }
.bento-col-5 { grid-column: span 5; }
.bento-col-4 { grid-column: span 4; }
.bento-col-3 { grid-column: span 3; }
.bento-col-2 { grid-column: span 2; }
.bento-col-1 { grid-column: span 1; }

.bento-row-2 { grid-row: span 2; }

/* Content within Cards */
.bento-header {
    margin-bottom: 1.5rem;
}

.bento-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.6rem;
    line-height: 1.3;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.bento-image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.bento-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1);
    transition: var(--transition);
}

.bento-card:hover .bento-image-wrapper img {
    transform: scale(1.05);
    filter: brightness(0.5) contrast(1.1);
}

.bento-overlay-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* --- Hero Banner --- */
.hero-section {
    background: linear-gradient(rgba(13, 12, 10, 0.85), rgba(13, 12, 10, 0.98)), url('../../uploads/roasted_beans.png') no-repeat center center;
    background-size: cover;
    padding: 8rem 2rem 6rem;
    text-align: center;
    border-bottom: 1px solid var(--border-gold);
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    border: 1px solid var(--accent-gold);
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subheadline {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* --- Table Styles --- */
.table-responsive {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

table.premium-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

table.premium-table th {
    background-color: var(--bg-espresso);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-weight: 500;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--border-gold);
}

table.premium-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-gold);
    color: var(--text-primary);
}

table.premium-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

/* --- Form Styles --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* --- Layout Sections --- */
.section {
    padding: 5rem 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Badge & Indicators --- */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-available { background: rgba(46, 204, 113, 0.15); color: #2ecc71; }
.status-limited { background: rgba(241, 196, 15, 0.15); color: #f1c40f; }
.status-sold { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }

/* --- Footer --- */
footer {
    background-color: #080706;
    border-top: 1px solid var(--border-gold);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-col {
    grid-column: span 3;
}
.footer-col-desc {
    grid-column: span 4;
}
.footer-col-right {
    grid-column: span 2;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Sticky Mobile CTA --- */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(24, 21, 18, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-gold);
    padding: 0.75rem 1.5rem;
    z-index: 99;
}

/* --- Responsive Layout Breakpoints --- */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-col-12, .bento-col-11, .bento-col-10, .bento-col-9, .bento-col-8, .bento-col-7, .bento-col-6, .bento-col-5, .bento-col-4, .bento-col-3, .bento-col-2, .bento-col-1 {
        grid-column: span 2;
    }
    .footer-col {
        grid-column: span 6;
    }
    .footer-col-desc {
        grid-column: span 12;
    }
    .footer-col-right {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none; /* Add menu toggler for real sites */
    }
    .bento-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .bento-col-12, .bento-col-11, .bento-col-10, .bento-col-9, .bento-col-8, .bento-col-7, .bento-col-6, .bento-col-5, .bento-col-4, .bento-col-3, .bento-col-2, .bento-col-1 {
        grid-column: span 1;
    }
    .sticky-mobile-cta {
        display: block;
    }
    body {
        padding-bottom: 60px; /* Space for sticky CTA */
    }
    .footer-col {
        grid-column: span 12;
    }
    .footer-col-right {
        grid-column: span 12;
    }
}
