/* undo.cafe - Raw Authentic Minimalism */
/* Colors: #1a1a2e (deep base), #6c757d (muted gray), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold) */
/* Font: Libre Baskerville (literary), Inter (UI) */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Libre Baskerville", "Georgia", serif;
    background-color: #f5f0e8;
    color: #1a1a2e;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ====== HERO SPLIT SCREEN ====== */
.split-screen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    position: relative;
}

.split-left {
    background-color: #1a1a2e;
    color: #f5f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.split-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(74,144,217,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.split-right {
    background-color: #f5f0e8;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.split-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232,184,75,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.split-content {
    text-align: center;
    max-width: 400px;
    z-index: 1;
}

.label {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.5;
    display: block;
    margin-bottom: 1.5rem;
}

.typewriter-target {
    font-family: "Libre Baskerville", serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    min-height: 3.5rem;
    margin-bottom: 2rem;
}

.split-left .typewriter-target {
    color: #e8b84b;
}

.split-right .typewriter-target {
    color: #4a90d9;
}

.tagline {
    font-family: "Libre Baskerville", serif;
    font-style: italic;
    font-size: 1.1rem;
    opacity: 0.7;
    line-height: 1.8;
}

/* Center Divider */
.center-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.divider-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, transparent, #6c757d, transparent);
    opacity: 0.4;
}

.cafe-logo {
    background: #f5f0e8;
    border: 1px solid rgba(108,117,125,0.3);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 30px rgba(26,26,46,0.15);
}

.logo-text {
    font-family: "Libre Baskerville", serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

.logo-dot {
    color: #e8b84b;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Libre Baskerville", serif;
}

/* ====== ABOUT SECTION ====== */
.section-about {
    padding: 8rem 4rem;
    background-color: #f5f0e8;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-heading {
    font-family: "Libre Baskerville", serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a2e;
}

.strikethrough {
    text-decoration: line-through;
    opacity: 0.4;
    color: #6c757d;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #1a1a2e;
    margin-bottom: 1.5rem;
}

.about-text em {
    color: #4a90d9;
    font-style: italic;
}

/* ====== MENU SECTION ====== */
.section-menu {
    padding: 8rem 4rem;
    background-color: #1a1a2e;
    color: #f5f0e8;
}

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

.menu-heading {
    color: #f5f0e8;
    text-align: center;
    margin-bottom: 0.5rem;
}

.menu-subtitle {
    text-align: center;
    font-family: "Libre Baskerville", serif;
    font-style: italic;
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 4rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 4rem;
}

.menu-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(108,117,125,0.2);
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.menu-name {
    font-family: "Libre Baskerville", serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #e8b84b;
    white-space: nowrap;
}

.menu-dots {
    flex: 1;
    border-bottom: 1px dotted rgba(108,117,125,0.4);
    min-width: 20px;
    margin-bottom: 4px;
}

.menu-price {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #f5f0e8;
    white-space: nowrap;
}

.menu-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    font-style: italic;
}

/* ====== PHILOSOPHY SECTION ====== */
.section-philosophy {
    padding: 8rem 4rem;
    background-color: #f5f0e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}

.philosophy-paper {
    background: #faf7f0;
    border: 1px solid rgba(108,117,125,0.15);
    padding: 4rem 3rem;
    position: relative;
    box-shadow: 0 2px 20px rgba(26,26,46,0.06);
}

.paper-edge {
    height: 2px;
    background: repeating-linear-gradient(90deg, #6c757d 0, #6c757d 4px, transparent 4px, transparent 12px);
    opacity: 0.15;
}

.typewriter-block {
    padding: 2rem 0;
    display: flex;
    align-items: flex-start;
}

.philosophy-text {
    font-family: "Libre Baskerville", serif;
    font-size: 1.5rem;
    line-height: 2;
    color: #1a1a2e;
    min-height: 8rem;
}

.typewriter-cursor {
    font-family: "Libre Baskerville", serif;
    font-size: 1.5rem;
    color: #4a90d9;
    animation: blink 0.8s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ====== SPACE SECTION ====== */
.section-space {
    padding: 8rem 4rem;
    background-color: #1a1a2e;
    color: #f5f0e8;
}

.space-container {
    max-width: 1100px;
    margin: 0 auto;
}

.space-heading {
    color: #f5f0e8;
    text-align: center;
    margin-bottom: 4rem;
}

.space-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.space-card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    min-height: 250px;
    background: rgba(108,117,125,0.1);
    border: 1px solid rgba(108,117,125,0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.space-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.space-card-large {
    grid-column: 1 / -1;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(74,144,217,0.1) 0%, rgba(26,26,46,0.4) 100%);
}

.space-card-inner {
    width: 100%;
    height: 100%;
    min-height: inherit;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    position: relative;
}

.space-card-overlay h3 {
    font-family: "Libre Baskerville", serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #e8b84b;
}

.space-card-overlay p {
    font-size: 0.95rem;
    color: #6c757d;
    font-style: italic;
}

/* ====== FOOTER ====== */
.site-footer {
    background-color: #1a1a2e;
    border-top: 1px solid rgba(108,117,125,0.2);
    color: #f5f0e8;
    padding: 4rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-brand {
    margin-bottom: 3rem;
    text-align: center;
}

.footer-logo {
    font-family: "Libre Baskerville", serif;
    font-size: 2rem;
    font-weight: 700;
    color: #f5f0e8;
}

.footer-logo .logo-dot {
    color: #e8b84b;
}

.footer-tagline {
    font-family: "Libre Baskerville", serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 500px;
    margin: 0 auto 3rem;
    text-align: center;
}

.footer-col h4 {
    font-family: "Inter", sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #e8b84b;
    margin-bottom: 0.75rem;
}

.footer-col p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(108,117,125,0.15);
}

.footer-bottom p {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: #6c757d;
}

/* ====== ANIMATIONS ====== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .split-screen {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }
    .center-divider {
        left: 50%;
        top: auto;
        bottom: auto;
        height: 100%;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .menu-grid {
        grid-template-columns: 1fr;
    }
    .space-grid {
        grid-template-columns: 1fr;
    }
    .space-card-large {
        grid-column: auto;
    }
    .section-about, .section-menu, .section-philosophy, .section-space {
        padding: 5rem 2rem;
    }
    .section-heading {
        font-size: 2rem;
    }
    .typewriter-target {
        font-size: 2rem;
    }
    .philosophy-paper {
        padding: 2.5rem 1.5rem;
    }
    .philosophy-text {
        font-size: 1.2rem;
    }
    .footer-info {
        grid-template-columns: 1fr;
    }
}
