/* assets/css/style.css */
:root {
    --ivory: #f4f0e8;
    --cream: #f2ebe1;
    --espresso: #211a17;
    --charcoal: #292624;
    --beige: #d8cbb8;
    --muted-brown: #765747;
    --olive: #9caa8b;
    --white: #ffffff;
    --black: #0a0807;
    --font-en-heading: 'DM Serif Display', 'Cormorant Garamond', serif;
    --font-en-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ar-heading: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', sans-serif;
    --font-ar-body: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', sans-serif;
    --transition: 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font-en-body);
    background: var(--ivory);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}
body.rtl {
    font-family: var(--font-ar-body);
    direction: rtl;
    text-align: right;
}
body.ltr {
    direction: ltr;
    text-align: left;
}
img {
    max-width: 100%;
    display: block;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
/* Typography */
h1, h2, h3, h4 {
    font-weight: 400;
    letter-spacing: -0.02em;
}
body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4 {
    font-family: var(--font-ar-heading);
}
h1 {
    font-size: clamp(3.5rem, 12vw, 8rem);
    line-height: 1.05;
}
h2 {
    font-size: clamp(2.8rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
h3 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
}
p {
    font-size: 1.1rem;
    color: var(--muted-brown);
    max-width: 60ch;
}
body.rtl p {
    max-width: 60ch;
}
.section-padding {
    padding: 6rem 0;
}
/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--charcoal);
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--charcoal);
    color: var(--white);
    border-color: var(--charcoal);
}
.btn-primary:hover {
    background: var(--espresso);
    transform: translateY(-2px);
}
.btn-outline:hover {
    background: var(--charcoal);
    color: var(--white);
}
.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    mix-blend-mode: difference;
    color: white;
}
.site-header.scrolled {
    background: rgba(33, 26, 23, 0.92);
    backdrop-filter: blur(12px);
    mix-blend-mode: normal;
    padding: 0.6rem 2rem;
}
.logo {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.nav-links a {
    opacity: 0.8;
    transition: var(--transition);
}
.nav-links a:hover {
    opacity: 1;
}
.lang-switcher {
    display: flex;
    gap: 0.3rem;
    font-size: 0.75rem;
}
.lang-switcher a {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
}
.lang-switcher a.active {
    background: white;
    color: var(--charcoal);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}
/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--charcoal);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 10s ease;
}
.hero:hover .hero-bg {
    transform: scale(1.02);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 14, 0.35);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}
.hero-content h1 {
    font-size: clamp(4rem, 15vw, 9rem);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.hero-content p {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.85);
    margin: 0 auto 1.5rem;
    max-width: 600px;
    font-weight: 300;
}
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
/* Sections */
.section-title {
    margin-bottom: 3rem;
}
.section-title.large {
    font-size: clamp(3rem, 8vw, 5.5rem);
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.card-img {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--cream);
}
.card-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.card:hover .card-img img {
    transform: scale(1.03);
}
.card h3 {
    font-size: 1.3rem;
}
.card .price {
    font-weight: 600;
    color: var(--espresso);
    margin-top: 0.5rem;
}
.card .cat {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted-brown);
    border: 1px solid var(--beige);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}
/* Intro */
.intro-block {
    background: var(--cream);
    padding: 5rem 0;
}
.intro-block .grid-2 {
    gap: 5rem;
}
.intro-image {
    background: var(--beige);
    height: 400px;
    border-radius: 8px;
    background: url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
}
/* Roastery */
.roastery-section {
    background: var(--charcoal);
    color: var(--white);
}
.roastery-section p {
    color: rgba(255,255,255,0.7);
}
.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}
.step {
    text-align: center;
    flex: 1;
    min-width: 120px;
}
.step .icon {
    font-size: 2.5rem;
    color: var(--beige);
    margin-bottom: 0.5rem;
}
.step h4 {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}
/* Experience */
.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.exp-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(33,26,23,0.04);
}
.exp-card.large {
    grid-column: span 2;
}
.exp-card .icon {
    font-size: 2.8rem;
    color: var(--espresso);
    margin-bottom: 1rem;
}
.exp-card:hover {
    background: var(--cream);
}
/* Gallery */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
}
.gallery-masonry .item {
    background: var(--beige);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-masonry .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-masonry .item:hover img {
    transform: scale(1.05);
}
.gallery-masonry .item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
/* Social Words */
.social-words {
    padding: 5rem 0;
    background: var(--cream);
    text-align: center;
}
.word-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--espresso);
}
.word-grid span {
    opacity: 0.6;
    transition: var(--transition);
}
.word-grid span:hover {
    opacity: 1;
    transform: scale(1.02);
}
/* Branches */
.branch-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--espresso);
}
.branch-card h3 {
    font-size: 1.6rem;
}
.branch-card p {
    margin: 0.5rem 0;
    font-size: 1rem;
}
/* Instagram */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}
.insta-grid .item {
    aspect-ratio: 1;
    background: var(--beige);
    border-radius: 4px;
    overflow: hidden;
}
.insta-grid .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Footer */
.site-footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
}
.footer-brand h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}
.footer-brand p {
    color: rgba(255,255,255,0.6);
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.6rem;
}
.footer-links a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.lightbox .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
}

/* assets/css/style.css - add filter button styles */
.filter-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid var(--beige);
    border-radius: 4px;
    background: transparent;
    color: var(--muted-brown);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.filter-btn:hover {
    border-color: var(--espresso);
    color: var(--espresso);
}
.filter-btn.active {
    background: var(--espresso);
    border-color: var(--espresso);
    color: var(--white);
}