/* Yoisho Coffee - Production CSS */
/* Based on Tailwind CSS utilities - standalone version */

/* ==================== CSS Reset & Base ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    line-height: 1.5;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    background: transparent;
    border: none;
    font: inherit;
}

/* ==================== CSS Variables ==================== */
:root {
    --primary: #5C3D2E;
    --secondary: #B85C38;
    --background-light: #FCF8F4;
    --background-dark: #1A1A1A;
    --accent: #E3CAA5;
    --white: #ffffff;
    --slate-800: #1e293b;
    --slate-100: #f1f5f9;
    --slate-50: #f8fafc;
    --zinc-800: #27272a;
    --zinc-900: #18181b;
    --zinc-950: #09090b;
}

/* ==================== Typography ==================== */
.font-display {
    font-family: 'Playfair Display', serif;
}

.font-sans {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.italic { font-style: italic; }
.tracking-wider { letter-spacing: 0.05em; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* ==================== Colors ==================== */
.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-background-light { background-color: var(--background-light); }
.bg-background-dark { background-color: var(--background-dark); }
.bg-accent { background-color: var(--accent); }
.bg-white { background-color: var(--white); }

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-white { color: var(--white); }
.text-slate-800 { color: var(--slate-800); }
.text-slate-100 { color: var(--slate-100); }

.border-primary { border-color: var(--primary); }
.border-accent { border-color: var(--accent); }

/* ==================== Background with Opacity ==================== */
.bg-background-light\/80 { background-color: rgba(252, 248, 244, 0.8); }
.bg-background-dark\/80 { background-color: rgba(26, 26, 26, 0.8); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-accent\/10 { background-color: rgba(227, 202, 165, 0.1); }
.bg-accent\/20 { background-color: rgba(227, 202, 165, 0.2); }
.bg-zinc-900\/50 { background-color: rgba(24, 24, 27, 0.5); }

/* ==================== Border with Opacity ==================== */
.border-accent\/10 { border-color: rgba(227, 202, 165, 0.1); }
.border-accent\/20 { border-color: rgba(227, 202, 165, 0.2); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }

/* ==================== Layout ==================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto { margin-left: auto; margin-right: auto; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-20 { padding-top: 5rem; }
.pb-1 { padding-bottom: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-12 { margin-top: 3rem; }

.space-x-8 > * + * { margin-left: 2rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }

/* ==================== Flexbox ==================== */
.flex { display: flex; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.block { display: block; }

.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }

/* ==================== Grid ==================== */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ==================== Sizing ==================== */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-6 { width: 1.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-1 { height: 0.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-\[400px\] { min-height: 400px; }
.max-w-2xl { max-width: 42rem; }

.aspect-square { aspect-ratio: 1 / 1; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }

/* ==================== Positioning ==================== */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-10 { bottom: 2.5rem; }
.left-1\/2 { left: 50%; }
.right-6 { right: 1.5rem; }
.-bottom-6 { bottom: -1.5rem; }
.-right-6 { right: -1.5rem; }

.-translate-x-1\/2 { transform: translateX(-50%); }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ==================== Borders & Radius ==================== */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-b { border-bottom-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-t { border-top-width: 1px; }

.rounded { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[2\.5rem\] { border-radius: 2.5rem; }

/* ==================== Effects ==================== */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-primary\/20 { --tw-shadow-color: rgba(92, 61, 46, 0.2); }

.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }

.grayscale { filter: grayscale(100%); }
.overflow-hidden { overflow: hidden; }

/* ==================== Transitions ==================== */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; transition-property: transform; }
.transition-shadow { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }

/* ==================== Hover States ==================== */
.hover\:text-secondary:hover { color: var(--secondary); }
.hover\:bg-opacity-90:hover { opacity: 0.9; }
.hover\:bg-accent\/20:hover { background-color: rgba(227, 202, 165, 0.2); }
.hover\:bg-slate-50:hover { background-color: var(--slate-50); }
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-white:hover { background-color: var(--white); }
.hover\:text-white:hover { color: var(--white); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }

/* Group hover */
.group:hover .group-hover\:bg-primary { background-color: var(--primary); }
.group:hover .group-hover\:text-white { color: var(--white); }

/* ==================== Fill ==================== */
.fill-current { fill: currentColor; }

/* ==================== Text Alignment ==================== */
.text-center { text-align: center; }
.text-left { text-align: left; }

/* ==================== Animation ==================== */
.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%) translateX(-50%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0) translateX(-50%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* ==================== Custom Styles ==================== */
.hero-gradient {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.instagram-grid img {
    transition: transform 0.5s ease;
}

.instagram-grid div:hover img {
    transform: scale(1.05);
}

/* ==================== Dark Mode ==================== */
.dark body,
.dark .bg-background-light {
    background-color: var(--background-dark);
}

.dark .text-slate-800 {
    color: var(--slate-100);
}

.dark .bg-white {
    background-color: var(--zinc-800);
}

.dark .bg-background-light\/80 {
    background-color: rgba(26, 26, 26, 0.8);
}

.dark .text-primary {
    color: var(--accent);
}

.dark .border-primary {
    border-color: var(--accent);
}

.dark .dark\:bg-background-dark { background-color: var(--background-dark); }
.dark .dark\:bg-zinc-800 { background-color: var(--zinc-800); }
.dark .dark\:bg-zinc-900\/50 { background-color: rgba(24, 24, 27, 0.5); }
.dark .dark\:bg-zinc-950 { background-color: var(--zinc-950); }
.dark .dark\:text-slate-100 { color: var(--slate-100); }
.dark .dark\:text-accent { color: var(--accent); }
.dark .dark\:border-accent { border-color: var(--accent); }
.dark .dark\:hidden { display: none; }
.dark .dark\:block { display: block; }
.dark .dark\:hover\:bg-accent:hover { background-color: var(--accent); }
.dark .dark\:hover\:text-primary:hover { color: var(--primary); }

/* ==================== Responsive - Medium (md: 768px+) ==================== */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:flex-row { flex-direction: row; }
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:text-left { text-align: left; }
    .md\:text-5xl { font-size: 3rem; line-height: 1; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:justify-start { justify-content: flex-start; }
    .md\:p-16 { padding: 4rem; }
}

/* ==================== Responsive - Large (lg: 1024px+) ==================== */
@media (min-width: 1024px) {
    .lg\:flex-row { flex-direction: row; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:w-1\/2 { width: 50%; }
    .lg\:block { display: block; }
}

/* ==================== Responsive - Small (sm: 640px+) ==================== */
@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
}
